private void startupCheckBox_CheckedChanged(object sender, EventArgs e) { StartupManager.SetStartupStatus(startupCheckBox.Checked); Properties.Settings.Default.LaunchOnStartup = startupCheckBox.Checked; Properties.Settings.Default.Save(); }