private void button_Cancel_Click(object sender, EventArgs e) { ShutDownManager.StopTimer(timer1); label_Status.Text = null; }
private void button_Start_Click(object sender, EventArgs e) { int interval = getTotalInterval(comboBox_Minutes, comboBox_Seconds); ShutDownManager.ShutDown(TickEvents.CommandFlag, interval, timer1, label_Status); }