C# Task 使用
Task.Run(()=>
{
});
winform 中使用是窗体卡死的处理方式
Task.Run(()=>
{
this.Invoke(new Action(() =>
{
this.textBox1.Text = "OK";
}));
});
Task.Run(()=>
{
});
winform 中使用是窗体卡死的处理方式
Task.Run(()=>
{
this.Invoke(new Action(() =>
{
this.textBox1.Text = "OK";
}));
});