diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs
index 8afc07439..75e3fefa9 100644
--- a/Flow.Launcher/MainWindow.xaml.cs
+++ b/Flow.Launcher/MainWindow.xaml.cs
@@ -171,6 +171,7 @@ namespace Flow.Launcher
((MenuItem)menu.Items[2]).Header = InternationalizationManager.Instance.GetTranslation("GameMode");
((MenuItem)menu.Items[3]).Header = InternationalizationManager.Instance.GetTranslation("iconTraySettings");
((MenuItem)menu.Items[4]).Header = InternationalizationManager.Instance.GetTranslation("iconTrayExit");
+ ((MenuItem)menu.Items[5]).Header = "Welcome Window"; /*Temp*/
}
private void InitializeNotifyIcon()
@@ -204,17 +205,23 @@ namespace Flow.Launcher
{
Header = InternationalizationManager.Instance.GetTranslation("iconTrayExit")
};
+ var WelcomeWindow = new MenuItem /*Temp*/
+ {
+ Header = "Welcome Window"
+ };
open.Click += (o, e) => _viewModel.ToggleFlowLauncher();
gamemode.Click += (o, e) => ToggleGameMode();
settings.Click += (o, e) => App.API.OpenSettingDialog();
exit.Click += (o, e) => Close();
+ WelcomeWindow.Click += (o, e) => OpenWelcomeWindow(); /*Temp*/
contextMenu.Items.Add(header);
contextMenu.Items.Add(open);
gamemode.ToolTip = InternationalizationManager.Instance.GetTranslation("GameModeToolTip");
contextMenu.Items.Add(gamemode);
contextMenu.Items.Add(settings);
contextMenu.Items.Add(exit);
+ contextMenu.Items.Add(WelcomeWindow); /*Temp*/
_notifyIcon.ContextMenuStrip = new ContextMenuStrip(); // it need for close the context menu. if not, context menu can't close.
_notifyIcon.MouseClick += (o, e) =>
@@ -232,6 +239,11 @@ namespace Flow.Launcher
};
}
+ private void OpenWelcomeWindow()
+ {
+ Flow.Launcher.WelcomeWindow WelcomeWindow = new Flow.Launcher.WelcomeWindow();
+ WelcomeWindow.Show();
+ }
private void ToggleGameMode()
{
if (_viewModel.GameModeStatus)
diff --git a/Flow.Launcher/WelcomeWindow.xaml b/Flow.Launcher/WelcomeWindow.xaml
new file mode 100644
index 000000000..e23f795f9
--- /dev/null
+++ b/Flow.Launcher/WelcomeWindow.xaml
@@ -0,0 +1,15 @@
+
+
+
diff --git a/Flow.Launcher/WelcomeWindow.xaml.cs b/Flow.Launcher/WelcomeWindow.xaml.cs
new file mode 100644
index 000000000..c946ae900
--- /dev/null
+++ b/Flow.Launcher/WelcomeWindow.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace Flow.Launcher
+{
+ ///
+ /// WelcomeWindow.xaml에 대한 상호 작용 논리
+ ///
+ public partial class WelcomeWindow : Window
+ {
+ public WelcomeWindow()
+ {
+ InitializeComponent();
+ }
+ }
+}