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

2021-07-08 19:08

阅读:580

标签:gate   csdn   eve   style   net   log   invoke   detail   ali   

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";
      • }));
    
    

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

标签:gate   csdn   eve   style   net   log   invoke   detail   ali   

原文地址:https://www.cnblogs.com/LuoEast/p/9728845.html


评论


亲,登录后才可以留言!