Skip to content

Commit a94e6a3

Browse files
committed
update code format
1 parent 2cedd1b commit a94e6a3

File tree

8 files changed

+2
-87
lines changed

8 files changed

+2
-87
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ private void CheckFirstLaunch()
244244
}
245245
private void OpenWelcomeWindow()
246246
{
247-
Flow.Launcher.WelcomeWindow WelcomeWindow = new WelcomeWindow(_settings);
247+
var WelcomeWindow = new WelcomeWindow(_settings);
248248
WelcomeWindow.Show();
249249
}
250250
private void ToggleGameMode()

Flow.Launcher/Resources/Pages/WelcomePage1.xaml.cs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,15 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
using System.Windows;
7-
using System.Windows.Controls;
8-
using System.Windows.Data;
9-
using System.Windows.Documents;
10-
using System.Windows.Input;
11-
using System.Windows.Media;
12-
using System.IO;
13-
using System.Windows.Media.Imaging;
143
using System.Windows.Navigation;
15-
using System.Windows.Shapes;
164
using Flow.Launcher.Infrastructure.UserSettings;
17-
using System.Windows.Interop;
18-
using Microsoft.Win32;
19-
using Flow.Launcher.Infrastructure;
20-
using Flow.Launcher.ViewModel;
215
using Flow.Launcher.Core.Resource;
22-
using ModernWpf.Navigation;
23-
using Page = ModernWpf.Controls.Page;
246

257
namespace Flow.Launcher.Resources.Pages
268
{
27-
/// <summary>
28-
/// WelcomePage1.xaml에 대한 상호 작용 논리
29-
/// </summary>
309
public partial class WelcomePage1
3110
{
32-
private bool initialize = false;
33-
3411
protected override void OnNavigatedTo(NavigationEventArgs e)
3512
{
36-
3713
if (e.ExtraData is Settings settings)
3814
Settings = settings;
3915
else

Flow.Launcher/Resources/Pages/WelcomePage2.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
namespace Flow.Launcher.Resources.Pages
77
{
8-
/// <summary>
9-
/// WelcomePage2.xaml에 대한 상호 작용 논리
10-
/// </summary>
118
public partial class WelcomePage2
129
{
1310
private Settings Settings { get; set; }

Flow.Launcher/Resources/Pages/WelcomePage3.xaml.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
using System.Windows;
7-
using System.Windows.Controls;
8-
using System.Windows.Data;
9-
using Flow.Launcher.Core.Resource;
10-
using System.Windows.Documents;
11-
using System.Windows.Input;
12-
using System.Windows.Media;
13-
using System.Windows.Media.Imaging;
142
using System.Windows.Navigation;
15-
using System.Windows.Shapes;
163
using Flow.Launcher.Infrastructure.UserSettings;
174

185
namespace Flow.Launcher.Resources.Pages
196
{
20-
217
public partial class WelcomePage3
228
{
239
protected override void OnNavigatedTo(NavigationEventArgs e)

Flow.Launcher/Resources/Pages/WelcomePage4.xaml.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
11
using Flow.Launcher.Infrastructure.UserSettings;
22
using System;
3-
using System.Collections.Generic;
4-
using System.Linq;
5-
using System.Text;
6-
using System.Threading.Tasks;
7-
using System.Windows;
8-
using System.Windows.Controls;
9-
using System.Windows.Data;
10-
using System.Windows.Documents;
11-
using System.Windows.Input;
12-
using System.Windows.Media;
13-
using System.Windows.Media.Imaging;
143
using System.Windows.Navigation;
15-
using System.Windows.Shapes;
164

175
namespace Flow.Launcher.Resources.Pages
186
{
19-
/// <summary>
20-
/// WelcomePage4.xaml에 대한 상호 작용 논리
21-
/// </summary>
227
public partial class WelcomePage4
238
{
249
protected override void OnNavigatedTo(NavigationEventArgs e)

Flow.Launcher/Resources/Pages/WelcomePage5.xaml.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
62
using System.Windows;
7-
using System.Windows.Controls;
8-
using System.Windows.Data;
9-
using System.Windows.Documents;
10-
using System.Windows.Input;
11-
using System.Windows.Media;
12-
using System.IO;
13-
using System.Windows.Media.Imaging;
143
using System.Windows.Navigation;
15-
using System.Windows.Shapes;
164
using Flow.Launcher.Infrastructure.UserSettings;
17-
using System.Windows.Interop;
185
using Microsoft.Win32;
196
using Flow.Launcher.Infrastructure;
20-
using Flow.Launcher.ViewModel;
217

228
namespace Flow.Launcher.Resources.Pages
239
{
@@ -39,7 +25,6 @@ protected override void OnNavigatedTo(NavigationEventArgs e)
3925
private void OnAutoStartupChecked(object sender, RoutedEventArgs e)
4026
{
4127
SetStartup();
42-
4328
}
4429
private void OnAutoStartupUncheck(object sender, RoutedEventArgs e)
4530
{
@@ -62,7 +47,6 @@ private void SetStartup()
6247
private void OnHideOnStartupChecked(object sender, RoutedEventArgs e)
6348
{
6449
Settings.HideOnStartup = true;
65-
6650
}
6751
private void OnHideOnStartupUnchecked(object sender, RoutedEventArgs e)
6852
{

Flow.Launcher/SettingWindow.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ private void ColorSchemeSelectedIndexChanged(object sender, EventArgs e)
319319
_ => ThemeManager.Current.ApplicationTheme
320320
};
321321

322-
323322
/* Custom TitleBar */
324323

325324
private void OnMinimizeButtonClick(object sender, RoutedEventArgs e)

Flow.Launcher/WelcomeWindow.xaml.cs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
62
using System.Windows;
7-
using System.Windows.Controls;
8-
using System.Windows.Data;
9-
using System.Windows.Documents;
10-
using System.Windows.Input;
11-
using System.Windows.Media;
12-
using System.Windows.Media.Animation;
13-
using System.Windows.Media.Imaging;
14-
using System.Windows.Shapes;
153
using Flow.Launcher.Infrastructure.UserSettings;
164
using Flow.Launcher.Resources.Pages;
175
using ModernWpf.Media.Animation;
@@ -38,7 +26,7 @@ public WelcomeWindow(Settings settings)
3826
{
3927
Effect = SlideNavigationTransitionEffect.FromLeft
4028
};
41-
Storyboard sb = new Storyboard();
29+
4230
private int pageNum = 1;
4331
private int MaxPage = 5;
4432
public string PageDisplay => $"{pageNum}/5";

0 commit comments

Comments
 (0)