其他线程操作控件,委托的方法
this.Invoke(new EventHandler(delegate
{
tb_runstate.Text = "自动运行中";
tb_runstate.BackColor = Color.LawnGreen;
}));
其他线程操作控件,委托的方法
this.Invoke(new EventHandler(delegate
{
tb_runstate.Text = "自动运行中";
tb_runstate.BackColor = Color.LawnGreen;
}));