예제 #1
0
        private void AutostartClick(object sender, EventArgs e)
        {
            var autoStartNewStatus = !_autostartManager.IsAutoStartSet();

            _autostartManager.SetAutoStart(autoStartNewStatus);
            _autoStartMenuItem.Text = autoStartNewStatus ? AutoStartOnLabel : AutoStartOffLabel;
        }
 public void ChangeAutoStart(bool autoStartEnabled)
 {
     _autoStartManager.SetAutoStart(autoStartEnabled);
 }