|
@@ -28,7 +28,7 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
this.btnOpenFile = new System.Windows.Forms.Button();
|
|
|
this.btnSaveFile = new System.Windows.Forms.Button();
|
|
@@ -50,7 +50,6 @@
|
|
|
this.tBSampleName = new System.Windows.Forms.TextBox();
|
|
|
this.cBIsManul = new System.Windows.Forms.CheckBox();
|
|
|
this.cBIsPT = new System.Windows.Forms.CheckBox();
|
|
|
- this.LogText = new System.Windows.Forms.TextBox();
|
|
|
this.CutHoleGridView = new System.Windows.Forms.DataGridView();
|
|
|
this.Name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.X = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
@@ -59,6 +58,7 @@
|
|
|
this.M = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.R = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.T = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.listmsg = new System.Windows.Forms.ListBox();
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
this.groupBox2.SuspendLayout();
|
|
|
this.groupBox3.SuspendLayout();
|
|
@@ -70,18 +70,21 @@
|
|
|
this.groupBox1.Controls.Add(this.btnOpenFile);
|
|
|
this.groupBox1.Controls.Add(this.btnSaveFile);
|
|
|
this.groupBox1.Controls.Add(this.btnNewFile);
|
|
|
- this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
|
+ this.groupBox1.Location = new System.Drawing.Point(11, 10);
|
|
|
+ this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
- this.groupBox1.Size = new System.Drawing.Size(455, 81);
|
|
|
+ this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
+ this.groupBox1.Size = new System.Drawing.Size(404, 67);
|
|
|
this.groupBox1.TabIndex = 1;
|
|
|
this.groupBox1.TabStop = false;
|
|
|
this.groupBox1.Text = "测量文件操作";
|
|
|
//
|
|
|
// btnOpenFile
|
|
|
//
|
|
|
- this.btnOpenFile.Location = new System.Drawing.Point(235, 28);
|
|
|
+ this.btnOpenFile.Location = new System.Drawing.Point(209, 23);
|
|
|
+ this.btnOpenFile.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.btnOpenFile.Name = "btnOpenFile";
|
|
|
- this.btnOpenFile.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.btnOpenFile.Size = new System.Drawing.Size(91, 31);
|
|
|
this.btnOpenFile.TabIndex = 2;
|
|
|
this.btnOpenFile.Text = "打开";
|
|
|
this.btnOpenFile.UseVisualStyleBackColor = true;
|
|
@@ -89,9 +92,10 @@
|
|
|
//
|
|
|
// btnSaveFile
|
|
|
//
|
|
|
- this.btnSaveFile.Location = new System.Drawing.Point(127, 28);
|
|
|
+ this.btnSaveFile.Location = new System.Drawing.Point(113, 23);
|
|
|
+ this.btnSaveFile.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.btnSaveFile.Name = "btnSaveFile";
|
|
|
- this.btnSaveFile.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.btnSaveFile.Size = new System.Drawing.Size(91, 31);
|
|
|
this.btnSaveFile.TabIndex = 1;
|
|
|
this.btnSaveFile.Text = "保存";
|
|
|
this.btnSaveFile.UseVisualStyleBackColor = true;
|
|
@@ -99,9 +103,10 @@
|
|
|
//
|
|
|
// btnNewFile
|
|
|
//
|
|
|
- this.btnNewFile.Location = new System.Drawing.Point(19, 28);
|
|
|
+ this.btnNewFile.Location = new System.Drawing.Point(17, 23);
|
|
|
+ this.btnNewFile.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.btnNewFile.Name = "btnNewFile";
|
|
|
- this.btnNewFile.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.btnNewFile.Size = new System.Drawing.Size(91, 31);
|
|
|
this.btnNewFile.TabIndex = 0;
|
|
|
this.btnNewFile.Text = "新建";
|
|
|
this.btnNewFile.UseVisualStyleBackColor = true;
|
|
@@ -116,18 +121,21 @@
|
|
|
this.groupBox2.Controls.Add(this.button4);
|
|
|
this.groupBox2.Controls.Add(this.button3);
|
|
|
this.groupBox2.Controls.Add(this.btnLoadCutHoles);
|
|
|
- this.groupBox2.Location = new System.Drawing.Point(12, 99);
|
|
|
+ this.groupBox2.Location = new System.Drawing.Point(11, 82);
|
|
|
+ this.groupBox2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.groupBox2.Name = "groupBox2";
|
|
|
- this.groupBox2.Size = new System.Drawing.Size(455, 130);
|
|
|
+ this.groupBox2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
+ this.groupBox2.Size = new System.Drawing.Size(404, 108);
|
|
|
this.groupBox2.TabIndex = 2;
|
|
|
this.groupBox2.TabStop = false;
|
|
|
this.groupBox2.Text = "测量流程";
|
|
|
//
|
|
|
// button1
|
|
|
//
|
|
|
- this.button1.Location = new System.Drawing.Point(343, 81);
|
|
|
+ this.button1.Location = new System.Drawing.Point(305, 67);
|
|
|
+ this.button1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.button1.Name = "button1";
|
|
|
- this.button1.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.button1.Size = new System.Drawing.Size(91, 31);
|
|
|
this.button1.TabIndex = 6;
|
|
|
this.button1.Text = "截面";
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
@@ -135,9 +143,10 @@
|
|
|
//
|
|
|
// button7
|
|
|
//
|
|
|
- this.button7.Location = new System.Drawing.Point(235, 81);
|
|
|
+ this.button7.Location = new System.Drawing.Point(209, 67);
|
|
|
+ this.button7.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.button7.Name = "button7";
|
|
|
- this.button7.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.button7.Size = new System.Drawing.Size(91, 31);
|
|
|
this.button7.TabIndex = 5;
|
|
|
this.button7.Text = "分析位置";
|
|
|
this.button7.UseVisualStyleBackColor = true;
|
|
@@ -145,9 +154,10 @@
|
|
|
//
|
|
|
// button6
|
|
|
//
|
|
|
- this.button6.Location = new System.Drawing.Point(127, 81);
|
|
|
+ this.button6.Location = new System.Drawing.Point(113, 67);
|
|
|
+ this.button6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.button6.Name = "button6";
|
|
|
- this.button6.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.button6.Size = new System.Drawing.Size(91, 31);
|
|
|
this.button6.TabIndex = 4;
|
|
|
this.button6.Text = "切割";
|
|
|
this.button6.UseVisualStyleBackColor = true;
|
|
@@ -155,9 +165,10 @@
|
|
|
//
|
|
|
// button5
|
|
|
//
|
|
|
- this.button5.Location = new System.Drawing.Point(19, 81);
|
|
|
+ this.button5.Location = new System.Drawing.Point(17, 67);
|
|
|
+ this.button5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.button5.Name = "button5";
|
|
|
- this.button5.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.button5.Size = new System.Drawing.Size(91, 31);
|
|
|
this.button5.TabIndex = 3;
|
|
|
this.button5.Text = "定位";
|
|
|
this.button5.UseVisualStyleBackColor = true;
|
|
@@ -165,9 +176,10 @@
|
|
|
//
|
|
|
// button4
|
|
|
//
|
|
|
- this.button4.Location = new System.Drawing.Point(235, 38);
|
|
|
+ this.button4.Location = new System.Drawing.Point(209, 32);
|
|
|
+ this.button4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.button4.Name = "button4";
|
|
|
- this.button4.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.button4.Size = new System.Drawing.Size(91, 31);
|
|
|
this.button4.TabIndex = 2;
|
|
|
this.button4.Text = "停止";
|
|
|
this.button4.UseVisualStyleBackColor = true;
|
|
@@ -175,9 +187,10 @@
|
|
|
//
|
|
|
// button3
|
|
|
//
|
|
|
- this.button3.Location = new System.Drawing.Point(127, 38);
|
|
|
+ this.button3.Location = new System.Drawing.Point(113, 32);
|
|
|
+ this.button3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.button3.Name = "button3";
|
|
|
- this.button3.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.button3.Size = new System.Drawing.Size(91, 31);
|
|
|
this.button3.TabIndex = 1;
|
|
|
this.button3.Text = "启动";
|
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
@@ -185,9 +198,10 @@
|
|
|
//
|
|
|
// btnLoadCutHoles
|
|
|
//
|
|
|
- this.btnLoadCutHoles.Location = new System.Drawing.Point(19, 38);
|
|
|
+ this.btnLoadCutHoles.Location = new System.Drawing.Point(17, 32);
|
|
|
+ this.btnLoadCutHoles.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.btnLoadCutHoles.Name = "btnLoadCutHoles";
|
|
|
- this.btnLoadCutHoles.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.btnLoadCutHoles.Size = new System.Drawing.Size(91, 31);
|
|
|
this.btnLoadCutHoles.TabIndex = 0;
|
|
|
this.btnLoadCutHoles.Text = "导入切孔";
|
|
|
this.btnLoadCutHoles.UseVisualStyleBackColor = true;
|
|
@@ -203,18 +217,21 @@
|
|
|
this.groupBox3.Controls.Add(this.tBSampleName);
|
|
|
this.groupBox3.Controls.Add(this.cBIsManul);
|
|
|
this.groupBox3.Controls.Add(this.cBIsPT);
|
|
|
- this.groupBox3.Location = new System.Drawing.Point(13, 235);
|
|
|
+ this.groupBox3.Location = new System.Drawing.Point(12, 196);
|
|
|
+ this.groupBox3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.groupBox3.Name = "groupBox3";
|
|
|
- this.groupBox3.Size = new System.Drawing.Size(454, 109);
|
|
|
+ this.groupBox3.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
+ this.groupBox3.Size = new System.Drawing.Size(404, 91);
|
|
|
this.groupBox3.TabIndex = 3;
|
|
|
this.groupBox3.TabStop = false;
|
|
|
this.groupBox3.Text = "测量参数";
|
|
|
//
|
|
|
// btParamOK
|
|
|
//
|
|
|
- this.btParamOK.Location = new System.Drawing.Point(342, 67);
|
|
|
+ this.btParamOK.Location = new System.Drawing.Point(304, 56);
|
|
|
+ this.btParamOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.btParamOK.Name = "btParamOK";
|
|
|
- this.btParamOK.Size = new System.Drawing.Size(102, 37);
|
|
|
+ this.btParamOK.Size = new System.Drawing.Size(91, 31);
|
|
|
this.btParamOK.TabIndex = 7;
|
|
|
this.btParamOK.Text = "确定";
|
|
|
this.btParamOK.UseVisualStyleBackColor = true;
|
|
@@ -222,9 +239,10 @@
|
|
|
//
|
|
|
// btFIB
|
|
|
//
|
|
|
- this.btFIB.Location = new System.Drawing.Point(185, 60);
|
|
|
+ this.btFIB.Location = new System.Drawing.Point(164, 50);
|
|
|
+ this.btFIB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.btFIB.Name = "btFIB";
|
|
|
- this.btFIB.Size = new System.Drawing.Size(43, 27);
|
|
|
+ this.btFIB.Size = new System.Drawing.Size(38, 22);
|
|
|
this.btFIB.TabIndex = 6;
|
|
|
this.btFIB.Text = "...";
|
|
|
this.btFIB.UseVisualStyleBackColor = true;
|
|
@@ -232,43 +250,46 @@
|
|
|
//
|
|
|
// tBFIBTemp
|
|
|
//
|
|
|
- this.tBFIBTemp.Location = new System.Drawing.Point(85, 59);
|
|
|
+ this.tBFIBTemp.Location = new System.Drawing.Point(76, 49);
|
|
|
+ this.tBFIBTemp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.tBFIBTemp.Name = "tBFIBTemp";
|
|
|
this.tBFIBTemp.ReadOnly = true;
|
|
|
- this.tBFIBTemp.Size = new System.Drawing.Size(100, 28);
|
|
|
+ this.tBFIBTemp.Size = new System.Drawing.Size(89, 25);
|
|
|
this.tBFIBTemp.TabIndex = 5;
|
|
|
//
|
|
|
// label2
|
|
|
//
|
|
|
this.label2.AutoSize = true;
|
|
|
- this.label2.Location = new System.Drawing.Point(17, 69);
|
|
|
+ this.label2.Location = new System.Drawing.Point(15, 57);
|
|
|
this.label2.Name = "label2";
|
|
|
- this.label2.Size = new System.Drawing.Size(71, 18);
|
|
|
+ this.label2.Size = new System.Drawing.Size(61, 15);
|
|
|
this.label2.TabIndex = 4;
|
|
|
this.label2.Text = "FIB模板";
|
|
|
//
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
|
- this.label1.Location = new System.Drawing.Point(206, 31);
|
|
|
+ this.label1.Location = new System.Drawing.Point(183, 26);
|
|
|
this.label1.Name = "label1";
|
|
|
- this.label1.Size = new System.Drawing.Size(80, 18);
|
|
|
+ this.label1.Size = new System.Drawing.Size(67, 15);
|
|
|
this.label1.TabIndex = 3;
|
|
|
this.label1.Text = "样品名称";
|
|
|
//
|
|
|
// tBSampleName
|
|
|
//
|
|
|
- this.tBSampleName.Location = new System.Drawing.Point(288, 28);
|
|
|
+ this.tBSampleName.Location = new System.Drawing.Point(256, 23);
|
|
|
+ this.tBSampleName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.tBSampleName.Name = "tBSampleName";
|
|
|
- this.tBSampleName.Size = new System.Drawing.Size(100, 28);
|
|
|
+ this.tBSampleName.Size = new System.Drawing.Size(89, 25);
|
|
|
this.tBSampleName.TabIndex = 2;
|
|
|
//
|
|
|
// cBIsManul
|
|
|
//
|
|
|
this.cBIsManul.AutoSize = true;
|
|
|
- this.cBIsManul.Location = new System.Drawing.Point(94, 28);
|
|
|
+ this.cBIsManul.Location = new System.Drawing.Point(84, 23);
|
|
|
+ this.cBIsManul.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.cBIsManul.Name = "cBIsManul";
|
|
|
- this.cBIsManul.Size = new System.Drawing.Size(106, 22);
|
|
|
+ this.cBIsManul.Size = new System.Drawing.Size(89, 19);
|
|
|
this.cBIsManul.TabIndex = 1;
|
|
|
this.cBIsManul.Text = "手动对焦";
|
|
|
this.cBIsManul.UseVisualStyleBackColor = true;
|
|
@@ -276,26 +297,19 @@
|
|
|
// cBIsPT
|
|
|
//
|
|
|
this.cBIsPT.AutoSize = true;
|
|
|
- this.cBIsPT.Location = new System.Drawing.Point(18, 28);
|
|
|
+ this.cBIsPT.Location = new System.Drawing.Point(16, 23);
|
|
|
+ this.cBIsPT.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.cBIsPT.Name = "cBIsPT";
|
|
|
- this.cBIsPT.Size = new System.Drawing.Size(70, 22);
|
|
|
+ this.cBIsPT.Size = new System.Drawing.Size(60, 19);
|
|
|
this.cBIsPT.TabIndex = 0;
|
|
|
this.cBIsPT.Text = "有PT";
|
|
|
this.cBIsPT.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
- // LogText
|
|
|
- //
|
|
|
- this.LogText.Location = new System.Drawing.Point(473, 12);
|
|
|
- this.LogText.Multiline = true;
|
|
|
- this.LogText.Name = "LogText";
|
|
|
- this.LogText.Size = new System.Drawing.Size(315, 332);
|
|
|
- this.LogText.TabIndex = 15;
|
|
|
- //
|
|
|
// CutHoleGridView
|
|
|
//
|
|
|
- dataGridViewCellStyle4.BackColor = System.Drawing.Color.Beige;
|
|
|
- dataGridViewCellStyle4.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
|
|
|
- this.CutHoleGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
|
|
+ dataGridViewCellStyle2.BackColor = System.Drawing.Color.Beige;
|
|
|
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
|
|
|
+ this.CutHoleGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
|
this.CutHoleGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.CutHoleGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.Name,
|
|
@@ -305,11 +319,12 @@
|
|
|
this.M,
|
|
|
this.R,
|
|
|
this.T});
|
|
|
- this.CutHoleGridView.Location = new System.Drawing.Point(12, 350);
|
|
|
+ this.CutHoleGridView.Location = new System.Drawing.Point(11, 292);
|
|
|
+ this.CutHoleGridView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.CutHoleGridView.Name = "CutHoleGridView";
|
|
|
this.CutHoleGridView.ReadOnly = true;
|
|
|
this.CutHoleGridView.RowTemplate.Height = 30;
|
|
|
- this.CutHoleGridView.Size = new System.Drawing.Size(776, 263);
|
|
|
+ this.CutHoleGridView.Size = new System.Drawing.Size(690, 219);
|
|
|
this.CutHoleGridView.TabIndex = 16;
|
|
|
//
|
|
|
// Name
|
|
@@ -347,16 +362,26 @@
|
|
|
this.T.Name = "T";
|
|
|
this.T.ReadOnly = true;
|
|
|
//
|
|
|
+ // listmsg
|
|
|
+ //
|
|
|
+ this.listmsg.FormattingEnabled = true;
|
|
|
+ this.listmsg.ItemHeight = 15;
|
|
|
+ this.listmsg.Location = new System.Drawing.Point(713, 10);
|
|
|
+ this.listmsg.Name = "listmsg";
|
|
|
+ this.listmsg.Size = new System.Drawing.Size(697, 604);
|
|
|
+ this.listmsg.TabIndex = 17;
|
|
|
+ //
|
|
|
// MainForm
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(800, 622);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1422, 628);
|
|
|
+ this.Controls.Add(this.listmsg);
|
|
|
this.Controls.Add(this.CutHoleGridView);
|
|
|
- this.Controls.Add(this.LogText);
|
|
|
this.Controls.Add(this.groupBox3);
|
|
|
this.Controls.Add(this.groupBox2);
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
//this.Name = "MainForm";
|
|
|
this.Text = "测量流程测试";
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
@@ -365,7 +390,6 @@
|
|
|
this.groupBox3.PerformLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.CutHoleGridView)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
- this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
@@ -399,7 +423,7 @@
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn M;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn R;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn T;
|
|
|
- private System.Windows.Forms.TextBox LogText;
|
|
|
+ private System.Windows.Forms.ListBox listmsg;
|
|
|
}
|
|
|
}
|
|
|
|