WPF 實現異步調用

在WPF中,實現異步調用的代碼以下:異步 System.Windows.Threading.Dispatcher.Invoke( new Action(()=> { CallMethodName(); //要異步調用的方法或異步執行的語句 }), System.Windows.Threading.DispatcherPriority.Background);
相關文章
相關標籤/搜索