public SyncWindow(ISyncMessageReceiver syncMsgReceiver) { this.syncMsgReceiver = syncMsgReceiver; base.CreateControl(); this.notificationDelegate = new NotificationDelegate(this.OnSyncNotification); this.routerNotificationDelegate = new RouterNotificationDelegate(this.OnSyncRouterNotification); }
public SyncWindow(ISyncMessageReceiver syncMsgReceiver, ISyncNotificationReceiver syncNoteReceiver) { this.syncMsgReceiver = syncMsgReceiver; this.syncNoteReceiver = syncNoteReceiver; base.CreateControl(); this.notificationDelegate = new NotificationDelegate(this.OnSyncNotification); this.notificationQueueDelegate = new NotificationQueueDelegate(this.OnSyncQueueNotification); this.routerNotificationDelegate = new RouterNotificationDelegate(this.OnSyncRouterNotification); this.stateChangedDelegate = new StateChangedDelegate(this.OnAdsStateChanged); this.symbolVersionChangedDelegate = new SymbolVersionChangedDelegate(this.OnSymbolVersionChanged); }