摘要:
.先定义一个BackgroundTask.cs 代码如下: 1 public class BackgroundTask 2 { 3 private static WaitDialogForm LoadingDlgForm = null; 4 5 public static void BackgroundWork(Action action, object obj) 6 { 7 using (BackgroundWorker bw = new BackgroundWorker()) 8 ... 阅读全文