1、在Task中调用主线程控件
Task.Factory.StartNew(() =>
{ }).ContinueWith(task =>
{
this.Invoke(new Action(() => { MessageBox.Show(this, "执行完成"); }));
});
2023-08-03 14:14:04
Task.Factory.StartNew(() =>
{ }).ContinueWith(task =>
{
this.Invoke(new Action(() => { MessageBox.Show(this, "执行完成"); }));
});