Exemplo n.º 1
0
        public ClosePositionDialog(GridConfig gridConfig)
            : this()
        {
            _gridConfig = gridConfig;

            LoadControl += new FormLoadHandler(Form_LoadControl);
            LoadData    += new FormLoadHandler(Form_LoadData);

            this.btnConfirm.Click += new EventHandler(Button_Confirm);
            this.btnCancel.Click  += new EventHandler(Button_Cancel);
        }
        public TradeInstanceModifyDialog()
        {
            InitializeComponent();

            LoadControl += new FormLoadHandler(Form_LoadControl);
            LoadData    += new FormLoadHandler(Form_LoadData);

            this.btnConfirm.Click += new EventHandler(Button_Confirm_Click);
            this.btnCancel.Click  += new EventHandler(Button_Cancel_Click);

            //this.cbMonitorUnit.SelectedIndexChanged
        }
Exemplo n.º 3
0
        public OpenPositionForm(GridConfig gridConfig)
            : this()
        {
            _gridConfig = gridConfig;

            LoadControl += new FormLoadHandler(Form_LoadControl);
            LoadData    += new FormLoadHandler(Form_LoadData);
            monitorGridView.UpdateRelatedDataGridHandler += new UpdateRelatedDataGrid(MonitorGridView_UpdateRelatedDataGrid);
            monitorGridView.NumericUpDownValueChanged    += new NumericUpDownValueChanged(MonitorGridView_NumericUpDownValueChanged);

            btnBottomContainer.ButtonClick += new EventHandler(ButtonContainer_ButtonClick);
        }
Exemplo n.º 4
0
        public CancelEntrustDialog(GridConfig gridConfig)
            : this()
        {
            _gridConfig = gridConfig;

            LoadControl += new FormLoadHandler(Form_LoadControl);
            LoadData    += new FormLoadHandler(Form_LoadData);

            this.btnSelectAll.Click   += new EventHandler(Button_SelectAll_Click);
            this.btnUnSelectAll.Click += new EventHandler(Button_UnSelectAll_Click);
            this.btnConfirm.Click     += new EventHandler(Button_Confirm_Click);
            this.btnCancel.Click      += new EventHandler(Button_Cancel_Click);
        }
Exemplo n.º 5
0
        public GeneralSettingDailog()
        {
            InitializeComponent();

            LoadControl += new FormLoadHandler(Form_LoadControl);
            LoadData    += new FormLoadHandler(Form_LoadData);

            //this.cbSpotBuyPrice.SelectedIndexChanged += new EventHandler(ComboBox_Price_SelectedIndexChanged);
            //this.cbSpotSellPrice.SelectedIndexChanged += new EventHandler(ComboBox_Price_SelectedIndexChanged);
            //this.cbFutuBuyPrice.SelectedIndexChanged += new EventHandler(ComboBox_Price_SelectedIndexChanged);
            //this.cbFutuSellPrice.SelectedIndexChanged += new EventHandler(ComboBox_Price_SelectedIndexChanged);

            this.btnConfirm.Click += new EventHandler(Button_Confirm_Click);
            this.btnCancel.Click  += new EventHandler(Button_Cancel_Click);
        }
        public OpenPositionForm(GridConfig gridConfig)
            : this()
        {
            _gridConfig = gridConfig;

            LoadControl += new FormLoadHandler(Form_LoadControl);
            LoadData    += new FormLoadHandler(Form_LoadData);
            monitorGridView.UpdateRelatedDataGridHandler += new UpdateRelatedDataGrid(MonitorGridView_UpdateRelatedDataGrid);
            monitorGridView.NumericUpDownValueChanged    += new NumericUpDownValueChanged(MonitorGridView_NumericUpDownValueChanged);

            securityGridView.MouseClick += new MouseEventHandler(SecurityGridView_MouseClick);

            btnBottomContainer.ButtonClick += new EventHandler(ButtonContainer_ButtonClick);

            secuContextMenu.ItemClicked += new ToolStripItemClickedEventHandler(SecurityContextMenu_ItemClicked);
        }
Exemplo n.º 7
0
        public CancelRedoDialog(GridConfig gridConfig)
            : this()
        {
            _gridConfig = gridConfig;

            LoadControl += new FormLoadHandler(Form_LoadControl);
            LoadData    += new FormLoadHandler(Form_LoadData);

            this.btnSelectAll.Click   += new EventHandler(Button_SelectAll_Click);
            this.btnUnSelectAll.Click += new EventHandler(Button_UnSelectAll_Click);
            this.btnConfirm.Click     += new EventHandler(Button_Confirm_Click);
            this.btnCancel.Click      += new EventHandler(Button_Cancel_Click);


            this.cbSpotBuyPrice.SelectedIndexChanged     += new EventHandler(ComboBox_PriceType_SelectedIndexChange);
            this.cbSpotSellPrice.SelectedIndexChanged    += new EventHandler(ComboBox_PriceType_SelectedIndexChange);
            this.cbFuturesBuyPrice.SelectedIndexChanged  += new EventHandler(ComboBox_PriceType_SelectedIndexChange);
            this.cbFuturesSellPrice.SelectedIndexChanged += new EventHandler(ComboBox_PriceType_SelectedIndexChange);
            this.cbSHExchangePrice.SelectedIndexChanged  += new EventHandler(ComboBox_SHExchangePrice_SelectedIndexChanged);
            this.cbSZExchangePrice.SelectedIndexChanged  += new EventHandler(ComboBox_SZExchangePrice_SelectedIndexChanged);
        }