C# this.Invoke和this.BeginInvoke 最简单的写法

https://blog.csdn.net/gtosky4u/article/details/20118813

    • this.BeginInvoke(new EventHandler(delegate {
    • this.textBox1.Text += "2";
    • }));
       
      • this.Invoke(new EventHandler(delegate {
      • this.textBox1.Text += "2";
      • }));
    
    
posted @ 2018-09-30 11:43  LuoCore  阅读(1550)  评论(0编辑  收藏  举报