コード例 #1
0
 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;
 }
コード例 #2
0
 public InitDataManager()
 {
     this.SettingsManager = new SettingsManager();
     this._TranPhaseManager = new TranPhaseManager(this);
 }
コード例 #3
0
        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);
        }