一样的道理呀,不过上面这个写法是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 阅读(104) 评论(0) 编辑 收藏 举报