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

时间:2022-08-27 17:16:09

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

    • this.BeginInvoke(new EventHandler(delegate {
    • this.textBox1.Text += "2";
    • }));
       
      • this.Invoke(new EventHandler(delegate {
      • this.textBox1.Text += "2";
      • }));
    
    

相关文章