/// <summary> /// 在后台线程中异步调用 获取数据的方法。 /// </summary> /// <param name="asynCaller"></param> /// <param name="showWaitDialog"></param> public BackWorkWithWaitDialog(AsyncMethodCallerDelegate asynCaller) { _AsynCaller = asynCaller; _WorkThread = new MB.Util.AsynWorkThread(); _WaitDialog = new WaitDialogForm(this); // _WaitDialog.ClickCanceled += new EventHandler(_WaitDialog_ClickCanceled); _WaitProcessState = new MB.WinBase.Common.WorkWaitDialogArgs(); iniAsynWorkThread(); }
/// <summary> /// 客户端版本自动更新处理。 /// </summary> public VersionDownloadHelper() { _WaitProcessState = new MB.WinBase.Common.WorkWaitDialogArgs(); createClientAutoUpdateObject(); }