/// <summary> /// 构造函数。 /// </summary> public CtrlOperationRecord() { InitializeComponent(); this.CreateHandle(); this.InitalizeDataGridView(); GlobalMessageBus.SubscribeOperationLogChanged(OnNewOperatonLog); }
public PersistenceProcessor() { this.AddDisposable(GlobalMessageBus.SubscribeNewSystemEventGenerated(OnNewSystemEventGenerated)); this.AddDisposable(GlobalMessageBus.SubscribeOperationLogChanged(OnNewOperLogGenerated)); }