C#其他线程操作控件

其他线程操作控件,委托的方法

this.Invoke(new EventHandler(delegate
                {
                    tb_runstate.Text = "自动运行中";
                    tb_runstate.BackColor = Color.LawnGreen;

                }));

猜你喜欢

转载自blog.csdn.net/yue1453544229/article/details/86641299