示例#1
0
 private void Form1_Activate(object sender, EventArgs e)
 {
     MyAppTimer.Stop();
 }
示例#2
0
 private void Form1_Deactivate(object sender, EventArgs e)
 {
     MyAppTimer.Interval = 20000;
     MyAppTimer.Start();
 }