C# Timer控件重启定时器
子线程内:
this.Invoke(new Action(()=>
{
timer.Stop();
timer.Start();
//timer.Enable=true;
}));委托处理
主线程:
timer.Stop();
timer1.Start();
子线程内:
this.Invoke(new Action(()=>
{
timer.Stop();
timer.Start();
//timer.Enable=true;
}));委托处理
主线程:
timer.Stop();
timer1.Start();