public OrderHandle() { this._App = ((ManagerConsole.MainWindow)Application.Current.MainWindow); this._CommonDialogWin = this._App._CommonDialogWin; this._ConfirmDialogWin = this._App._ConfirmDialogWin; this.ConfirmOrderDialogWin = this._App._ConfirmOrderDialogWin; this.ConfirmOrderDialogWin.OnConfirmDialogResult += new ConfirmOrderDialogWin.ConfirmDialogResultHandle(ExecuteOrderHandle); this.ConfirmOrderDialogWin.OnModifyPriceDialogResult += new ConfirmOrderDialogWin.ConfirmModifyPriceResultHandle(ModifyPriceHandle); this.ConfirmOrderDialogWin.OnRejectOrderDialogResult += new ConfirmOrderDialogWin.RejectOrderResultHandle(RejectOrderHandle); this._TranPhaseManager = this._App.InitDataManager.TranPhaseManager; }
public InitDataManager() { this.SettingsManager = new SettingsManager(); this._TranPhaseManager = new TranPhaseManager(this); }
public ExchangeDataManager(MediaElement mediaElement) { this._SoundMedia = mediaElement; this.SettingsManager = new SettingsManager(); this.ExchangeSettingManagers = new Dictionary<string, ExchangeSettingManager>(); this.ExchangeTradingManagers = new Dictionary<string, ExchangeTradingManager>(); this._RemoveTransactionWhenTimeOver = new Scheduler.Action(this.RemoveTransactionWhenTimeOver); this._TranPhaseManager = new TranPhaseManager(this); this.ReportDataManager = new ReportDataManager(this); }