/// <summary> /// /// </summary> public virtual void ThisClose() { try { ActiveWaiting closew = new ActiveWaiting(CloseObj); while (!this.IsHandleCreated) { this.CreateHandle(); } if (this.InvokeRequired) { this.Invoke(closew); } else { this.Close(); } } catch (Exception ex) { MessageObject mo = new MessageObject(MessageType.Debug); mo.Message = ex; MessageFactory.GetMegBus().Send(mo); } }
/// <summary> /// 显示处理过程 /// </summary> protected virtual void ShowProcess() { this.waitingForm = new FrmWaiting(); ActiveWaiting setchild = new ActiveWaiting(SetChild); this.waitingForm.SetContent(this.content); Show(); }