|
@@ -51,8 +51,8 @@ namespace lqnet.Forms
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.prodtDesig_sel = new System.Windows.Forms.TextBox();
|
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
|
this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
@@ -91,7 +91,6 @@ namespace lqnet.Forms
|
|
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
- this.resetBtn = new System.Windows.Forms.Button();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskListBindingSource)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.mergeCountTextbox)).BeginInit();
|
|
@@ -118,8 +117,8 @@ namespace lqnet.Forms
|
|
|
this.dataGridView1.AutoGenerateColumns = false;
|
|
|
this.dataGridView1.BackgroundColor = System.Drawing.Color.SkyBlue;
|
|
|
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
- dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 12F);
|
|
|
- this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
|
|
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F);
|
|
|
+ this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.Index,
|
|
@@ -255,7 +254,7 @@ namespace lqnet.Forms
|
|
|
this.slectBt.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.slectBt.Font = new System.Drawing.Font("宋体", 10F);
|
|
|
this.slectBt.ForeColor = System.Drawing.Color.White;
|
|
|
- this.slectBt.Location = new System.Drawing.Point(505, 30);
|
|
|
+ this.slectBt.Location = new System.Drawing.Point(419, 27);
|
|
|
this.slectBt.Name = "slectBt";
|
|
|
this.slectBt.Size = new System.Drawing.Size(91, 39);
|
|
|
this.slectBt.TabIndex = 7;
|
|
@@ -369,9 +368,9 @@ namespace lqnet.Forms
|
|
|
this.dataGridView2.AutoGenerateColumns = false;
|
|
|
this.dataGridView2.BackgroundColor = System.Drawing.Color.SkyBlue;
|
|
|
this.dataGridView2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
- dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 12F);
|
|
|
- this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
|
|
- this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F);
|
|
|
+ this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
|
+ this.dataGridView2.ColumnHeadersHeight = 40;
|
|
|
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.indexDataGridViewTextBoxColumn,
|
|
|
this.importColLabelDataGridViewTextBoxColumn,
|
|
@@ -383,11 +382,14 @@ namespace lqnet.Forms
|
|
|
this.dataGridView2.Name = "dataGridView2";
|
|
|
this.dataGridView2.RowHeadersVisible = false;
|
|
|
this.dataGridView2.RowHeadersWidth = 82;
|
|
|
- this.dataGridView2.RowTemplate.Height = 40;
|
|
|
+ this.dataGridView2.RowTemplate.Height = 50;
|
|
|
+ this.dataGridView2.Font = new Font("宋体", 14); // 设置单元格的文字大小
|
|
|
this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
this.dataGridView2.ShowCellToolTips = false;
|
|
|
this.dataGridView2.Size = new System.Drawing.Size(781, 391);
|
|
|
this.dataGridView2.TabIndex = 34;
|
|
|
+ // 设置单元格的文字大小
|
|
|
+ dataGridView1.DefaultCellStyle.Font = new Font("宋体", 14); // 设置单元格的文字大小
|
|
|
//
|
|
|
// indexDataGridViewTextBoxColumn
|
|
|
//
|
|
@@ -414,6 +416,7 @@ namespace lqnet.Forms
|
|
|
this.lineColLabelDataGridViewTextBoxColumn.MinimumWidth = 8;
|
|
|
this.lineColLabelDataGridViewTextBoxColumn.Name = "lineColLabelDataGridViewTextBoxColumn";
|
|
|
this.lineColLabelDataGridViewTextBoxColumn.Width = 250;
|
|
|
+ this.lineColLabelDataGridViewTextBoxColumn.DefaultCellStyle.Padding = new Padding(0, (dataGridView1.RowTemplate.Height - 21) / 2, 0, 0); // 设置单元格内边距
|
|
|
//
|
|
|
// reportColListBindingSource
|
|
|
//
|
|
@@ -480,7 +483,6 @@ namespace lqnet.Forms
|
|
|
//
|
|
|
// groupBox2
|
|
|
//
|
|
|
- this.groupBox2.Controls.Add(this.resetBtn);
|
|
|
this.groupBox2.Controls.Add(this.label1);
|
|
|
this.groupBox2.Controls.Add(this.pageHelper2);
|
|
|
this.groupBox2.Controls.Add(this.prodtDesig_sel);
|
|
@@ -558,20 +560,6 @@ namespace lqnet.Forms
|
|
|
this.label2.TabIndex = 0;
|
|
|
this.label2.Text = "成都晶格智汇科技有限公司";
|
|
|
//
|
|
|
- // resetBtn
|
|
|
- //
|
|
|
- this.resetBtn.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
|
|
|
- this.resetBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
- this.resetBtn.Font = new System.Drawing.Font("宋体", 10F);
|
|
|
- this.resetBtn.ForeColor = System.Drawing.Color.Blue;
|
|
|
- this.resetBtn.Location = new System.Drawing.Point(395, 30);
|
|
|
- this.resetBtn.Name = "resetBtn";
|
|
|
- this.resetBtn.Size = new System.Drawing.Size(91, 39);
|
|
|
- this.resetBtn.TabIndex = 36;
|
|
|
- this.resetBtn.Text = "重置";
|
|
|
- this.resetBtn.UseVisualStyleBackColor = true;
|
|
|
- this.resetBtn.Click += new System.EventHandler(this.resetBtn_Click);
|
|
|
- //
|
|
|
// MainForm
|
|
|
//
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
|
|
@@ -642,6 +630,5 @@ namespace lqnet.Forms
|
|
|
private LinkLabel linkLabel1;
|
|
|
private Label label3;
|
|
|
private Label label2;
|
|
|
- private Button resetBtn;
|
|
|
}
|
|
|
}
|