예제 #1
0
        private void preferencesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var preferencesForm = new PreferencesForm()
            {
                TopLevel = true
            };

            if (preferencesForm.ShowDialog() == DialogResult.OK)
            {
                var startOnSystemStart = preferencesForm.checkBoxRunOnStartup.Checked;
                if (startOnSystemStart)
                {
                    TraceOps.Out("Set PaceServer Preferences.\r\n");
                }
            }
        }
예제 #2
0
 private void preferencesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var preferencesForm = new PreferencesForm() { TopLevel = true };
     if (preferencesForm.ShowDialog() == DialogResult.OK)
     {
         var startOnSystemStart = preferencesForm.checkBoxRunOnStartup.Checked;
         if (startOnSystemStart)
         {
             TraceOps.Out("Set PaceServer Preferences.\r\n");
         }
     }
 }