示例#1
0
 private void button_Cancel_Click(object sender, EventArgs e)
 {
     ShutDownManager.StopTimer(timer1);
     label_Status.Text = null;
 }
示例#2
0
        private void button_Start_Click(object sender, EventArgs e)
        {
            int interval = getTotalInterval(comboBox_Minutes, comboBox_Seconds);

            ShutDownManager.ShutDown(TickEvents.CommandFlag, interval, timer1, label_Status);
        }