其他线程更新zedgraph控件

一样的道理呀,不过上面这个写法是2.0的,
可以采用匿名方法,简化下
 this.Invoke(new Action(delegate() { textBox_T13.Text = val.ToString("F1"); }));

this.invoke(new Action()=>{zgc.invalidate();});

 

posted on 2020-10-29 16:45  xihong  阅读(101)  评论(0编辑  收藏  举报

导航