private const int MouseHideHotKeyModifier = 0x008; // WIN-Key #endregion #region External access and processing #endregion #region Application Menu Events private void toolStripRunOnStartup_CheckChanged(object sender, EventArgs e) { AutoStart.Setup(toolStripRunOnStartup.Checked, "--silent --minimize"); Config.Instance.AppSettings.RunOnStartup = toolStripRunOnStartup.Checked; Config.Save(); }
private void toolStripRunOnStartup_CheckChanged(object sender, EventArgs e) { AutoStart.Setup(toolStripRunOnStartup.Checked, "-silent -minimize"); AppEnvironment.Setting("RunOnStartup", toolStripRunOnStartup.Checked); }