Exemple #1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            MainWindow mainWindow = new MainWindow();

            mainWindow.Show();

            TrayIcon.Setup(mainWindow);
        }
Exemple #2
0
 public static void Setup(Window window)
 {
     TrayIcon trayIcon = new TrayIcon(window);
 }