Ejemplo n.º 1
0
        private bool Form_LoadControl(object sender, object data)
        {
            //交易指令表
            TSDataGridViewHelper.AddColumns(this.gridView, _gridConfig.GetGid(GridId));
            Dictionary <string, string> colDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(CommandManagementItem));

            TSDataGridViewHelper.SetDataBinding(this.gridView, colDataMap);

            //交易证券表
            TSDataGridViewHelper.AddColumns(this.secuGridView, _gridConfig.GetGid(GridSecurityId));
            colDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(CommandManagementSecurityItem));
            TSDataGridViewHelper.SetDataBinding(this.secuGridView, colDataMap);

            //委托证券表
            TSDataGridViewHelper.AddColumns(this.entrustGridView, _gridConfig.GetGid(GridEntrustId));
            colDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(CommandManagementEntrustItem));
            TSDataGridViewHelper.SetDataBinding(this.entrustGridView, colDataMap);

            //成交证券表
            TSDataGridViewHelper.AddColumns(this.dealGridView, _gridConfig.GetGid(GridDealId));
            colDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(CommandManagementDealItem));
            TSDataGridViewHelper.SetDataBinding(this.dealGridView, colDataMap);

            this.gridView.DataSource        = _dataSource;
            this.secuGridView.DataSource    = _secuDataSource;
            this.entrustGridView.DataSource = _entrustDataSource;
            this.dealGridView.DataSource    = _dealDataSource;

            return(true);
        }
Ejemplo n.º 2
0
        public void TestGridConfig()
        {
            //var grid = ConfigManager.Instance.GetGridConfig().GetGid("cmdtrading");
            //Console.WriteLine("test");

            GridConfig gridConfig = new GridConfig();
            var        grid       = gridConfig.GetGid("cmdtrading");
        }
Ejemplo n.º 3
0
        private void Form_Load(object sender, EventArgs e)
        {
            GridConfig gridConfig = ConfigManager.Instance.GetGridConfig();
            TSGrid     hsGrid     = gridConfig.GetGid("templatestock");

            TSDataGridViewHelper.AddColumns(this.tsDataGridView1, hsGrid);
            var dataTable = GenerateData(hsGrid);

            //TSDataGridViewHelper.SetData(this.tsDataGridView1, hsGrid, dataTable);
        }
Ejemplo n.º 4
0
        private bool Form_LoadControl(object sender, object data)
        {
            //set the tempGridView
            TSDataGridViewHelper.AddColumns(this.tempGridView, _gridConfig.GetGid(GridTemplate));
            Dictionary <string, string> tempColDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(StockTemplate));

            TSDataGridViewHelper.SetDataBinding(this.tempGridView, tempColDataMap);

            //set the secuGridView
            TSDataGridViewHelper.AddColumns(this.secuGridView, _gridConfig.GetGid(GridStock));
            Dictionary <string, string> securityColDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(TemplateStock));

            TSDataGridViewHelper.SetDataBinding(this.secuGridView, securityColDataMap);

            this.tempGridView.DataSource = _tempDataSource;
            this.secuGridView.DataSource = _spotDataSource;

            return(true);
        }
        private bool Form_LoadControl(object sender, object data)
        {
            TSDataGridViewHelper.AddColumns(this.gridView, _gridConfig.GetGid(GridId));
            Dictionary <string, string> colDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(InstanceItem));

            TSDataGridViewHelper.SetDataBinding(this.gridView, colDataMap);

            this.gridView.DataSource = _dataSource;

            return(true);
        }
        private bool Form_LoadControl(object sender, object data)
        {
            TSDataGridViewHelper.AddColumns(this.dataGridView, _gridConfig.GetGid(GridId));
            Dictionary <string, string> colDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(MonitorUnit));

            TSDataGridViewHelper.SetDataBinding(this.dataGridView, colDataMap);

            LoadBottomButton();

            return(true);
        }
Ejemplo n.º 7
0
        private bool Form_LoadControl(object sender, object data)
        {
            //Load Command Trading
            TSDataGridViewHelper.AddColumns(this.gridView, _gridConfig.GetGid(GridId));
            Dictionary <string, string> gridColDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(EntrustSecurityItem));

            TSDataGridViewHelper.SetDataBinding(this.gridView, gridColDataMap);
            this.gridView.DataSource = _dataSource;

            return(true);
        }
        private bool Form_LoadControl(object sender, object data)
        {
            TSDataGridViewHelper.AddColumns(this.srcGridView, _gridConfig.GetGid(GridSourceId));
            Dictionary <string, string> colDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(SourceHoldingItem));

            TSDataGridViewHelper.SetDataBinding(this.srcGridView, colDataMap);

            this.srcGridView.DataSource = _srcDataSource;

            TSDataGridViewHelper.AddColumns(this.destGridView, _gridConfig.GetGid(GridDestId));
            colDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(DestinationHoldingItem));
            TSDataGridViewHelper.SetDataBinding(this.destGridView, colDataMap);

            this.destGridView.DataSource = _destDataSource;

            LoadTradeDirectionOption();

            //Load child control
            LoadProductControl();

            return(true);
        }
        private bool Form_LoadControl(object sender, object data)
        {
            //set the monitorGridView
            TSDataGridViewHelper.AddColumns(this.monitorGridView, _gridConfig.GetGid(MonitorGridId));
            Dictionary <string, string> monitorColDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(OpenPositionItem));

            TSDataGridViewHelper.SetDataBinding(this.monitorGridView, monitorColDataMap);

            //set the securityGridView
            TSDataGridViewHelper.AddColumns(this.securityGridView, _gridConfig.GetGid(SecurityGridId));
            Dictionary <string, string> securityColDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(OpenPositionSecurityItem));

            TSDataGridViewHelper.SetDataBinding(this.securityGridView, securityColDataMap);

            //Load bottom button
            LoadBottomButton();

            this.monitorGridView.DataSource  = _monitorDataSource;
            this.securityGridView.DataSource = _securityDataSource;

            return(true);
        }
Ejemplo n.º 10
0
        private bool Form_LoadControl(object sender, object data)
        {
            //Load Command Trading
            TSDataGridViewHelper.AddColumns(this.secuGridView, _gridConfig.GetGid(GridCancelRedoId));
            Dictionary <string, string> gridColDataMap = GridViewBindingHelper.GetPropertyBinding(typeof(CancelRedoItem));

            TSDataGridViewHelper.SetDataBinding(this.secuGridView, gridColDataMap);
            this.secuGridView.DataSource = _secuDataSource;

            //Load combobox
            LoadEntrustControl();

            return(true);
        }
Ejemplo n.º 11
0
        private void Form_Load(object sender, EventArgs e)
        {
            GridConfig gridConfig = ConfigManager.Instance.GetGridConfig();
            TSGrid     hsGrid     = gridConfig.GetGid("templatestock");

            TSDataGridViewHelper.AddColumns(this.tsDataGridView1, hsGrid);
            Dictionary <string, string> colFieldMap = GridViewBindingHelper.GetPropertyBinding(typeof(TemplateStock));

            TSDataGridViewHelper.SetDataBinding(this.tsDataGridView1, colFieldMap);
            var stocks = GenerateData(hsGrid);

            _tempStocks = new SortableBindingList <TemplateStock>(stocks);
            this.tsDataGridView1.DataSource = _tempStocks;
        }
Ejemplo n.º 12
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HundsunExtDemo2));
            this.tableLayoutPanelMain         = new System.Windows.Forms.TableLayoutPanel();
            this.toolStrip                    = new System.Windows.Forms.ToolStrip();
            this.toolStripButton1             = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton2             = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton3             = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton4             = new System.Windows.Forms.ToolStripButton();
            this.menuStrip                    = new System.Windows.Forms.MenuStrip();
            this.sysToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
            this.viewToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
            this.toolToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
            this.helpToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
            this.splitContainerMain           = new System.Windows.Forms.SplitContainer();
            this.tabTradingCommand            = new System.Windows.Forms.TabControl();
            this.tabPageCommandTrading        = new System.Windows.Forms.TabPage();
            this.splitContainerTradingCommand = new System.Windows.Forms.SplitContainer();
            this.tabControlDetailTrading      = new System.Windows.Forms.TabControl();
            this.tabPageCommandSecu           = new System.Windows.Forms.TabPage();
            this.tabPageEntrustFlow           = new System.Windows.Forms.TabPage();
            this.tabPageDialFlow              = new System.Windows.Forms.TabPage();
            this.tabPageEntrustFlowParent     = new System.Windows.Forms.TabPage();
            this.tabPageDialFlowParent        = new System.Windows.Forms.TabPage();
            this.tableLayoutPanelDealFlow     = new System.Windows.Forms.TableLayoutPanel();

            this.splitContainerMarket    = new System.Windows.Forms.SplitContainer();
            this.splitContainerTrading   = new System.Windows.Forms.SplitContainer();
            this.tableLayoutPanelTrading = new System.Windows.Forms.TableLayoutPanel();
            this.panelEntrust            = new System.Windows.Forms.Panel();
            this.btnEntrusting           = new System.Windows.Forms.Button();
            this.btnCalc = new System.Windows.Forms.Button();

            //this.dataGridViewBuySell = new System.Windows.Forms.DataGridView();
            this.buysellPanel        = new System.Windows.Forms.Panel();
            this.btnEntrust          = new System.Windows.Forms.Button();
            this.btnCalculate        = new System.Windows.Forms.Button();
            this.comboBoxFutureSell  = new System.Windows.Forms.ComboBox();
            this.comboBoxFutureBuy   = new System.Windows.Forms.ComboBox();
            this.comboBoxSpotSell    = new System.Windows.Forms.ComboBox();
            this.comboBoxSpotBuy     = new System.Windows.Forms.ComboBox();
            this.lblFuturesSellPrice = new System.Windows.Forms.Label();
            this.lblFuturesBuyPrice  = new System.Windows.Forms.Label();
            this.lblSpotSellPrice    = new System.Windows.Forms.Label();
            this.lblSpotBuyPrice     = new System.Windows.Forms.Label();
            this.statusStripMain     = new System.Windows.Forms.StatusStrip();
            this.statusLabelOrg      = new System.Windows.Forms.ToolStripStatusLabel();

            this.dataGridViewCmdTrading  = new HSGridView(_gridConfig.GetGid(GridCMDTrading));
            this.dataGridViewCmdSecurity = new HSGridView(_gridConfig.GetGid(GridCMDSecurity));
            this.dataGridViewDealFlow    = new HSGridView(_gridConfig.GetGid(GridDealFlow));
            this.dataGridViewBuySell     = new HSGridView(_gridConfig.GetGid(GridBuySell));

            this.tableLayoutPanelMain.SuspendLayout();
            this.toolStrip.SuspendLayout();
            this.menuStrip.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerMain)).BeginInit();
            this.splitContainerMain.Panel1.SuspendLayout();
            this.splitContainerMain.Panel2.SuspendLayout();
            this.splitContainerMain.SuspendLayout();
            this.tabTradingCommand.SuspendLayout();
            this.tabPageCommandTrading.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerTradingCommand)).BeginInit();
            this.splitContainerTradingCommand.Panel1.SuspendLayout();
            this.splitContainerTradingCommand.Panel2.SuspendLayout();
            this.splitContainerTradingCommand.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCmdTrading)).BeginInit();
            this.tabControlDetailTrading.SuspendLayout();
            this.tabPageCommandSecu.SuspendLayout();
            this.tabPageDialFlowParent.SuspendLayout();
            this.tableLayoutPanelDealFlow.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewDealFlow)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerMarket)).BeginInit();
            this.splitContainerMarket.Panel2.SuspendLayout();
            this.splitContainerMarket.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerTrading)).BeginInit();
            this.splitContainerTrading.Panel2.SuspendLayout();
            this.splitContainerTrading.SuspendLayout();
            this.tableLayoutPanelTrading.SuspendLayout();
            this.panelEntrust.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewBuySell)).BeginInit();
            this.buysellPanel.SuspendLayout();
            this.statusStripMain.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCmdSecurity)).BeginInit();
            this.SuspendLayout();
            //
            // tableLayoutPanelMain
            //
            this.tableLayoutPanelMain.ColumnCount = 1;
            this.tableLayoutPanelMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelMain.Controls.Add(this.toolStrip, 0, 1);
            this.tableLayoutPanelMain.Controls.Add(this.menuStrip, 0, 0);
            this.tableLayoutPanelMain.Controls.Add(this.splitContainerMain, 0, 2);
            this.tableLayoutPanelMain.Controls.Add(this.statusStripMain, 0, 3);
            this.tableLayoutPanelMain.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanelMain.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanelMain.Name     = "tableLayoutPanelMain";
            this.tableLayoutPanelMain.RowCount = 4;
            this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 85F));
            this.tableLayoutPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.tableLayoutPanelMain.Size     = new System.Drawing.Size(1039, 549);
            this.tableLayoutPanelMain.TabIndex = 0;
            //
            // toolStrip
            //
            this.toolStrip.Dock = System.Windows.Forms.DockStyle.Fill;
            this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripButton1,
                this.toolStripButton2,
                this.toolStripButton3,
                this.toolStripButton4
            });
            this.toolStrip.Location = new System.Drawing.Point(0, 27);
            this.toolStrip.Name     = "toolStrip";
            this.toolStrip.Size     = new System.Drawing.Size(1039, 27);
            this.toolStrip.TabIndex = 2;
            this.toolStrip.Text     = "toolStrip1";
            //
            // toolStripButton1
            //
            this.toolStripButton1.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton1.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(23, 24);
            this.toolStripButton1.Text = "toolStripButton1";
            //
            // toolStripButton2
            //
            this.toolStripButton2.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton2.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
            this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton2.Name = "toolStripButton2";
            this.toolStripButton2.Size = new System.Drawing.Size(23, 24);
            this.toolStripButton2.Text = "toolStripButton2";
            //
            // toolStripButton3
            //
            this.toolStripButton3.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton3.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
            this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton3.Name = "toolStripButton3";
            this.toolStripButton3.Size = new System.Drawing.Size(23, 24);
            this.toolStripButton3.Text = "toolStripButton3";
            //
            // toolStripButton4
            //
            this.toolStripButton4.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripButton4.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
            this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton4.Name = "toolStripButton4";
            this.toolStripButton4.Size = new System.Drawing.Size(23, 24);
            this.toolStripButton4.Text = "toolStripButton4";
            //
            // menuStrip
            //
            this.menuStrip.Dock = System.Windows.Forms.DockStyle.Fill;
            this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.sysToolStripMenuItem,
                this.viewToolStripMenuItem,
                this.toolToolStripMenuItem,
                this.helpToolStripMenuItem
            });
            this.menuStrip.Location = new System.Drawing.Point(0, 0);
            this.menuStrip.Name     = "menuStrip";
            this.menuStrip.Size     = new System.Drawing.Size(1039, 27);
            this.menuStrip.TabIndex = 1;
            this.menuStrip.Text     = "menuStrip1";
            //
            // sysToolStripMenuItem
            //
            this.sysToolStripMenuItem.Name = "sysToolStripMenuItem";
            this.sysToolStripMenuItem.Size = new System.Drawing.Size(44, 23);
            this.sysToolStripMenuItem.Text = "系统";
            //
            // viewToolStripMenuItem
            //
            this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
            this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 23);
            this.viewToolStripMenuItem.Text = "视图";
            //
            // toolToolStripMenuItem
            //
            this.toolToolStripMenuItem.Name = "toolToolStripMenuItem";
            this.toolToolStripMenuItem.Size = new System.Drawing.Size(44, 23);
            this.toolToolStripMenuItem.Text = "工具";
            //
            // helpToolStripMenuItem
            //
            this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
            this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 23);
            this.helpToolStripMenuItem.Text = "帮助";
            //
            // splitContainerMain
            //
            this.splitContainerMain.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.splitContainerMain.Dock        = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerMain.Location    = new System.Drawing.Point(3, 57);
            this.splitContainerMain.Name        = "splitContainerMain";
            //
            // splitContainerMain.Panel1
            //
            this.splitContainerMain.Panel1.Controls.Add(this.tabTradingCommand);
            //
            // splitContainerMain.Panel2
            //
            this.splitContainerMain.Panel2.Controls.Add(this.splitContainerMarket);
            this.splitContainerMain.Size             = new System.Drawing.Size(1033, 460);
            this.splitContainerMain.SplitterDistance = 773;
            this.splitContainerMain.TabIndex         = 3;
            //
            // tabTradingCommand
            //
            this.tabTradingCommand.Controls.Add(this.tabPageCommandTrading);
            this.tabTradingCommand.Controls.Add(this.tabPageEntrustFlowParent);
            this.tabTradingCommand.Controls.Add(this.tabPageDialFlowParent);
            this.tabTradingCommand.Dock                  = System.Windows.Forms.DockStyle.Fill;
            this.tabTradingCommand.Location              = new System.Drawing.Point(0, 0);
            this.tabTradingCommand.Name                  = "tabTradingCommand";
            this.tabTradingCommand.SelectedIndex         = 0;
            this.tabTradingCommand.Size                  = new System.Drawing.Size(769, 456);
            this.tabTradingCommand.TabIndex              = 2;
            this.tabTradingCommand.Tag                   = "";
            this.tabTradingCommand.SelectedIndexChanged += new System.EventHandler(this.TabControlTradingCommand_SelectedIndexChanged);
            //
            // tabPageCommandTrading
            //
            this.tabPageCommandTrading.Controls.Add(this.splitContainerTradingCommand);
            this.tabPageCommandTrading.Location = new System.Drawing.Point(4, 22);
            this.tabPageCommandTrading.Name     = "tabPageCommandTrading";
            this.tabPageCommandTrading.Padding  = new System.Windows.Forms.Padding(3);
            this.tabPageCommandTrading.Size     = new System.Drawing.Size(761, 430);
            this.tabPageCommandTrading.TabIndex = 0;
            this.tabPageCommandTrading.Text     = "指令交易";
            this.tabPageCommandTrading.UseVisualStyleBackColor = true;
            //
            // splitContainerTradingCommand
            //
            this.splitContainerTradingCommand.Dock        = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerTradingCommand.Location    = new System.Drawing.Point(3, 3);
            this.splitContainerTradingCommand.Name        = "splitContainerTradingCommand";
            this.splitContainerTradingCommand.Orientation = System.Windows.Forms.Orientation.Horizontal;
            //
            // splitContainerTradingCommand.Panel1
            //
            this.splitContainerTradingCommand.Panel1.Controls.Add(this.dataGridViewCmdTrading);
            //
            // splitContainerTradingCommand.Panel2
            //
            this.splitContainerTradingCommand.Panel2.Controls.Add(this.tabControlDetailTrading);
            this.splitContainerTradingCommand.Size             = new System.Drawing.Size(755, 424);
            this.splitContainerTradingCommand.SplitterDistance = 222;
            this.splitContainerTradingCommand.TabIndex         = 1;
            //
            // dataGridViewCmdTrading
            //
            this.dataGridViewCmdTrading.Dock               = System.Windows.Forms.DockStyle.Fill;
            this.dataGridViewCmdTrading.Location           = new System.Drawing.Point(0, 0);
            this.dataGridViewCmdTrading.Name               = "dataGridViewCmdTrading";
            this.dataGridViewCmdTrading.RowTemplate.Height = 23;
            this.dataGridViewCmdTrading.Size               = new System.Drawing.Size(755, 222);
            this.dataGridViewCmdTrading.TabIndex           = 0;
            this.dataGridViewCmdTrading.CellClick         += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridViewCmdTrading_CellClick);
            this.dataGridViewCmdTrading.CellContentClick  += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridViewCmdTrading_CellContentClick);
            //
            // tabControlDetailTrading
            //
            this.tabControlDetailTrading.Controls.Add(this.tabPageCommandSecu);
            this.tabControlDetailTrading.Controls.Add(this.tabPageEntrustFlow);
            this.tabControlDetailTrading.Controls.Add(this.tabPageDialFlow);
            this.tabControlDetailTrading.Dock                  = System.Windows.Forms.DockStyle.Fill;
            this.tabControlDetailTrading.Location              = new System.Drawing.Point(0, 0);
            this.tabControlDetailTrading.Name                  = "tabControlDetailTrading";
            this.tabControlDetailTrading.SelectedIndex         = 0;
            this.tabControlDetailTrading.Size                  = new System.Drawing.Size(755, 198);
            this.tabControlDetailTrading.TabIndex              = 0;
            this.tabControlDetailTrading.SelectedIndexChanged += new System.EventHandler(this.TabControlDetailTrading_SelectedIndexChanged);
            //
            // tabPageCommandSecu
            //
            this.tabPageCommandSecu.Controls.Add(this.dataGridViewCmdSecurity);
            this.tabPageCommandSecu.Location = new System.Drawing.Point(4, 22);
            this.tabPageCommandSecu.Name     = "tabPageCommandSecu";
            this.tabPageCommandSecu.Padding  = new System.Windows.Forms.Padding(3);
            this.tabPageCommandSecu.Size     = new System.Drawing.Size(747, 172);
            this.tabPageCommandSecu.TabIndex = 0;
            this.tabPageCommandSecu.Text     = "指令证券";
            this.tabPageCommandSecu.UseVisualStyleBackColor = true;
            //
            // tabPageEntrustFlow
            //
            this.tabPageEntrustFlow.Location = new System.Drawing.Point(4, 22);
            this.tabPageEntrustFlow.Name     = "tabPageEntrustFlow";
            this.tabPageEntrustFlow.Padding  = new System.Windows.Forms.Padding(3);
            this.tabPageEntrustFlow.Size     = new System.Drawing.Size(747, 172);
            this.tabPageEntrustFlow.TabIndex = 1;
            this.tabPageEntrustFlow.Text     = "委托流水";
            this.tabPageEntrustFlow.UseVisualStyleBackColor = true;
            //
            // tabPageDialFlow
            //
            this.tabPageDialFlow.Location = new System.Drawing.Point(4, 22);
            this.tabPageDialFlow.Name     = "tabPageDialFlow";
            this.tabPageDialFlow.Padding  = new System.Windows.Forms.Padding(3);
            this.tabPageDialFlow.Size     = new System.Drawing.Size(747, 172);
            this.tabPageDialFlow.TabIndex = 2;
            this.tabPageDialFlow.Text     = "成交流水";
            this.tabPageDialFlow.UseVisualStyleBackColor = true;
            //
            // tabPageEntrustFlowParent
            //
            this.tabPageEntrustFlowParent.Location = new System.Drawing.Point(4, 22);
            this.tabPageEntrustFlowParent.Name     = "tabPageEntrustFlowParent";
            this.tabPageEntrustFlowParent.Padding  = new System.Windows.Forms.Padding(3);
            this.tabPageEntrustFlowParent.Size     = new System.Drawing.Size(761, 430);
            this.tabPageEntrustFlowParent.TabIndex = 1;
            this.tabPageEntrustFlowParent.Text     = "委托流水";
            this.tabPageEntrustFlowParent.UseVisualStyleBackColor = true;
            //
            // tabPageDialFlowParent
            //
            this.tabPageDialFlowParent.Controls.Add(this.tableLayoutPanelDealFlow);
            this.tabPageDialFlowParent.Location = new System.Drawing.Point(4, 22);
            this.tabPageDialFlowParent.Name     = "tabPageDialFlowParent";
            this.tabPageDialFlowParent.Padding  = new System.Windows.Forms.Padding(3);
            this.tabPageDialFlowParent.Size     = new System.Drawing.Size(761, 430);
            this.tabPageDialFlowParent.TabIndex = 2;
            this.tabPageDialFlowParent.Text     = "成交流水";
            this.tabPageDialFlowParent.UseVisualStyleBackColor = true;
            //
            // tableLayoutPanelDealFlow
            //
            this.tableLayoutPanelDealFlow.ColumnCount = 1;
            this.tableLayoutPanelDealFlow.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelDealFlow.Controls.Add(this.dataGridViewDealFlow, 0, 0);
            this.tableLayoutPanelDealFlow.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanelDealFlow.Location = new System.Drawing.Point(3, 3);
            this.tableLayoutPanelDealFlow.Name     = "tableLayoutPanelDealFlow";
            this.tableLayoutPanelDealFlow.RowCount = 2;
            this.tableLayoutPanelDealFlow.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 95F));
            this.tableLayoutPanelDealFlow.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5F));
            this.tableLayoutPanelDealFlow.Size     = new System.Drawing.Size(755, 424);
            this.tableLayoutPanelDealFlow.TabIndex = 0;
            //
            // dataGridViewDealFlow
            //
            this.dataGridViewDealFlow.Dock               = System.Windows.Forms.DockStyle.Fill;
            this.dataGridViewDealFlow.Location           = new System.Drawing.Point(3, 3);
            this.dataGridViewDealFlow.Name               = "dataGridViewDealFlow";
            this.dataGridViewDealFlow.RowTemplate.Height = 23;
            this.dataGridViewDealFlow.Size               = new System.Drawing.Size(749, 396);
            this.dataGridViewDealFlow.TabIndex           = 0;
            //
            // splitContainerMarket
            //
            this.splitContainerMarket.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.splitContainerMarket.Dock        = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerMarket.Location    = new System.Drawing.Point(0, 0);
            this.splitContainerMarket.Name        = "splitContainerMarket";
            this.splitContainerMarket.Orientation = System.Windows.Forms.Orientation.Horizontal;
            //
            // splitContainerMarket.Panel2
            //
            this.splitContainerMarket.Panel2.Controls.Add(this.splitContainerTrading);
            this.splitContainerMarket.Size             = new System.Drawing.Size(256, 460);
            this.splitContainerMarket.SplitterDistance = 70;
            this.splitContainerMarket.TabIndex         = 0;
            //
            // splitContainerTrading
            //
            this.splitContainerTrading.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.splitContainerTrading.Dock        = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerTrading.Location    = new System.Drawing.Point(0, 0);
            this.splitContainerTrading.Name        = "splitContainerTrading";
            this.splitContainerTrading.Orientation = System.Windows.Forms.Orientation.Horizontal;
            //
            // splitContainerTrading.Panel2
            //
            this.splitContainerTrading.Panel2.Controls.Add(this.tableLayoutPanelTrading);
            this.splitContainerTrading.Size             = new System.Drawing.Size(256, 386);
            this.splitContainerTrading.SplitterDistance = 54;
            this.splitContainerTrading.TabIndex         = 0;
            //
            // tableLayoutPanelTrading
            //
            this.tableLayoutPanelTrading.ColumnCount = 1;
            this.tableLayoutPanelTrading.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanelTrading.Controls.Add(this.panelEntrust, 0, 2);
            this.tableLayoutPanelTrading.Controls.Add(this.dataGridViewBuySell, 0, 1);
            this.tableLayoutPanelTrading.Controls.Add(this.buysellPanel, 0, 0);
            this.tableLayoutPanelTrading.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanelTrading.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanelTrading.Name     = "tableLayoutPanelTrading";
            this.tableLayoutPanelTrading.RowCount = 3;
            this.tableLayoutPanelTrading.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 38.88889F));
            this.tableLayoutPanelTrading.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 47.83951F));
            this.tableLayoutPanelTrading.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 13.58025F));
            this.tableLayoutPanelTrading.Size     = new System.Drawing.Size(252, 324);
            this.tableLayoutPanelTrading.TabIndex = 0;
            //
            // panelEntrust
            //
            this.panelEntrust.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.panelEntrust.Controls.Add(this.btnEntrusting);
            this.panelEntrust.Controls.Add(this.btnCalc);
            this.panelEntrust.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panelEntrust.Location = new System.Drawing.Point(3, 282);
            this.panelEntrust.Name     = "panelEntrust";
            this.panelEntrust.Size     = new System.Drawing.Size(246, 39);
            this.panelEntrust.TabIndex = 10;
            //
            // btnEntrusting
            //
            this.btnEntrusting.Location = new System.Drawing.Point(148, 10);
            this.btnEntrusting.Name     = "btnEntrusting";
            this.btnEntrusting.Size     = new System.Drawing.Size(75, 23);
            this.btnEntrusting.TabIndex = 1;
            this.btnEntrusting.Text     = "委托";
            this.btnEntrusting.UseVisualStyleBackColor = true;
            this.btnEntrusting.Click += new System.EventHandler(this.ButtonEntrusting_Click);
            //
            // btnCalc
            //
            this.btnCalc.Location = new System.Drawing.Point(42, 10);
            this.btnCalc.Name     = "btnCalc";
            this.btnCalc.Size     = new System.Drawing.Size(75, 23);
            this.btnCalc.TabIndex = 0;
            this.btnCalc.Text     = "计算";
            this.btnCalc.UseVisualStyleBackColor = true;
            this.btnCalc.Click += new System.EventHandler(this.ButtonCalc_Click);
            //
            // dataGridViewBuySell
            //
            this.dataGridViewBuySell.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
            this.dataGridViewBuySell.Dock                   = System.Windows.Forms.DockStyle.Fill;
            this.dataGridViewBuySell.Location               = new System.Drawing.Point(3, 128);
            this.dataGridViewBuySell.Name                   = "dataGridViewBuySell";
            this.dataGridViewBuySell.RowTemplate.Height     = 23;
            this.dataGridViewBuySell.Size                   = new System.Drawing.Size(246, 148);
            this.dataGridViewBuySell.TabIndex               = 9;
            this.dataGridViewBuySell.CellMouseClick        += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.DataGridViewBuySell_CellMouseClick);
            this.dataGridViewBuySell.CellParsing           += new System.Windows.Forms.DataGridViewCellParsingEventHandler(this.DataGridViewBuySell_CellParsing);
            this.dataGridViewBuySell.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.DataGridViewBuySell_EditingControlShowing);
            //
            // buysellPanel
            //
            this.buysellPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.buysellPanel.Controls.Add(this.btnEntrust);
            this.buysellPanel.Controls.Add(this.btnCalculate);
            this.buysellPanel.Controls.Add(this.comboBoxFutureSell);
            this.buysellPanel.Controls.Add(this.comboBoxFutureBuy);
            this.buysellPanel.Controls.Add(this.comboBoxSpotSell);
            this.buysellPanel.Controls.Add(this.comboBoxSpotBuy);
            this.buysellPanel.Controls.Add(this.lblFuturesSellPrice);
            this.buysellPanel.Controls.Add(this.lblFuturesBuyPrice);
            this.buysellPanel.Controls.Add(this.lblSpotSellPrice);
            this.buysellPanel.Controls.Add(this.lblSpotBuyPrice);
            this.buysellPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.buysellPanel.Location = new System.Drawing.Point(3, 3);
            this.buysellPanel.Name     = "buysellPanel";
            this.buysellPanel.Size     = new System.Drawing.Size(246, 119);
            this.buysellPanel.TabIndex = 2;
            //
            // btnEntrust
            //
            this.btnEntrust.Location = new System.Drawing.Point(148, 287);
            this.btnEntrust.Name     = "btnEntrust";
            this.btnEntrust.Size     = new System.Drawing.Size(75, 23);
            this.btnEntrust.TabIndex = 11;
            this.btnEntrust.Text     = "委托";
            this.btnEntrust.UseVisualStyleBackColor = true;
            //
            // btnCalculate
            //
            this.btnCalculate.Location = new System.Drawing.Point(25, 287);
            this.btnCalculate.Name     = "btnCalculate";
            this.btnCalculate.Size     = new System.Drawing.Size(75, 23);
            this.btnCalculate.TabIndex = 10;
            this.btnCalculate.Text     = "计算";
            this.btnCalculate.UseVisualStyleBackColor = true;
            //
            // comboBoxFutureSell
            //
            this.comboBoxFutureSell.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxFutureSell.FormattingEnabled = true;
            this.comboBoxFutureSell.Location          = new System.Drawing.Point(102, 93);
            this.comboBoxFutureSell.Name                  = "comboBoxFutureSell";
            this.comboBoxFutureSell.Size                  = new System.Drawing.Size(121, 20);
            this.comboBoxFutureSell.TabIndex              = 8;
            this.comboBoxFutureSell.SelectedIndexChanged += new System.EventHandler(this.comboBox_SelectedIndexChanged);
            //
            // comboBoxFutureBuy
            //
            this.comboBoxFutureBuy.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxFutureBuy.FormattingEnabled = true;
            this.comboBoxFutureBuy.Location          = new System.Drawing.Point(102, 67);
            this.comboBoxFutureBuy.Name                  = "comboBoxFutureBuy";
            this.comboBoxFutureBuy.Size                  = new System.Drawing.Size(121, 20);
            this.comboBoxFutureBuy.TabIndex              = 7;
            this.comboBoxFutureBuy.SelectedIndexChanged += new System.EventHandler(this.comboBox_SelectedIndexChanged);
            //
            // comboBoxSpotSell
            //
            this.comboBoxSpotSell.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxSpotSell.FormattingEnabled = true;
            this.comboBoxSpotSell.Location          = new System.Drawing.Point(102, 41);
            this.comboBoxSpotSell.Name     = "comboBoxSpotSell";
            this.comboBoxSpotSell.Size     = new System.Drawing.Size(121, 20);
            this.comboBoxSpotSell.TabIndex = 6;
            //
            // comboBoxSpotBuy
            //
            this.comboBoxSpotBuy.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxSpotBuy.FormattingEnabled = true;
            this.comboBoxSpotBuy.Location          = new System.Drawing.Point(102, 12);
            this.comboBoxSpotBuy.Name                  = "comboBoxSpotBuy";
            this.comboBoxSpotBuy.Size                  = new System.Drawing.Size(121, 20);
            this.comboBoxSpotBuy.TabIndex              = 5;
            this.comboBoxSpotBuy.SelectedIndexChanged += new System.EventHandler(this.comboBox_SelectedIndexChanged);
            //
            // lblFuturesSellPrice
            //
            this.lblFuturesSellPrice.AutoSize = true;
            this.lblFuturesSellPrice.Location = new System.Drawing.Point(4, 93);
            this.lblFuturesSellPrice.Name     = "lblFuturesSellPrice";
            this.lblFuturesSellPrice.Size     = new System.Drawing.Size(65, 12);
            this.lblFuturesSellPrice.TabIndex = 3;
            this.lblFuturesSellPrice.Text     = "期货委卖价";
            //
            // lblFuturesBuyPrice
            //
            this.lblFuturesBuyPrice.AutoSize = true;
            this.lblFuturesBuyPrice.Location = new System.Drawing.Point(4, 68);
            this.lblFuturesBuyPrice.Name     = "lblFuturesBuyPrice";
            this.lblFuturesBuyPrice.Size     = new System.Drawing.Size(65, 12);
            this.lblFuturesBuyPrice.TabIndex = 2;
            this.lblFuturesBuyPrice.Text     = "期货委买价";
            //
            // lblSpotSellPrice
            //
            this.lblSpotSellPrice.AutoSize = true;
            this.lblSpotSellPrice.Location = new System.Drawing.Point(4, 41);
            this.lblSpotSellPrice.Name     = "lblSpotSellPrice";
            this.lblSpotSellPrice.Size     = new System.Drawing.Size(65, 12);
            this.lblSpotSellPrice.TabIndex = 1;
            this.lblSpotSellPrice.Text     = "现货委卖价";
            //
            // lblSpotBuyPrice
            //
            this.lblSpotBuyPrice.AutoSize = true;
            this.lblSpotBuyPrice.Location = new System.Drawing.Point(4, 14);
            this.lblSpotBuyPrice.Name     = "lblSpotBuyPrice";
            this.lblSpotBuyPrice.Size     = new System.Drawing.Size(65, 12);
            this.lblSpotBuyPrice.TabIndex = 0;
            this.lblSpotBuyPrice.Text     = "现货委买价";
            //
            // statusStripMain
            //
            this.statusStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.statusLabelOrg
            });
            this.statusStripMain.Location = new System.Drawing.Point(0, 527);
            this.statusStripMain.Name     = "statusStripMain";
            this.statusStripMain.Size     = new System.Drawing.Size(1039, 22);
            this.statusStripMain.TabIndex = 4;
            this.statusStripMain.Text     = "statusStrip1";
            //
            // statusLabelOrg
            //
            this.statusLabelOrg.Name = "statusLabelOrg";
            this.statusLabelOrg.Size = new System.Drawing.Size(0, 17);
            //
            // dataGridViewCmdSecurity
            //
            this.dataGridViewCmdSecurity.Dock               = System.Windows.Forms.DockStyle.Fill;
            this.dataGridViewCmdSecurity.Location           = new System.Drawing.Point(3, 3);
            this.dataGridViewCmdSecurity.Name               = "dataGridViewCmdSecurity";
            this.dataGridViewCmdSecurity.RowTemplate.Height = 23;
            this.dataGridViewCmdSecurity.Size               = new System.Drawing.Size(741, 166);
            this.dataGridViewCmdSecurity.TabIndex           = 0;
            //
            // HundsunExtDemo2
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1039, 549);
            this.Controls.Add(this.tableLayoutPanelMain);
            this.Name  = "HundsunExtDemo2";
            this.Text  = "HundsunExtDemo2";
            this.Load += new System.EventHandler(this.HundsunExtDemo2_Load);
            this.tableLayoutPanelMain.ResumeLayout(false);
            this.tableLayoutPanelMain.PerformLayout();
            this.toolStrip.ResumeLayout(false);
            this.toolStrip.PerformLayout();
            this.menuStrip.ResumeLayout(false);
            this.menuStrip.PerformLayout();
            this.splitContainerMain.Panel1.ResumeLayout(false);
            this.splitContainerMain.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerMain)).EndInit();
            this.splitContainerMain.ResumeLayout(false);
            this.tabTradingCommand.ResumeLayout(false);
            this.tabPageCommandTrading.ResumeLayout(false);
            this.splitContainerTradingCommand.Panel1.ResumeLayout(false);
            this.splitContainerTradingCommand.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerTradingCommand)).EndInit();
            this.splitContainerTradingCommand.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCmdTrading)).EndInit();
            this.tabControlDetailTrading.ResumeLayout(false);
            this.tabPageCommandSecu.ResumeLayout(false);
            this.tabPageDialFlowParent.ResumeLayout(false);
            this.tableLayoutPanelDealFlow.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewDealFlow)).EndInit();
            this.splitContainerMarket.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerMarket)).EndInit();
            this.splitContainerMarket.ResumeLayout(false);
            this.splitContainerTrading.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerTrading)).EndInit();
            this.splitContainerTrading.ResumeLayout(false);
            this.tableLayoutPanelTrading.ResumeLayout(false);
            this.panelEntrust.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewBuySell)).EndInit();
            this.buysellPanel.ResumeLayout(false);
            this.buysellPanel.PerformLayout();
            this.statusStripMain.ResumeLayout(false);
            this.statusStripMain.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewCmdSecurity)).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 13
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.tlPanelMain        = new System.Windows.Forms.TableLayoutPanel();
            this.panelCaption       = new System.Windows.Forms.Panel();
            this.lblCaption         = new System.Windows.Forms.Label();
            this.panelSetting       = new System.Windows.Forms.Panel();
            this.btnSetting         = new System.Windows.Forms.Button();
            this.gbpricetype        = new System.Windows.Forms.GroupBox();
            this.cbSZExchangePrice  = new System.Windows.Forms.ComboBox();
            this.lblSZPrice         = new System.Windows.Forms.Label();
            this.cbSHExchangePrice  = new System.Windows.Forms.ComboBox();
            this.lblSHPriceType     = new System.Windows.Forms.Label();
            this.gbFuturesPrice     = new System.Windows.Forms.GroupBox();
            this.cbFuturesSellPrice = new System.Windows.Forms.ComboBox();
            this.lblFutureSellPrice = new System.Windows.Forms.Label();
            this.cbFuturesBuyPrice  = new System.Windows.Forms.ComboBox();
            this.lblFuturesBuyPrice = new System.Windows.Forms.Label();
            this.gbSpotPrice        = new System.Windows.Forms.GroupBox();
            this.cbSpotSellPrice    = new System.Windows.Forms.ComboBox();
            this.lblSpotSellPrice   = new System.Windows.Forms.Label();
            this.cbSpotBuyPrice     = new System.Windows.Forms.ComboBox();
            this.lblSpotBuyPrice    = new System.Windows.Forms.Label();
            this.panelBottomButton  = new System.Windows.Forms.Panel();
            this.btnCancel          = new System.Windows.Forms.Button();
            this.btnConfirm         = new System.Windows.Forms.Button();
            this.btnUnSelectAll     = new System.Windows.Forms.Button();
            this.btnSelectAll       = new System.Windows.Forms.Button();
            //this.dataGridViewECA = new System.Windows.Forms.DataGridView();

            this.dataGridViewECA = new HSGridView(_gridConfig.GetGid(GridECA));

            this.tlPanelMain.SuspendLayout();
            this.panelCaption.SuspendLayout();
            this.panelSetting.SuspendLayout();
            this.gbpricetype.SuspendLayout();
            this.gbFuturesPrice.SuspendLayout();
            this.gbSpotPrice.SuspendLayout();
            this.panelBottomButton.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewECA)).BeginInit();
            this.SuspendLayout();
            //
            // tlPanelMain
            //
            this.tlPanelMain.ColumnCount = 1;
            this.tlPanelMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tlPanelMain.Controls.Add(this.panelCaption, 0, 0);
            this.tlPanelMain.Controls.Add(this.panelSetting, 0, 1);
            this.tlPanelMain.Controls.Add(this.panelBottomButton, 0, 3);
            this.tlPanelMain.Controls.Add(this.dataGridViewECA, 0, 2);
            this.tlPanelMain.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.tlPanelMain.Location = new System.Drawing.Point(0, 0);
            this.tlPanelMain.Name     = "tlPanelMain";
            this.tlPanelMain.RowCount = 4;
            this.tlPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
            this.tlPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
            this.tlPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tlPanelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
            this.tlPanelMain.Size     = new System.Drawing.Size(1068, 575);
            this.tlPanelMain.TabIndex = 0;
            //
            // panelCaption
            //
            this.panelCaption.Controls.Add(this.lblCaption);
            this.panelCaption.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panelCaption.Location = new System.Drawing.Point(3, 3);
            this.panelCaption.Name     = "panelCaption";
            this.panelCaption.Size     = new System.Drawing.Size(1062, 34);
            this.panelCaption.TabIndex = 0;
            //
            // lblCaption
            //
            this.lblCaption.AutoSize = true;
            this.lblCaption.Location = new System.Drawing.Point(4, 10);
            this.lblCaption.Name     = "lblCaption";
            this.lblCaption.Size     = new System.Drawing.Size(53, 12);
            this.lblCaption.TabIndex = 0;
            this.lblCaption.Text     = "委托撤补";
            //
            // panelSetting
            //
            this.panelSetting.Controls.Add(this.btnSetting);
            this.panelSetting.Controls.Add(this.gbpricetype);
            this.panelSetting.Controls.Add(this.gbFuturesPrice);
            this.panelSetting.Controls.Add(this.gbSpotPrice);
            this.panelSetting.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panelSetting.Location = new System.Drawing.Point(3, 43);
            this.panelSetting.Name     = "panelSetting";
            this.panelSetting.Size     = new System.Drawing.Size(1062, 44);
            this.panelSetting.TabIndex = 1;
            //
            // btnSetting
            //
            this.btnSetting.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnSetting.Location = new System.Drawing.Point(984, 11);
            this.btnSetting.Name     = "btnSetting";
            this.btnSetting.Size     = new System.Drawing.Size(75, 23);
            this.btnSetting.TabIndex = 3;
            this.btnSetting.Text     = "设置";
            this.btnSetting.UseVisualStyleBackColor = true;
            //
            // gbpricetype
            //
            this.gbpricetype.Controls.Add(this.cbSZExchangePrice);
            this.gbpricetype.Controls.Add(this.lblSZPrice);
            this.gbpricetype.Controls.Add(this.cbSHExchangePrice);
            this.gbpricetype.Controls.Add(this.lblSHPriceType);
            this.gbpricetype.Location = new System.Drawing.Point(624, 3);
            this.gbpricetype.Name     = "gbpricetype";
            this.gbpricetype.Size     = new System.Drawing.Size(347, 44);
            this.gbpricetype.TabIndex = 2;
            this.gbpricetype.TabStop  = false;
            this.gbpricetype.Text     = "市价方式";
            //
            // cbSZExchangePrice
            //
            this.cbSZExchangePrice.FormattingEnabled = true;
            this.cbSZExchangePrice.Location          = new System.Drawing.Point(225, 17);
            this.cbSZExchangePrice.Name     = "cbSZExchangePrice";
            this.cbSZExchangePrice.Size     = new System.Drawing.Size(115, 20);
            this.cbSZExchangePrice.TabIndex = 7;
            //
            // lblSZPrice
            //
            this.lblSZPrice.AutoSize = true;
            this.lblSZPrice.Location = new System.Drawing.Point(178, 20);
            this.lblSZPrice.Name     = "lblSZPrice";
            this.lblSZPrice.Size     = new System.Drawing.Size(41, 12);
            this.lblSZPrice.TabIndex = 6;
            this.lblSZPrice.Text     = "深交所";
            //
            // cbSHExchangePrice
            //
            this.cbSHExchangePrice.FormattingEnabled = true;
            this.cbSHExchangePrice.Location          = new System.Drawing.Point(54, 17);
            this.cbSHExchangePrice.Name     = "cbSHExchangePrice";
            this.cbSHExchangePrice.Size     = new System.Drawing.Size(115, 20);
            this.cbSHExchangePrice.TabIndex = 5;
            //
            // lblSHPriceType
            //
            this.lblSHPriceType.AutoSize = true;
            this.lblSHPriceType.Location = new System.Drawing.Point(6, 20);
            this.lblSHPriceType.Name     = "lblSHPriceType";
            this.lblSHPriceType.Size     = new System.Drawing.Size(41, 12);
            this.lblSHPriceType.TabIndex = 4;
            this.lblSHPriceType.Text     = "上交所";
            //
            // gbFuturesPrice
            //
            this.gbFuturesPrice.Controls.Add(this.cbFuturesSellPrice);
            this.gbFuturesPrice.Controls.Add(this.lblFutureSellPrice);
            this.gbFuturesPrice.Controls.Add(this.cbFuturesBuyPrice);
            this.gbFuturesPrice.Controls.Add(this.lblFuturesBuyPrice);
            this.gbFuturesPrice.Location = new System.Drawing.Point(312, 0);
            this.gbFuturesPrice.Name     = "gbFuturesPrice";
            this.gbFuturesPrice.Size     = new System.Drawing.Size(306, 44);
            this.gbFuturesPrice.TabIndex = 1;
            this.gbFuturesPrice.TabStop  = false;
            this.gbFuturesPrice.Text     = "期货";
            //
            // cbFuturesSellPrice
            //
            this.cbFuturesSellPrice.FormattingEnabled = true;
            this.cbFuturesSellPrice.Location          = new System.Drawing.Point(203, 17);
            this.cbFuturesSellPrice.Name     = "cbFuturesSellPrice";
            this.cbFuturesSellPrice.Size     = new System.Drawing.Size(95, 20);
            this.cbFuturesSellPrice.TabIndex = 7;
            //
            // lblFutureSellPrice
            //
            this.lblFutureSellPrice.AutoSize = true;
            this.lblFutureSellPrice.Location = new System.Drawing.Point(156, 21);
            this.lblFutureSellPrice.Name     = "lblFutureSellPrice";
            this.lblFutureSellPrice.Size     = new System.Drawing.Size(41, 12);
            this.lblFutureSellPrice.TabIndex = 6;
            this.lblFutureSellPrice.Text     = "委卖价";
            //
            // cbFuturesBuyPrice
            //
            this.cbFuturesBuyPrice.FormattingEnabled = true;
            this.cbFuturesBuyPrice.Location          = new System.Drawing.Point(54, 17);
            this.cbFuturesBuyPrice.Name     = "cbFuturesBuyPrice";
            this.cbFuturesBuyPrice.Size     = new System.Drawing.Size(95, 20);
            this.cbFuturesBuyPrice.TabIndex = 5;
            //
            // lblFuturesBuyPrice
            //
            this.lblFuturesBuyPrice.AutoSize = true;
            this.lblFuturesBuyPrice.Location = new System.Drawing.Point(6, 21);
            this.lblFuturesBuyPrice.Name     = "lblFuturesBuyPrice";
            this.lblFuturesBuyPrice.Size     = new System.Drawing.Size(41, 12);
            this.lblFuturesBuyPrice.TabIndex = 4;
            this.lblFuturesBuyPrice.Text     = "委买价";
            //
            // gbSpotPrice
            //
            this.gbSpotPrice.Controls.Add(this.cbSpotSellPrice);
            this.gbSpotPrice.Controls.Add(this.lblSpotSellPrice);
            this.gbSpotPrice.Controls.Add(this.cbSpotBuyPrice);
            this.gbSpotPrice.Controls.Add(this.lblSpotBuyPrice);
            this.gbSpotPrice.Location = new System.Drawing.Point(0, 0);
            this.gbSpotPrice.Name     = "gbSpotPrice";
            this.gbSpotPrice.Size     = new System.Drawing.Size(306, 44);
            this.gbSpotPrice.TabIndex = 0;
            this.gbSpotPrice.TabStop  = false;
            this.gbSpotPrice.Text     = "现货";
            //
            // cbSpotSellPrice
            //
            this.cbSpotSellPrice.FormattingEnabled = true;
            this.cbSpotSellPrice.Location          = new System.Drawing.Point(204, 18);
            this.cbSpotSellPrice.Name     = "cbSpotSellPrice";
            this.cbSpotSellPrice.Size     = new System.Drawing.Size(95, 20);
            this.cbSpotSellPrice.TabIndex = 3;
            //
            // lblSpotSellPrice
            //
            this.lblSpotSellPrice.AutoSize = true;
            this.lblSpotSellPrice.Location = new System.Drawing.Point(157, 21);
            this.lblSpotSellPrice.Name     = "lblSpotSellPrice";
            this.lblSpotSellPrice.Size     = new System.Drawing.Size(41, 12);
            this.lblSpotSellPrice.TabIndex = 2;
            this.lblSpotSellPrice.Text     = "委卖价";
            //
            // cbSpotBuyPrice
            //
            this.cbSpotBuyPrice.DropDownWidth     = 110;
            this.cbSpotBuyPrice.FormattingEnabled = true;
            this.cbSpotBuyPrice.Location          = new System.Drawing.Point(54, 18);
            this.cbSpotBuyPrice.Name     = "cbSpotBuyPrice";
            this.cbSpotBuyPrice.Size     = new System.Drawing.Size(95, 20);
            this.cbSpotBuyPrice.TabIndex = 1;
            //
            // lblSpotBuyPrice
            //
            this.lblSpotBuyPrice.AutoSize = true;
            this.lblSpotBuyPrice.Location = new System.Drawing.Point(6, 21);
            this.lblSpotBuyPrice.Name     = "lblSpotBuyPrice";
            this.lblSpotBuyPrice.Size     = new System.Drawing.Size(41, 12);
            this.lblSpotBuyPrice.TabIndex = 0;
            this.lblSpotBuyPrice.Text     = "委买价";
            //
            // panelBottomButton
            //
            this.panelBottomButton.Controls.Add(this.btnCancel);
            this.panelBottomButton.Controls.Add(this.btnConfirm);
            this.panelBottomButton.Controls.Add(this.btnUnSelectAll);
            this.panelBottomButton.Controls.Add(this.btnSelectAll);
            this.panelBottomButton.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panelBottomButton.Location = new System.Drawing.Point(3, 538);
            this.panelBottomButton.Name     = "panelBottomButton";
            this.panelBottomButton.Size     = new System.Drawing.Size(1062, 34);
            this.panelBottomButton.TabIndex = 2;
            //
            // btnCancel
            //
            this.btnCancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCancel.Location = new System.Drawing.Point(978, 8);
            this.btnCancel.Name     = "btnCancel";
            this.btnCancel.Size     = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex = 3;
            this.btnCancel.Text     = "取消";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(ButtonCancel_Click);
            //
            // btnConfirm
            //
            this.btnConfirm.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnConfirm.Location = new System.Drawing.Point(897, 8);
            this.btnConfirm.Name     = "btnConfirm";
            this.btnConfirm.Size     = new System.Drawing.Size(75, 23);
            this.btnConfirm.TabIndex = 2;
            this.btnConfirm.Text     = "确定";
            this.btnConfirm.UseVisualStyleBackColor = true;
            this.btnConfirm.Click += new System.EventHandler(ButtonConfirm_Click);
            //
            // btnUnSelectAll
            //
            this.btnUnSelectAll.Location = new System.Drawing.Point(88, 6);
            this.btnUnSelectAll.Name     = "btnUnSelectAll";
            this.btnUnSelectAll.Size     = new System.Drawing.Size(75, 23);
            this.btnUnSelectAll.TabIndex = 1;
            this.btnUnSelectAll.Text     = "反选";
            this.btnUnSelectAll.UseVisualStyleBackColor = true;
            this.btnUnSelectAll.Click += new System.EventHandler(ButtonUnSelectAll_Click);
            //
            // btnSelectAll
            //
            this.btnSelectAll.Location = new System.Drawing.Point(6, 6);
            this.btnSelectAll.Name     = "btnSelectAll";
            this.btnSelectAll.Size     = new System.Drawing.Size(75, 23);
            this.btnSelectAll.TabIndex = 0;
            this.btnSelectAll.Text     = "全选";
            this.btnSelectAll.UseVisualStyleBackColor = true;
            this.btnSelectAll.Click += new System.EventHandler(ButtonSelectAll_Click);
            //
            // dataGridViewECA
            //
            this.dataGridViewECA.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridViewECA.Dock               = System.Windows.Forms.DockStyle.Fill;
            this.dataGridViewECA.Location           = new System.Drawing.Point(3, 93);
            this.dataGridViewECA.Name               = "dataGridViewECA";
            this.dataGridViewECA.RowTemplate.Height = 23;
            this.dataGridViewECA.Size               = new System.Drawing.Size(1062, 439);
            this.dataGridViewECA.TabIndex           = 3;
            //
            // CancelRedoForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1068, 575);
            this.Controls.Add(this.tlPanelMain);
            this.Name          = "CancelRedoForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "委托撤补";
            this.Load         += new System.EventHandler(this.CancelRedoForm_Load);
            this.tlPanelMain.ResumeLayout(false);
            this.panelCaption.ResumeLayout(false);
            this.panelCaption.PerformLayout();
            this.panelSetting.ResumeLayout(false);
            this.gbpricetype.ResumeLayout(false);
            this.gbpricetype.PerformLayout();
            this.gbFuturesPrice.ResumeLayout(false);
            this.gbFuturesPrice.PerformLayout();
            this.gbSpotPrice.ResumeLayout(false);
            this.gbSpotPrice.PerformLayout();
            this.panelBottomButton.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewECA)).EndInit();
            this.ResumeLayout(false);
        }