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