public LightApplicationContext() { CurrentContext = this; // Set up tray icon _notifyIcon = new NotifyIcon { Icon = Resources.lightbulb, Visible = true, Text = "Milight Control" }; Reload(); // If this is the first time, show the configuration window immediately if ((bool) Settings.Default["FirstStart"]) { _configForm.ShowDialog(); Settings.Default["FirstStart"] = false; Settings.Default.Save(); } }
public LightApplicationContext() { CurrentContext = this; // Set up tray icon _notifyIcon = new NotifyIcon { Icon = Resources.lightbulb, Visible = true, Text = "Milight Control" }; Reload(); // If this is the first time, show the configuration window immediately if ((bool)Settings.Default["FirstStart"]) { _configForm.ShowDialog(); Settings.Default["FirstStart"] = false; Settings.Default.Save(); } }