界面假死

 

 

 

 

private void loadInfo()
{
bool ret = false;
Action action = new Action(() => {
System.Threading.Thread.Sleep(10);
this.Dispatcher.BeginInvoke(new Action(() =>
{
//

}), System.Windows.Threading.DispatcherPriority.SystemIdle, null);
});
action.BeginInvoke(null, null);
}

posted @ 2023-01-14 14:38  三竺  阅读(24)  评论(0)    收藏  举报