Esempio n. 1
0
        private void init()
        {
            cbType.Items.Add(new ComboBoxItem("-1", "Tất cả"));
            cbType.Items.Add(new ComboBoxItem("0", "BBBG đến"));
            cbType.Items.Add(new ComboBoxItem("1", "BBBG đi"));
            cbType.SelectedIndex = 1;
            cbType.Enabled       = false;

            cbReplyStatus.Items.Add(new ComboBoxItem(null, "Tất cả"));
            cbReplyStatus.Items.Add(new ComboBoxItem(true, "Đã hồi báo"));
            cbReplyStatus.Items.Add(new ComboBoxItem(false, "Chưa hồi báo"));
            cbReplyStatus.SelectedIndex = 0;

            //custumize check box column
            var cusCheckbox = new DataGridViewDisableCheckBoxColumn();

            cusCheckbox.Name  = "CusCheck";
            cusCheckbox.Width = 50;
            var cbCusHeader = new DatagridViewCheckBoxHeaderCell();

            cbCusHeader.OnCheckBoxClicked += new CheckBoxClickedHandler(cbCusHeader_OnCheckBoxClicked);
            cusCheckbox.HeaderCell         = cbCusHeader;
            cusCheckbox.HeaderText         = "";
            grdHandover.Columns.Insert(0, cusCheckbox);

            //search BBBG
            search();
        }
Esempio n. 2
0
        private void Init()
        {
            if (_type == 0)
            {
                //lblDateXNK.Text = "Ngày giờ xuất cảnh";
                grdToaTau.Columns["Ten_DoiTac"].HeaderText      = "Tên người nhận";
                grdToaTau.Columns["Ten_DoanhNghiep"].HeaderText = "Tên người gửi";
            }
            else if (_type == 1)
            {
                //lblDateXNK.Text = "Ngày giờ nhập cảnh";
                grdToaTau.Columns["Ten_DoiTac"].HeaderText      = "Tên người gửi";
                grdToaTau.Columns["Ten_DoanhNghiep"].HeaderText = "Tên người nhận";
            }

            //custumize check box column
            var cusCheckbox = new DataGridViewDisableCheckBoxColumn();

            cusCheckbox.Name  = "CusCheck";
            cusCheckbox.Width = 50;
            var cbCusHeader = new DatagridViewCheckBoxHeaderCell();

            cbCusHeader.OnCheckBoxClicked += new CheckBoxClickedHandler(cbCusHeader_OnCheckBoxClicked);
            cusCheckbox.HeaderCell         = cbCusHeader;
            cusCheckbox.HeaderText         = "";
            grdToaTau.Columns.Insert(0, cusCheckbox);

            //grid Toa tau
            grdToaTau.AutoGenerateColumns = false;
            List <tblToaTau> listToaTau = TrainFactory.searchToaTau(_type, _handoverType, txtSoVanTaiDon.Text.Trim(), cbNgayVT.Checked, dtpFrom.Value, dtpTo.Value);

            grdToaTau.DataSource = listToaTau;

            // Bind count column
            for (var i = 0; i < grdToaTau.Rows.Count; i++)
            {
                // Add to count Column
                grdToaTau.Rows[i].Cells["Count"].Value = (i + 1).ToString();
                var toaTau = (tblToaTau)grdToaTau.Rows[i].DataBoundItem;
                //if (_listToaTau.Any(tau => tau.tblChuyenTau.TrainID == toaTau.tblChuyenTau.TrainID))
                //{
                //    grdToaTau.Rows[i].Cells["CusCheck"].Value = true;
                //}
            }
        }
Esempio n. 3
0
        private void InitializeComponent()
        {
            DataGridViewCellStyle    dataGridViewCellStyle    = new DataGridViewCellStyle();
            DataGridViewCellStyle    dataGridViewCellStyle2   = new DataGridViewCellStyle();
            DataGridViewCellStyle    dataGridViewCellStyle3   = new DataGridViewCellStyle();
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(SysManMaint));

            this.groupBox27  = new GroupBox();
            this.panel1      = new Panel();
            this.cbsel       = new CheckBox();
            this.dgvFwDevice = new DataGridView();
            this.label1      = new Label();
            this.butUpdate   = new Button();
            this.butBrowse   = new Button();
            this.tbFileNm    = new TextBox();
            this.lbFileNm    = new Label();
            this.cbMainFw    = new CheckBox();
            this.dataGridViewDisableCheckBoxColumn1 = new DataGridViewDisableCheckBoxColumn();
            this.dataGridViewTextBoxColumn1         = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn2         = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3         = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn4         = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn5         = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn6         = new DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn7         = new DataGridViewTextBoxColumn();
            this.datasel         = new DataGridViewDisableCheckBoxColumn();
            this.dgvtbPduNm      = new DataGridViewTextBoxColumn();
            this.dgvtbIp         = new DataGridViewTextBoxColumn();
            this.dgvtbModel      = new DataGridViewTextBoxColumn();
            this.dgvtbFwVersion  = new DataGridViewTextBoxColumn();
            this.dgvtStatus      = new DataGridViewTextBoxColumn();
            this.dgvtdevID       = new DataGridViewTextBoxColumn();
            this.dgvtdevhttpPort = new DataGridViewTextBoxColumn();
            this.butSearch       = new Button();
            this.groupBox27.SuspendLayout();
            this.panel1.SuspendLayout();
            ((ISupportInitialize)this.dgvFwDevice).BeginInit();
            base.SuspendLayout();
            this.groupBox27.BackColor = Color.WhiteSmoke;
            this.groupBox27.Controls.Add(this.butSearch);
            this.groupBox27.Controls.Add(this.panel1);
            this.groupBox27.Controls.Add(this.label1);
            this.groupBox27.Controls.Add(this.butUpdate);
            this.groupBox27.Controls.Add(this.butBrowse);
            this.groupBox27.Controls.Add(this.tbFileNm);
            this.groupBox27.Controls.Add(this.lbFileNm);
            this.groupBox27.Controls.Add(this.cbMainFw);
            componentResourceManager.ApplyResources(this.groupBox27, "groupBox27");
            this.groupBox27.ForeColor = Color.FromArgb(20, 73, 160);
            this.groupBox27.Name      = "groupBox27";
            this.groupBox27.TabStop   = false;
            this.panel1.Controls.Add(this.cbsel);
            this.panel1.Controls.Add(this.dgvFwDevice);
            componentResourceManager.ApplyResources(this.panel1, "panel1");
            this.panel1.ForeColor = Color.Black;
            this.panel1.Name      = "panel1";
            this.cbsel.BackColor  = Color.Transparent;
            this.cbsel.Checked    = true;
            this.cbsel.CheckState = CheckState.Checked;
            componentResourceManager.ApplyResources(this.cbsel, "cbsel");
            this.cbsel.ForeColor = Color.Black;
            this.cbsel.Name      = "cbsel";
            this.cbsel.UseVisualStyleBackColor               = false;
            this.cbsel.CheckedChanged                       += new System.EventHandler(this.cbsel_CheckedChanged);
            this.dgvFwDevice.AllowUserToAddRows              = false;
            this.dgvFwDevice.AllowUserToDeleteRows           = false;
            this.dgvFwDevice.AllowUserToResizeRows           = false;
            dataGridViewCellStyle.Font                       = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.dgvFwDevice.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle;
            this.dgvFwDevice.BackgroundColor                 = Color.White;
            this.dgvFwDevice.CellBorderStyle                 = DataGridViewCellBorderStyle.Raised;
            dataGridViewCellStyle2.Alignment                 = DataGridViewContentAlignment.MiddleCenter;
            dataGridViewCellStyle2.BackColor                 = SystemColors.Control;
            dataGridViewCellStyle2.Font                      = new Font("Microsoft Sans Serif", 9f);
            dataGridViewCellStyle2.ForeColor                 = SystemColors.WindowText;
            dataGridViewCellStyle2.SelectionBackColor        = SystemColors.Highlight;
            dataGridViewCellStyle2.SelectionForeColor        = SystemColors.HighlightText;
            dataGridViewCellStyle2.WrapMode                  = DataGridViewTriState.True;
            this.dgvFwDevice.ColumnHeadersDefaultCellStyle   = dataGridViewCellStyle2;
            componentResourceManager.ApplyResources(this.dgvFwDevice, "dgvFwDevice");
            this.dgvFwDevice.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
            this.dgvFwDevice.Columns.AddRange(new DataGridViewColumn[]
            {
                this.datasel,
                this.dgvtbPduNm,
                this.dgvtbIp,
                this.dgvtbModel,
                this.dgvtbFwVersion,
                this.dgvtStatus,
                this.dgvtdevID,
                this.dgvtdevhttpPort
            });
            this.dgvFwDevice.GridColor                     = Color.White;
            this.dgvFwDevice.MultiSelect                   = false;
            this.dgvFwDevice.Name                          = "dgvFwDevice";
            dataGridViewCellStyle3.Alignment               = DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle3.BackColor               = Color.FromArgb(206, 206, 206);
            dataGridViewCellStyle3.Font                    = new Font("Microsoft Sans Serif", 9f);
            dataGridViewCellStyle3.ForeColor               = Color.Black;
            dataGridViewCellStyle3.SelectionBackColor      = SystemColors.Highlight;
            dataGridViewCellStyle3.SelectionForeColor      = SystemColors.HighlightText;
            dataGridViewCellStyle3.WrapMode                = DataGridViewTriState.True;
            this.dgvFwDevice.RowHeadersDefaultCellStyle    = dataGridViewCellStyle3;
            this.dgvFwDevice.RowHeadersVisible             = false;
            this.dgvFwDevice.RowHeadersWidthSizeMode       = DataGridViewRowHeadersWidthSizeMode.DisableResizing;
            this.dgvFwDevice.RowTemplate.Height            = 23;
            this.dgvFwDevice.SelectionMode                 = DataGridViewSelectionMode.FullRowSelect;
            this.dgvFwDevice.StandardTab                   = true;
            this.dgvFwDevice.TabStop                       = false;
            this.dgvFwDevice.CellValueChanged             += new DataGridViewCellEventHandler(this.dgvFwDevice_CellValueChanged);
            this.dgvFwDevice.CurrentCellDirtyStateChanged += new System.EventHandler(this.dgvFwDevice_CurrentCellDirtyStateChanged);
            componentResourceManager.ApplyResources(this.label1, "label1");
            this.label1.ForeColor    = Color.Red;
            this.label1.Name         = "label1";
            this.butUpdate.BackColor = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.butUpdate, "butUpdate");
            this.butUpdate.ForeColor = Color.Black;
            this.butUpdate.Name      = "butUpdate";
            this.butUpdate.UseVisualStyleBackColor = false;
            this.butUpdate.Click    += new System.EventHandler(this.butUpdate_Click);
            this.butBrowse.BackColor = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.butBrowse, "butBrowse");
            this.butBrowse.ForeColor = SystemColors.ControlText;
            this.butBrowse.Name      = "butBrowse";
            this.butBrowse.UseVisualStyleBackColor = false;
            this.butBrowse.Click += new System.EventHandler(this.butBrowse_Click);
            componentResourceManager.ApplyResources(this.tbFileNm, "tbFileNm");
            this.tbFileNm.Name     = "tbFileNm";
            this.tbFileNm.ReadOnly = true;
            componentResourceManager.ApplyResources(this.lbFileNm, "lbFileNm");
            this.lbFileNm.ForeColor = SystemColors.ControlText;
            this.lbFileNm.Name      = "lbFileNm";
            componentResourceManager.ApplyResources(this.cbMainFw, "cbMainFw");
            this.cbMainFw.Checked    = true;
            this.cbMainFw.CheckState = CheckState.Checked;
            this.cbMainFw.ForeColor  = SystemColors.ControlText;
            this.cbMainFw.Name       = "cbMainFw";
            this.cbMainFw.UseVisualStyleBackColor = true;
            this.cbMainFw.CheckedChanged         += new System.EventHandler(this.cbMainFw_CheckedChanged);
            componentResourceManager.ApplyResources(this.dataGridViewDisableCheckBoxColumn1, "dataGridViewDisableCheckBoxColumn1");
            this.dataGridViewDisableCheckBoxColumn1.Name     = "dataGridViewDisableCheckBoxColumn1";
            this.dataGridViewTextBoxColumn1.DataPropertyName = "device_nm";
            componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn1, "dataGridViewTextBoxColumn1");
            this.dataGridViewTextBoxColumn1.MaxInputLength   = 15;
            this.dataGridViewTextBoxColumn1.Name             = "dataGridViewTextBoxColumn1";
            this.dataGridViewTextBoxColumn1.ReadOnly         = true;
            this.dataGridViewTextBoxColumn2.DataPropertyName = "device_ip";
            componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn2, "dataGridViewTextBoxColumn2");
            this.dataGridViewTextBoxColumn2.Name             = "dataGridViewTextBoxColumn2";
            this.dataGridViewTextBoxColumn2.ReadOnly         = true;
            this.dataGridViewTextBoxColumn3.DataPropertyName = "model_nm";
            componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn3, "dataGridViewTextBoxColumn3");
            this.dataGridViewTextBoxColumn3.Name             = "dataGridViewTextBoxColumn3";
            this.dataGridViewTextBoxColumn3.ReadOnly         = true;
            this.dataGridViewTextBoxColumn4.DataPropertyName = "fw_version";
            componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn4, "dataGridViewTextBoxColumn4");
            this.dataGridViewTextBoxColumn4.Name         = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.ReadOnly     = true;
            this.dataGridViewTextBoxColumn5.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn5, "dataGridViewTextBoxColumn5");
            this.dataGridViewTextBoxColumn5.Name     = "dataGridViewTextBoxColumn5";
            this.dataGridViewTextBoxColumn5.ReadOnly = true;
            componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn6, "dataGridViewTextBoxColumn6");
            this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
            componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn7, "dataGridViewTextBoxColumn7");
            this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
            componentResourceManager.ApplyResources(this.datasel, "datasel");
            this.datasel.Name = "datasel";
            this.dgvtbPduNm.DataPropertyName = "device_nm";
            componentResourceManager.ApplyResources(this.dgvtbPduNm, "dgvtbPduNm");
            this.dgvtbPduNm.MaxInputLength = 15;
            this.dgvtbPduNm.Name           = "dgvtbPduNm";
            this.dgvtbPduNm.ReadOnly       = true;
            this.dgvtbIp.DataPropertyName  = "device_ip";
            componentResourceManager.ApplyResources(this.dgvtbIp, "dgvtbIp");
            this.dgvtbIp.Name                = "dgvtbIp";
            this.dgvtbIp.ReadOnly            = true;
            this.dgvtbModel.DataPropertyName = "model_nm";
            componentResourceManager.ApplyResources(this.dgvtbModel, "dgvtbModel");
            this.dgvtbModel.Name                 = "dgvtbModel";
            this.dgvtbModel.ReadOnly             = true;
            this.dgvtbFwVersion.DataPropertyName = "fw_version";
            componentResourceManager.ApplyResources(this.dgvtbFwVersion, "dgvtbFwVersion");
            this.dgvtbFwVersion.Name     = "dgvtbFwVersion";
            this.dgvtbFwVersion.ReadOnly = true;
            this.dgvtStatus.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            componentResourceManager.ApplyResources(this.dgvtStatus, "dgvtStatus");
            this.dgvtStatus.Name     = "dgvtStatus";
            this.dgvtStatus.ReadOnly = true;
            componentResourceManager.ApplyResources(this.dgvtdevID, "dgvtdevID");
            this.dgvtdevID.Name = "dgvtdevID";
            componentResourceManager.ApplyResources(this.dgvtdevhttpPort, "dgvtdevhttpPort");
            this.dgvtdevhttpPort.Name = "dgvtdevhttpPort";
            this.butSearch.BackColor  = Color.Gainsboro;
            componentResourceManager.ApplyResources(this.butSearch, "butSearch");
            this.butSearch.ForeColor = Color.Black;
            this.butSearch.Name      = "butSearch";
            this.butSearch.UseVisualStyleBackColor = false;
            this.butSearch.Click += new System.EventHandler(this.butSearch_Click);
            base.AutoScaleMode    = AutoScaleMode.None;
            this.BackColor        = Color.WhiteSmoke;
            base.Controls.Add(this.groupBox27);
            componentResourceManager.ApplyResources(this, "$this");
            this.ForeColor = SystemColors.ControlText;
            base.Name      = "SysManMaint";
            this.groupBox27.ResumeLayout(false);
            this.groupBox27.PerformLayout();
            this.panel1.ResumeLayout(false);
            ((ISupportInitialize)this.dgvFwDevice).EndInit();
            base.ResumeLayout(false);
        }
Esempio n. 4
0
        private void InitializeComponent_1()
        {
            DataGridViewCellStyle    style   = new DataGridViewCellStyle();
            DataGridViewCellStyle    style2  = new DataGridViewCellStyle();
            DataGridViewCellStyle    style3  = new DataGridViewCellStyle();
            DataGridViewCellStyle    style4  = new DataGridViewCellStyle();
            DataGridViewCellStyle    style5  = new DataGridViewCellStyle();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(StatisticsOptions));

            this.button1              = new AisinoBTN();
            this.button2              = new AisinoBTN();
            this.groupBox1            = new AisinoGRP();
            this.customStyleDataGrid1 = new CustomStyleDataGrid();
            this.chkName              = new DataGridViewDisableCheckBoxColumn();
            this.ColName              = new DataGridViewTextBoxColumn();
            this.ColSum   = new DataGridViewDisableCheckBoxColumn();
            this.ColAvg   = new DataGridViewDisableCheckBoxColumn();
            this.ColMax   = new DataGridViewDisableCheckBoxColumn();
            this.ColMin   = new DataGridViewDisableCheckBoxColumn();
            this.ColCount = new DataGridViewDisableCheckBoxColumn();
            this.groupBox1.SuspendLayout();
            ((ISupportInitialize)this.customStyleDataGrid1).BeginInit();
            base.SuspendLayout();
            this.button1.BackColorActive         = Color.FromArgb(0x19, 0x76, 210);
            this.button1.ColorDefaultA           = Color.FromArgb(0, 0xac, 0xfb);
            this.button1.ColorDefaultB           = Color.FromArgb(0, 0x91, 0xe0);
            this.button1.Font                    = new Font("微软雅黑", 9.75f, FontStyle.Bold);
            this.button1.FontColor               = Color.FromArgb(0xff, 0xff, 0xff);
            this.button1.Location                = new Point(0xb5, 0x160);
            this.button1.Name                    = "button1";
            this.button1.Size                    = new Size(100, 30);
            this.button1.TabIndex                = 2;
            this.button1.Text                    = "统  计";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click                  += new EventHandler(this.button1_Click);
            this.button2.BackColorActive         = Color.FromArgb(0x19, 0x76, 210);
            this.button2.ColorDefaultA           = Color.FromArgb(0, 0xac, 0xfb);
            this.button2.ColorDefaultB           = Color.FromArgb(0, 0x91, 0xe0);
            this.button2.Font                    = new Font("微软雅黑", 9.75f, FontStyle.Bold);
            this.button2.FontColor               = Color.FromArgb(0xff, 0xff, 0xff);
            this.button2.Location                = new Point(0x130, 0x160);
            this.button2.Name                    = "button2";
            this.button2.Size                    = new Size(100, 30);
            this.button2.TabIndex                = 3;
            this.button2.Text                    = "取  消";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click                  += new EventHandler(this.button2_Click);
            this.groupBox1.BackColor             = Color.Transparent;
            this.groupBox1.Controls.Add(this.customStyleDataGrid1);
            this.groupBox1.Dock     = DockStyle.Top;
            this.groupBox1.Location = new Point(0, 0);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new Size(0x232, 0x15a);
            this.groupBox1.TabIndex = 4;
            this.groupBox1.TabStop  = false;
            this.customStyleDataGrid1.AborCellPainting          = false;
            this.customStyleDataGrid1.AllowColumnHeadersVisible = true;
            this.customStyleDataGrid1.AllowUserToAddRows        = false;
            this.customStyleDataGrid1.AllowUserToDeleteRows     = false;
            this.customStyleDataGrid1.AllowUserToResizeRows     = false;
            style.BackColor = Color.FromArgb(0xff, 250, 240);
            this.customStyleDataGrid1.AlternatingRowsDefaultCellStyle = style;
            this.customStyleDataGrid1.BackgroundColor          = SystemColors.ButtonFace;
            this.customStyleDataGrid1.BorderStyle              = BorderStyle.None;
            this.customStyleDataGrid1.CellBorderStyle          = DataGridViewCellBorderStyle.SingleVertical;
            this.customStyleDataGrid1.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
            style2.Alignment = DataGridViewContentAlignment.MiddleCenter;
            style2.BackColor = Color.FromArgb(0x15, 0x87, 0xca);
            style2.Font      = new Font("微软雅黑", 10f);
            style2.ForeColor = Color.FromArgb(0xff, 0xff, 0xff);
            this.customStyleDataGrid1.ColumnHeadersDefaultCellStyle = style2;
            this.customStyleDataGrid1.ColumnHeadersHeight           = 0;
            this.customStyleDataGrid1.ColumnHeadersHeightSizeMode   = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.customStyleDataGrid1.Columns.AddRange(new DataGridViewColumn[] { this.chkName, this.ColName, this.ColSum, this.ColAvg, this.ColMax, this.ColMin, this.ColCount });
            style3.Alignment          = DataGridViewContentAlignment.MiddleLeft;
            style3.BackColor          = Color.FromArgb(220, 230, 240);
            style3.Font               = new Font("宋体", 10f);
            style3.ForeColor          = Color.FromArgb(0, 0, 0);
            style3.SelectionBackColor = Color.FromArgb(0x7d, 150, 0xb9);
            style3.SelectionForeColor = Color.FromArgb(0xff, 0xff, 0xff);
            style3.WrapMode           = DataGridViewTriState.False;
            this.customStyleDataGrid1.DefaultCellStyle          = style3;
            this.customStyleDataGrid1.Dock                      = DockStyle.Top;
            this.customStyleDataGrid1.EnableHeadersVisualStyles = false;
            this.customStyleDataGrid1.GridColor                 = Color.Gray;
            this.customStyleDataGrid1.GridStyle                 = CustomStyle.custom;
            this.customStyleDataGrid1.Location                  = new Point(3, 0x11);
            this.customStyleDataGrid1.MultiSelect               = false;
            this.customStyleDataGrid1.Name                      = "customStyleDataGrid1";
            this.customStyleDataGrid1.RowHeadersVisible         = false;
            style4.BackColor          = Color.White;
            style4.SelectionBackColor = Color.SlateGray;
            this.customStyleDataGrid1.RowsDefaultCellStyle = style4;
            this.customStyleDataGrid1.RowTemplate.Height   = 0x17;
            this.customStyleDataGrid1.SelectionMode        = DataGridViewSelectionMode.CellSelect;
            this.customStyleDataGrid1.Size     = new Size(0x22c, 0x143);
            this.customStyleDataGrid1.TabIndex = 0;
            this.chkName.DataPropertyName      = "chkCol";
            this.chkName.Frozen           = true;
            this.chkName.HeaderText       = "";
            this.chkName.Name             = "chkName";
            this.chkName.Resizable        = DataGridViewTriState.False;
            this.chkName.Width            = 20;
            this.ColName.DataPropertyName = "ColumnName";
            style5.Alignment = DataGridViewContentAlignment.MiddleLeft;
            this.ColName.DefaultCellStyle = style5;
            this.ColName.Frozen           = true;
            this.ColName.HeaderText       = "汇总栏目";
            this.ColName.Name             = "ColName";
            this.ColName.ReadOnly         = true;
            this.ColName.Resizable        = DataGridViewTriState.True;
            this.ColName.SortMode         = DataGridViewColumnSortMode.NotSortable;
            this.ColName.Width            = 80;
            this.ColSum.DataPropertyName  = "sumCol";
            this.ColSum.HeaderText        = "求和(Sum)";
            this.ColSum.Name               = "ColSum";
            this.ColSum.Resizable          = DataGridViewTriState.True;
            this.ColAvg.DataPropertyName   = "avgCol";
            this.ColAvg.HeaderText         = "平均值(Avg)";
            this.ColAvg.Name               = "ColAvg";
            this.ColAvg.Resizable          = DataGridViewTriState.True;
            this.ColMax.DataPropertyName   = "maxCol";
            this.ColMax.HeaderText         = "最大值(Max)";
            this.ColMax.Name               = "ColMax";
            this.ColMax.Resizable          = DataGridViewTriState.True;
            this.ColMin.DataPropertyName   = "minCol";
            this.ColMin.HeaderText         = "最小值(Min)";
            this.ColMin.Name               = "ColMin";
            this.ColMin.Resizable          = DataGridViewTriState.True;
            this.ColCount.DataPropertyName = "countCol";
            this.ColCount.HeaderText       = "值的个数";
            this.ColCount.Name             = "ColCount";
            this.ColCount.Resizable        = DataGridViewTriState.True;
            this.ColCount.SortMode         = DataGridViewColumnSortMode.Automatic;
            this.ColCount.ThreeState       = true;
            this.ColCount.Visible          = false;
            this.ColCount.Width            = 80;
            base.AutoScaleDimensions       = new SizeF(6f, 12f);
            base.AutoScaleMode             = AutoScaleMode.Font;
            base.ClientSize = new Size(0x232, 0x18f);
            base.Controls.Add(this.groupBox1);
            base.Controls.Add(this.button2);
            base.Controls.Add(this.button1);
            base.HelpButton    = true;
            base.Icon          = (Icon)manager.GetObject("$this.Icon");
            base.MaximizeBox   = false;
            base.MinimizeBox   = false;
            base.Name          = "StatisticsOptions";
            base.ShowIcon      = false;
            base.StartPosition = FormStartPosition.CenterParent;
            this.Text          = "统计选项";
            this.groupBox1.ResumeLayout(false);
            ((ISupportInitialize)this.customStyleDataGrid1).EndInit();
            base.ResumeLayout(false);
        }