示例#1
0
        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;
        }
示例#2
0
 private void startupCheckBox_CheckedChanged(object sender, EventArgs e)
 {
     StartupManager.SetStartupStatus(startupCheckBox.Checked);
     Properties.Settings.Default.LaunchOnStartup = startupCheckBox.Checked;
     Properties.Settings.Default.Save();
 }