|
@@ -58,7 +58,7 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
this.tStandardsampleX = new System.Windows.Forms.TextBox();
|
|
|
this.label12 = new System.Windows.Forms.Label();
|
|
|
this.label13 = new System.Windows.Forms.Label();
|
|
|
- this.radioButton__StandardsampleSqare = new System.Windows.Forms.RadioButton();
|
|
|
+ this.radioButton_StandardsampleSqare = new System.Windows.Forms.RadioButton();
|
|
|
this.radioButton_StandardsampleCircle = new System.Windows.Forms.RadioButton();
|
|
|
this.label14 = new System.Windows.Forms.Label();
|
|
|
this.button_Generate = new System.Windows.Forms.Button();
|
|
@@ -66,6 +66,7 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
this.button_AddHole = new System.Windows.Forms.Button();
|
|
|
this.button_DelHole = new System.Windows.Forms.Button();
|
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.button_Ok = new System.Windows.Forms.Button();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.m_ctrlStagePicture)).BeginInit();
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
this.groupBox2.SuspendLayout();
|
|
@@ -76,10 +77,10 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
// m_ctrlStagePicture
|
|
|
//
|
|
|
this.m_ctrlStagePicture.BackColor = System.Drawing.Color.White;
|
|
|
- this.m_ctrlStagePicture.Location = new System.Drawing.Point(831, 13);
|
|
|
- this.m_ctrlStagePicture.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.m_ctrlStagePicture.Location = new System.Drawing.Point(831, 14);
|
|
|
+ this.m_ctrlStagePicture.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
this.m_ctrlStagePicture.Name = "m_ctrlStagePicture";
|
|
|
- this.m_ctrlStagePicture.Size = new System.Drawing.Size(917, 848);
|
|
|
+ this.m_ctrlStagePicture.Size = new System.Drawing.Size(916, 848);
|
|
|
this.m_ctrlStagePicture.TabIndex = 2;
|
|
|
this.m_ctrlStagePicture.TabStop = false;
|
|
|
//
|
|
@@ -129,11 +130,12 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
this.radioButton_SEM.TabStop = true;
|
|
|
this.radioButton_SEM.Text = "SEM坐标系统";
|
|
|
this.radioButton_SEM.UseVisualStyleBackColor = true;
|
|
|
+ this.radioButton_SEM.Visible = false;
|
|
|
//
|
|
|
// label3
|
|
|
//
|
|
|
this.label3.AutoSize = true;
|
|
|
- this.label3.Location = new System.Drawing.Point(19, 37);
|
|
|
+ this.label3.Location = new System.Drawing.Point(20, 38);
|
|
|
this.label3.Name = "label3";
|
|
|
this.label3.Size = new System.Drawing.Size(152, 18);
|
|
|
this.label3.TabIndex = 8;
|
|
@@ -164,13 +166,13 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
this.tBoundaryHeight.Location = new System.Drawing.Point(534, 114);
|
|
|
this.tBoundaryHeight.Name = "tBoundaryHeight";
|
|
|
- this.tBoundaryHeight.Size = new System.Drawing.Size(123, 28);
|
|
|
+ this.tBoundaryHeight.Size = new System.Drawing.Size(122, 28);
|
|
|
this.tBoundaryHeight.TabIndex = 19;
|
|
|
//
|
|
|
// label8
|
|
|
//
|
|
|
this.label8.AutoSize = true;
|
|
|
- this.label8.Location = new System.Drawing.Point(449, 117);
|
|
|
+ this.label8.Location = new System.Drawing.Point(448, 117);
|
|
|
this.label8.Name = "label8";
|
|
|
this.label8.Size = new System.Drawing.Size(62, 18);
|
|
|
this.label8.TabIndex = 18;
|
|
@@ -178,15 +180,15 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
// tBoundaryWide
|
|
|
//
|
|
|
- this.tBoundaryWide.Location = new System.Drawing.Point(534, 71);
|
|
|
+ this.tBoundaryWide.Location = new System.Drawing.Point(534, 70);
|
|
|
this.tBoundaryWide.Name = "tBoundaryWide";
|
|
|
- this.tBoundaryWide.Size = new System.Drawing.Size(123, 28);
|
|
|
+ this.tBoundaryWide.Size = new System.Drawing.Size(122, 28);
|
|
|
this.tBoundaryWide.TabIndex = 17;
|
|
|
//
|
|
|
// label7
|
|
|
//
|
|
|
this.label7.AutoSize = true;
|
|
|
- this.label7.Location = new System.Drawing.Point(449, 74);
|
|
|
+ this.label7.Location = new System.Drawing.Point(448, 74);
|
|
|
this.label7.Name = "label7";
|
|
|
this.label7.Size = new System.Drawing.Size(62, 18);
|
|
|
this.label7.TabIndex = 16;
|
|
@@ -194,9 +196,9 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
// tBoundaryY
|
|
|
//
|
|
|
- this.tBoundaryY.Location = new System.Drawing.Point(227, 114);
|
|
|
+ this.tBoundaryY.Location = new System.Drawing.Point(226, 114);
|
|
|
this.tBoundaryY.Name = "tBoundaryY";
|
|
|
- this.tBoundaryY.Size = new System.Drawing.Size(123, 28);
|
|
|
+ this.tBoundaryY.Size = new System.Drawing.Size(122, 28);
|
|
|
this.tBoundaryY.TabIndex = 15;
|
|
|
//
|
|
|
// label6
|
|
@@ -210,9 +212,9 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
// tBoundaryX
|
|
|
//
|
|
|
- this.tBoundaryX.Location = new System.Drawing.Point(227, 71);
|
|
|
+ this.tBoundaryX.Location = new System.Drawing.Point(226, 70);
|
|
|
this.tBoundaryX.Name = "tBoundaryX";
|
|
|
- this.tBoundaryX.Size = new System.Drawing.Size(123, 28);
|
|
|
+ this.tBoundaryX.Size = new System.Drawing.Size(122, 28);
|
|
|
this.tBoundaryX.TabIndex = 13;
|
|
|
//
|
|
|
// label5
|
|
@@ -236,7 +238,7 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
// radioButton_BoundarySquare
|
|
|
//
|
|
|
this.radioButton_BoundarySquare.AutoSize = true;
|
|
|
- this.radioButton_BoundarySquare.Location = new System.Drawing.Point(281, 35);
|
|
|
+ this.radioButton_BoundarySquare.Location = new System.Drawing.Point(280, 34);
|
|
|
this.radioButton_BoundarySquare.Name = "radioButton_BoundarySquare";
|
|
|
this.radioButton_BoundarySquare.Size = new System.Drawing.Size(69, 22);
|
|
|
this.radioButton_BoundarySquare.TabIndex = 10;
|
|
@@ -248,7 +250,7 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
// radioButton_BoundaryCircle
|
|
|
//
|
|
|
this.radioButton_BoundaryCircle.AutoSize = true;
|
|
|
- this.radioButton_BoundaryCircle.Location = new System.Drawing.Point(189, 35);
|
|
|
+ this.radioButton_BoundaryCircle.Location = new System.Drawing.Point(189, 34);
|
|
|
this.radioButton_BoundaryCircle.Name = "radioButton_BoundaryCircle";
|
|
|
this.radioButton_BoundaryCircle.Size = new System.Drawing.Size(69, 22);
|
|
|
this.radioButton_BoundaryCircle.TabIndex = 9;
|
|
@@ -268,12 +270,12 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
this.groupBox2.Controls.Add(this.tStandardsampleX);
|
|
|
this.groupBox2.Controls.Add(this.label12);
|
|
|
this.groupBox2.Controls.Add(this.label13);
|
|
|
- this.groupBox2.Controls.Add(this.radioButton__StandardsampleSqare);
|
|
|
+ this.groupBox2.Controls.Add(this.radioButton_StandardsampleSqare);
|
|
|
this.groupBox2.Controls.Add(this.radioButton_StandardsampleCircle);
|
|
|
this.groupBox2.Controls.Add(this.label14);
|
|
|
- this.groupBox2.Location = new System.Drawing.Point(6, 269);
|
|
|
+ this.groupBox2.Location = new System.Drawing.Point(6, 268);
|
|
|
this.groupBox2.Name = "groupBox2";
|
|
|
- this.groupBox2.Size = new System.Drawing.Size(806, 161);
|
|
|
+ this.groupBox2.Size = new System.Drawing.Size(806, 160);
|
|
|
this.groupBox2.TabIndex = 13;
|
|
|
this.groupBox2.TabStop = false;
|
|
|
this.groupBox2.Text = "标样";
|
|
@@ -282,13 +284,13 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
this.tStandardsampleHeight.Location = new System.Drawing.Point(534, 114);
|
|
|
this.tStandardsampleHeight.Name = "tStandardsampleHeight";
|
|
|
- this.tStandardsampleHeight.Size = new System.Drawing.Size(123, 28);
|
|
|
+ this.tStandardsampleHeight.Size = new System.Drawing.Size(122, 28);
|
|
|
this.tStandardsampleHeight.TabIndex = 19;
|
|
|
//
|
|
|
// label9
|
|
|
//
|
|
|
this.label9.AutoSize = true;
|
|
|
- this.label9.Location = new System.Drawing.Point(449, 117);
|
|
|
+ this.label9.Location = new System.Drawing.Point(448, 117);
|
|
|
this.label9.Name = "label9";
|
|
|
this.label9.Size = new System.Drawing.Size(62, 18);
|
|
|
this.label9.TabIndex = 18;
|
|
@@ -296,15 +298,15 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
// tStandardsampleWide
|
|
|
//
|
|
|
- this.tStandardsampleWide.Location = new System.Drawing.Point(534, 71);
|
|
|
+ this.tStandardsampleWide.Location = new System.Drawing.Point(534, 70);
|
|
|
this.tStandardsampleWide.Name = "tStandardsampleWide";
|
|
|
- this.tStandardsampleWide.Size = new System.Drawing.Size(123, 28);
|
|
|
+ this.tStandardsampleWide.Size = new System.Drawing.Size(122, 28);
|
|
|
this.tStandardsampleWide.TabIndex = 17;
|
|
|
//
|
|
|
// label10
|
|
|
//
|
|
|
this.label10.AutoSize = true;
|
|
|
- this.label10.Location = new System.Drawing.Point(449, 74);
|
|
|
+ this.label10.Location = new System.Drawing.Point(448, 74);
|
|
|
this.label10.Name = "label10";
|
|
|
this.label10.Size = new System.Drawing.Size(62, 18);
|
|
|
this.label10.TabIndex = 16;
|
|
@@ -312,9 +314,9 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
// tStandardsampleY
|
|
|
//
|
|
|
- this.tStandardsampleY.Location = new System.Drawing.Point(227, 114);
|
|
|
+ this.tStandardsampleY.Location = new System.Drawing.Point(226, 114);
|
|
|
this.tStandardsampleY.Name = "tStandardsampleY";
|
|
|
- this.tStandardsampleY.Size = new System.Drawing.Size(123, 28);
|
|
|
+ this.tStandardsampleY.Size = new System.Drawing.Size(122, 28);
|
|
|
this.tStandardsampleY.TabIndex = 15;
|
|
|
//
|
|
|
// label11
|
|
@@ -328,9 +330,9 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
// tStandardsampleX
|
|
|
//
|
|
|
- this.tStandardsampleX.Location = new System.Drawing.Point(227, 71);
|
|
|
+ this.tStandardsampleX.Location = new System.Drawing.Point(226, 70);
|
|
|
this.tStandardsampleX.Name = "tStandardsampleX";
|
|
|
- this.tStandardsampleX.Size = new System.Drawing.Size(123, 28);
|
|
|
+ this.tStandardsampleX.Size = new System.Drawing.Size(122, 28);
|
|
|
this.tStandardsampleX.TabIndex = 13;
|
|
|
//
|
|
|
// label12
|
|
@@ -351,22 +353,22 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
this.label13.TabIndex = 11;
|
|
|
this.label13.Text = "中心点坐标:";
|
|
|
//
|
|
|
- // radioButton__StandardsampleSqare
|
|
|
+ // radioButton_StandardsampleSqare
|
|
|
//
|
|
|
- this.radioButton__StandardsampleSqare.AutoSize = true;
|
|
|
- this.radioButton__StandardsampleSqare.Location = new System.Drawing.Point(281, 35);
|
|
|
- this.radioButton__StandardsampleSqare.Name = "radioButton__StandardsampleSqare";
|
|
|
- this.radioButton__StandardsampleSqare.Size = new System.Drawing.Size(69, 22);
|
|
|
- this.radioButton__StandardsampleSqare.TabIndex = 10;
|
|
|
- this.radioButton__StandardsampleSqare.TabStop = true;
|
|
|
- this.radioButton__StandardsampleSqare.Text = "方形";
|
|
|
- this.radioButton__StandardsampleSqare.UseVisualStyleBackColor = true;
|
|
|
- this.radioButton__StandardsampleSqare.Click += new System.EventHandler(this.radioButton__StandardsampleSqare_Click);
|
|
|
+ this.radioButton_StandardsampleSqare.AutoSize = true;
|
|
|
+ this.radioButton_StandardsampleSqare.Location = new System.Drawing.Point(280, 34);
|
|
|
+ this.radioButton_StandardsampleSqare.Name = "radioButton_StandardsampleSqare";
|
|
|
+ this.radioButton_StandardsampleSqare.Size = new System.Drawing.Size(69, 22);
|
|
|
+ this.radioButton_StandardsampleSqare.TabIndex = 10;
|
|
|
+ this.radioButton_StandardsampleSqare.TabStop = true;
|
|
|
+ this.radioButton_StandardsampleSqare.Text = "方形";
|
|
|
+ this.radioButton_StandardsampleSqare.UseVisualStyleBackColor = true;
|
|
|
+ this.radioButton_StandardsampleSqare.Click += new System.EventHandler(this.radioButton__StandardsampleSqare_Click);
|
|
|
//
|
|
|
// radioButton_StandardsampleCircle
|
|
|
//
|
|
|
this.radioButton_StandardsampleCircle.AutoSize = true;
|
|
|
- this.radioButton_StandardsampleCircle.Location = new System.Drawing.Point(189, 35);
|
|
|
+ this.radioButton_StandardsampleCircle.Location = new System.Drawing.Point(189, 34);
|
|
|
this.radioButton_StandardsampleCircle.Name = "radioButton_StandardsampleCircle";
|
|
|
this.radioButton_StandardsampleCircle.Size = new System.Drawing.Size(69, 22);
|
|
|
this.radioButton_StandardsampleCircle.TabIndex = 9;
|
|
@@ -378,7 +380,7 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
// label14
|
|
|
//
|
|
|
this.label14.AutoSize = true;
|
|
|
- this.label14.Location = new System.Drawing.Point(19, 37);
|
|
|
+ this.label14.Location = new System.Drawing.Point(20, 38);
|
|
|
this.label14.Name = "label14";
|
|
|
this.label14.Size = new System.Drawing.Size(98, 18);
|
|
|
this.label14.TabIndex = 8;
|
|
@@ -386,12 +388,13 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
//
|
|
|
// button_Generate
|
|
|
//
|
|
|
- this.button_Generate.Location = new System.Drawing.Point(848, 879);
|
|
|
+ this.button_Generate.Location = new System.Drawing.Point(831, 876);
|
|
|
this.button_Generate.Name = "button_Generate";
|
|
|
- this.button_Generate.Size = new System.Drawing.Size(898, 44);
|
|
|
+ this.button_Generate.Size = new System.Drawing.Size(699, 44);
|
|
|
this.button_Generate.TabIndex = 16;
|
|
|
this.button_Generate.Text = "生成";
|
|
|
this.button_Generate.UseVisualStyleBackColor = true;
|
|
|
+ this.button_Generate.Click += new System.EventHandler(this.button_Generate_Click);
|
|
|
//
|
|
|
// dataGridView_Holes
|
|
|
//
|
|
@@ -405,43 +408,60 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
this.dataGridView_Holes.Name = "dataGridView_Holes";
|
|
|
this.dataGridView_Holes.RowHeadersVisible = false;
|
|
|
this.dataGridView_Holes.RowHeadersWidth = 62;
|
|
|
- this.dataGridView_Holes.RowTemplate.Height = 30;
|
|
|
- this.dataGridView_Holes.Size = new System.Drawing.Size(773, 466);
|
|
|
+ this.dataGridView_Holes.RowTemplate.Height = 20;
|
|
|
+ this.dataGridView_Holes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
|
|
+ this.dataGridView_Holes.Size = new System.Drawing.Size(772, 467);
|
|
|
this.dataGridView_Holes.TabIndex = 17;
|
|
|
+ this.dataGridView_Holes.CurrentCellChanged += new System.EventHandler(this.dataGridView_Holes_CurrentCellChanged);
|
|
|
+ this.dataGridView_Holes.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dataGridView_Holes_Scroll);
|
|
|
//
|
|
|
// button_AddHole
|
|
|
//
|
|
|
this.button_AddHole.Location = new System.Drawing.Point(788, 454);
|
|
|
this.button_AddHole.Name = "button_AddHole";
|
|
|
- this.button_AddHole.Size = new System.Drawing.Size(34, 127);
|
|
|
+ this.button_AddHole.Size = new System.Drawing.Size(34, 128);
|
|
|
this.button_AddHole.TabIndex = 18;
|
|
|
this.button_AddHole.Text = "增加样品孔";
|
|
|
this.button_AddHole.UseVisualStyleBackColor = true;
|
|
|
+ this.button_AddHole.Click += new System.EventHandler(this.button_AddHole_Click);
|
|
|
//
|
|
|
// button_DelHole
|
|
|
//
|
|
|
- this.button_DelHole.Location = new System.Drawing.Point(788, 587);
|
|
|
+ this.button_DelHole.Location = new System.Drawing.Point(788, 586);
|
|
|
this.button_DelHole.Name = "button_DelHole";
|
|
|
- this.button_DelHole.Size = new System.Drawing.Size(34, 127);
|
|
|
+ this.button_DelHole.Size = new System.Drawing.Size(34, 128);
|
|
|
this.button_DelHole.TabIndex = 19;
|
|
|
this.button_DelHole.Text = "删除样品孔";
|
|
|
this.button_DelHole.UseVisualStyleBackColor = true;
|
|
|
+ this.button_DelHole.Click += new System.EventHandler(this.button_DelHole_Click);
|
|
|
//
|
|
|
// groupBox3
|
|
|
//
|
|
|
this.groupBox3.Controls.Add(this.dataGridView_Holes);
|
|
|
this.groupBox3.Location = new System.Drawing.Point(6, 430);
|
|
|
this.groupBox3.Name = "groupBox3";
|
|
|
- this.groupBox3.Size = new System.Drawing.Size(779, 493);
|
|
|
+ this.groupBox3.Size = new System.Drawing.Size(778, 494);
|
|
|
this.groupBox3.TabIndex = 20;
|
|
|
this.groupBox3.TabStop = false;
|
|
|
this.groupBox3.Text = "样品孔信息:";
|
|
|
//
|
|
|
+ // button_Ok
|
|
|
+ //
|
|
|
+ this.button_Ok.Enabled = false;
|
|
|
+ this.button_Ok.Location = new System.Drawing.Point(1570, 876);
|
|
|
+ this.button_Ok.Name = "button_Ok";
|
|
|
+ this.button_Ok.Size = new System.Drawing.Size(177, 44);
|
|
|
+ this.button_Ok.TabIndex = 21;
|
|
|
+ this.button_Ok.Text = "保存";
|
|
|
+ this.button_Ok.UseVisualStyleBackColor = true;
|
|
|
+ this.button_Ok.Click += new System.EventHandler(this.button_Ok_Click);
|
|
|
+ //
|
|
|
// DlgStageEdit
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
- this.ClientSize = new System.Drawing.Size(1758, 935);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1755, 927);
|
|
|
+ this.Controls.Add(this.button_Ok);
|
|
|
this.Controls.Add(this.button_DelHole);
|
|
|
this.Controls.Add(this.groupBox3);
|
|
|
this.Controls.Add(this.button_Generate);
|
|
@@ -455,9 +475,9 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
this.Controls.Add(this.label1);
|
|
|
this.Controls.Add(this.m_ctrlStagePicture);
|
|
|
this.MaximizeBox = false;
|
|
|
- this.MaximumSize = new System.Drawing.Size(1780, 991);
|
|
|
+ this.MaximumSize = new System.Drawing.Size(1777, 983);
|
|
|
this.MinimizeBox = false;
|
|
|
- this.MinimumSize = new System.Drawing.Size(1780, 991);
|
|
|
+ this.MinimumSize = new System.Drawing.Size(1274, 678);
|
|
|
this.Name = "DlgStageEdit";
|
|
|
this.ShowIcon = false;
|
|
|
this.ShowInTaskbar = false;
|
|
@@ -507,7 +527,7 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
private System.Windows.Forms.TextBox tStandardsampleX;
|
|
|
private System.Windows.Forms.Label label12;
|
|
|
private System.Windows.Forms.Label label13;
|
|
|
- private System.Windows.Forms.RadioButton radioButton__StandardsampleSqare;
|
|
|
+ private System.Windows.Forms.RadioButton radioButton_StandardsampleSqare;
|
|
|
private System.Windows.Forms.RadioButton radioButton_StandardsampleCircle;
|
|
|
private System.Windows.Forms.Label label14;
|
|
|
private System.Windows.Forms.Button button_Generate;
|
|
@@ -515,5 +535,6 @@ namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage
|
|
|
private System.Windows.Forms.Button button_AddHole;
|
|
|
private System.Windows.Forms.Button button_DelHole;
|
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
|
+ private System.Windows.Forms.Button button_Ok;
|
|
|
}
|
|
|
}
|