/ Published in: C#
Expand |
Embed | Plain Text
public Form1() { InitializeComponent(); IntPtr handle = this.Handle;//force creation of handle ThreadStart ts = delegate { //UI operations progressBar1.Value = 80; }; //executes synchronously on ts Thread Invoke(ts, null); }
You need to login to post a comment.
