private void chkStartWithWindows_CheckedChanged(object sender, EventArgs e) { chkStartWithWindows.Checked = !chkStartWithWindows.Checked; ApplicationSettings.StartWithWindows = !chkStartWithWindows.Checked; RegistryTools.RegisterInStartup(!chkStartWithWindows.Checked); }