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 DQOrderTaskControl()
        {
            InitializeComponent();

            this._App = ((ManagerConsole.MainWindow)Application.Current.MainWindow);
            this._AccountInfoConfirm = new ExcuteOrderConfirm();

            this._CommonDialogWin = this._App._CommonDialogWin;
            this._ConfirmDialogWin = this._App._ConfirmDialogWin;
            this._ConfirmOrderDialogWin = this._App._ConfirmOrderDialogWin;
            this.OrderHandle = this._App.OrderHandle;
            //this._ConfirmOrderDialogWin.OnConfirmDialogResult += new ConfirmOrderDialogWin.ConfirmDialogResultHandle(ExcuteOrder);
            this.BindGridData();
        }
 public MainWindow()
 {
     try
     {
         InitializeComponent();
         this.ExchangeDataManager = new ExchangeDataManager(this._Media);
         this._CommonDialogWin = new CommonDialogWin(this.MainFrame);
         this._ConfirmDialogWin = new ConfirmDialogWin(this.MainFrame);
         this._ConfirmOrderDialogWin = new ConfirmOrderDialogWin(this.MainFrame);
         this._OrderHandle = new OrderHandle();
         this._LayoutManager = new LayoutManager(this, this.OnAddContentPane);
     }
     catch(Exception exception)
     {
         Logger.TraceEvent(TraceEventType.Error, "MainWindow ctor: \r\n{0}", exception);
     }
 }