Form1.Designer.cs
[C#] 纯文本查看 复制代码 //
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 8000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// timer2
//
this.timer2.Enabled = true;
this.timer2.Interval = 8000;
this.timer2.Tick += new System.EventHandler(this.timer1_Tick);
//
// timer3
//
this.timer3.Enabled = true;
this.timer3.Interval = 8000;
this.timer3.Tick += new System.EventHandler(this.timer1_Tick);
界面上把timer移开,你会发现,你弄了3个timer
补充内容 (2023-4-4 17:07):
3个timer的事件,都绑定到Form1::timer1_Tick了 |