|
@@ -64,9 +64,10 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
// cB_enable
|
|
|
//
|
|
|
this.cB_enable.AutoSize = true;
|
|
|
- this.cB_enable.Location = new System.Drawing.Point(15, 15);
|
|
|
+ this.cB_enable.Location = new System.Drawing.Point(11, 12);
|
|
|
+ this.cB_enable.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.cB_enable.Name = "cB_enable";
|
|
|
- this.cB_enable.Size = new System.Drawing.Size(165, 19);
|
|
|
+ this.cB_enable.Size = new System.Drawing.Size(126, 16);
|
|
|
this.cB_enable.TabIndex = 0;
|
|
|
this.cB_enable.Text = "Whether to enable";
|
|
|
this.cB_enable.UseVisualStyleBackColor = true;
|
|
@@ -74,42 +75,47 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
// label2
|
|
|
//
|
|
|
this.label2.AutoSize = true;
|
|
|
- this.label2.Location = new System.Drawing.Point(32, 40);
|
|
|
+ this.label2.Location = new System.Drawing.Point(24, 32);
|
|
|
+ this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label2.Name = "label2";
|
|
|
- this.label2.Size = new System.Drawing.Size(23, 15);
|
|
|
+ this.label2.Size = new System.Drawing.Size(17, 12);
|
|
|
this.label2.TabIndex = 2;
|
|
|
this.label2.Text = "X:";
|
|
|
//
|
|
|
// tB_FirstPointX
|
|
|
//
|
|
|
- this.tB_FirstPointX.Location = new System.Drawing.Point(68, 37);
|
|
|
+ this.tB_FirstPointX.Location = new System.Drawing.Point(51, 30);
|
|
|
+ this.tB_FirstPointX.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_FirstPointX.Name = "tB_FirstPointX";
|
|
|
this.tB_FirstPointX.ReadOnly = true;
|
|
|
- this.tB_FirstPointX.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.tB_FirstPointX.Size = new System.Drawing.Size(76, 21);
|
|
|
this.tB_FirstPointX.TabIndex = 3;
|
|
|
//
|
|
|
// label3
|
|
|
//
|
|
|
this.label3.AutoSize = true;
|
|
|
- this.label3.Location = new System.Drawing.Point(196, 40);
|
|
|
+ this.label3.Location = new System.Drawing.Point(147, 32);
|
|
|
+ this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label3.Name = "label3";
|
|
|
- this.label3.Size = new System.Drawing.Size(23, 15);
|
|
|
+ this.label3.Size = new System.Drawing.Size(17, 12);
|
|
|
this.label3.TabIndex = 4;
|
|
|
this.label3.Text = "Y:";
|
|
|
//
|
|
|
// tB_FirstPointY
|
|
|
//
|
|
|
- this.tB_FirstPointY.Location = new System.Drawing.Point(232, 37);
|
|
|
+ this.tB_FirstPointY.Location = new System.Drawing.Point(174, 30);
|
|
|
+ this.tB_FirstPointY.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_FirstPointY.Name = "tB_FirstPointY";
|
|
|
this.tB_FirstPointY.ReadOnly = true;
|
|
|
- this.tB_FirstPointY.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.tB_FirstPointY.Size = new System.Drawing.Size(76, 21);
|
|
|
this.tB_FirstPointY.TabIndex = 5;
|
|
|
//
|
|
|
// bn_FirstPoint
|
|
|
//
|
|
|
- this.bn_FirstPoint.Location = new System.Drawing.Point(647, 37);
|
|
|
+ this.bn_FirstPoint.Location = new System.Drawing.Point(485, 30);
|
|
|
+ this.bn_FirstPoint.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.bn_FirstPoint.Name = "bn_FirstPoint";
|
|
|
- this.bn_FirstPoint.Size = new System.Drawing.Size(96, 25);
|
|
|
+ this.bn_FirstPoint.Size = new System.Drawing.Size(72, 20);
|
|
|
this.bn_FirstPoint.TabIndex = 6;
|
|
|
this.bn_FirstPoint.Text = "obtain";
|
|
|
this.bn_FirstPoint.UseVisualStyleBackColor = true;
|
|
@@ -117,9 +123,10 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
//
|
|
|
// bn_SecondPoint
|
|
|
//
|
|
|
- this.bn_SecondPoint.Location = new System.Drawing.Point(647, 35);
|
|
|
+ this.bn_SecondPoint.Location = new System.Drawing.Point(485, 28);
|
|
|
+ this.bn_SecondPoint.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.bn_SecondPoint.Name = "bn_SecondPoint";
|
|
|
- this.bn_SecondPoint.Size = new System.Drawing.Size(96, 25);
|
|
|
+ this.bn_SecondPoint.Size = new System.Drawing.Size(72, 20);
|
|
|
this.bn_SecondPoint.TabIndex = 12;
|
|
|
this.bn_SecondPoint.Text = "obtain";
|
|
|
this.bn_SecondPoint.UseVisualStyleBackColor = true;
|
|
@@ -127,43 +134,48 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
//
|
|
|
// tB_SecondPointY
|
|
|
//
|
|
|
- this.tB_SecondPointY.Location = new System.Drawing.Point(232, 38);
|
|
|
+ this.tB_SecondPointY.Location = new System.Drawing.Point(174, 30);
|
|
|
+ this.tB_SecondPointY.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_SecondPointY.Name = "tB_SecondPointY";
|
|
|
this.tB_SecondPointY.ReadOnly = true;
|
|
|
- this.tB_SecondPointY.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.tB_SecondPointY.Size = new System.Drawing.Size(76, 21);
|
|
|
this.tB_SecondPointY.TabIndex = 11;
|
|
|
//
|
|
|
// label4
|
|
|
//
|
|
|
this.label4.AutoSize = true;
|
|
|
- this.label4.Location = new System.Drawing.Point(196, 42);
|
|
|
+ this.label4.Location = new System.Drawing.Point(147, 34);
|
|
|
+ this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label4.Name = "label4";
|
|
|
- this.label4.Size = new System.Drawing.Size(23, 15);
|
|
|
+ this.label4.Size = new System.Drawing.Size(17, 12);
|
|
|
this.label4.TabIndex = 10;
|
|
|
this.label4.Text = "Y:";
|
|
|
//
|
|
|
// tB_SecondPointX
|
|
|
//
|
|
|
- this.tB_SecondPointX.Location = new System.Drawing.Point(68, 38);
|
|
|
+ this.tB_SecondPointX.Location = new System.Drawing.Point(51, 30);
|
|
|
+ this.tB_SecondPointX.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_SecondPointX.Name = "tB_SecondPointX";
|
|
|
this.tB_SecondPointX.ReadOnly = true;
|
|
|
- this.tB_SecondPointX.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.tB_SecondPointX.Size = new System.Drawing.Size(76, 21);
|
|
|
this.tB_SecondPointX.TabIndex = 9;
|
|
|
//
|
|
|
// label5
|
|
|
//
|
|
|
this.label5.AutoSize = true;
|
|
|
- this.label5.Location = new System.Drawing.Point(32, 42);
|
|
|
+ this.label5.Location = new System.Drawing.Point(24, 34);
|
|
|
+ this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label5.Name = "label5";
|
|
|
- this.label5.Size = new System.Drawing.Size(23, 15);
|
|
|
+ this.label5.Size = new System.Drawing.Size(17, 12);
|
|
|
this.label5.TabIndex = 8;
|
|
|
this.label5.Text = "X:";
|
|
|
//
|
|
|
// bn_ThirdPoint
|
|
|
//
|
|
|
- this.bn_ThirdPoint.Location = new System.Drawing.Point(647, 37);
|
|
|
+ this.bn_ThirdPoint.Location = new System.Drawing.Point(485, 30);
|
|
|
+ this.bn_ThirdPoint.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.bn_ThirdPoint.Name = "bn_ThirdPoint";
|
|
|
- this.bn_ThirdPoint.Size = new System.Drawing.Size(96, 25);
|
|
|
+ this.bn_ThirdPoint.Size = new System.Drawing.Size(72, 20);
|
|
|
this.bn_ThirdPoint.TabIndex = 18;
|
|
|
this.bn_ThirdPoint.Text = "obtain";
|
|
|
this.bn_ThirdPoint.UseVisualStyleBackColor = true;
|
|
@@ -171,35 +183,39 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
//
|
|
|
// tB_ThirdPointY
|
|
|
//
|
|
|
- this.tB_ThirdPointY.Location = new System.Drawing.Point(232, 37);
|
|
|
+ this.tB_ThirdPointY.Location = new System.Drawing.Point(174, 30);
|
|
|
+ this.tB_ThirdPointY.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_ThirdPointY.Name = "tB_ThirdPointY";
|
|
|
this.tB_ThirdPointY.ReadOnly = true;
|
|
|
- this.tB_ThirdPointY.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.tB_ThirdPointY.Size = new System.Drawing.Size(76, 21);
|
|
|
this.tB_ThirdPointY.TabIndex = 17;
|
|
|
//
|
|
|
// label7
|
|
|
//
|
|
|
this.label7.AutoSize = true;
|
|
|
- this.label7.Location = new System.Drawing.Point(196, 40);
|
|
|
+ this.label7.Location = new System.Drawing.Point(147, 32);
|
|
|
+ this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label7.Name = "label7";
|
|
|
- this.label7.Size = new System.Drawing.Size(23, 15);
|
|
|
+ this.label7.Size = new System.Drawing.Size(17, 12);
|
|
|
this.label7.TabIndex = 16;
|
|
|
this.label7.Text = "Y:";
|
|
|
//
|
|
|
// tB_ThirdPointX
|
|
|
//
|
|
|
- this.tB_ThirdPointX.Location = new System.Drawing.Point(68, 37);
|
|
|
+ this.tB_ThirdPointX.Location = new System.Drawing.Point(51, 30);
|
|
|
+ this.tB_ThirdPointX.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_ThirdPointX.Name = "tB_ThirdPointX";
|
|
|
this.tB_ThirdPointX.ReadOnly = true;
|
|
|
- this.tB_ThirdPointX.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.tB_ThirdPointX.Size = new System.Drawing.Size(76, 21);
|
|
|
this.tB_ThirdPointX.TabIndex = 15;
|
|
|
//
|
|
|
// label9
|
|
|
//
|
|
|
this.label9.AutoSize = true;
|
|
|
- this.label9.Location = new System.Drawing.Point(32, 40);
|
|
|
+ this.label9.Location = new System.Drawing.Point(24, 32);
|
|
|
+ this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label9.Name = "label9";
|
|
|
- this.label9.Size = new System.Drawing.Size(23, 15);
|
|
|
+ this.label9.Size = new System.Drawing.Size(17, 12);
|
|
|
this.label9.TabIndex = 13;
|
|
|
this.label9.Text = "X:";
|
|
|
//
|
|
@@ -212,27 +228,31 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
this.groupBox1.Controls.Add(this.tB_FirstPointX);
|
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
|
this.groupBox1.Controls.Add(this.tB_FirstPointY);
|
|
|
- this.groupBox1.Location = new System.Drawing.Point(15, 59);
|
|
|
+ this.groupBox1.Location = new System.Drawing.Point(11, 47);
|
|
|
+ this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
- this.groupBox1.Size = new System.Drawing.Size(749, 89);
|
|
|
+ this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
|
|
|
+ this.groupBox1.Size = new System.Drawing.Size(562, 71);
|
|
|
this.groupBox1.TabIndex = 19;
|
|
|
this.groupBox1.TabStop = false;
|
|
|
this.groupBox1.Text = "FirstPoint";
|
|
|
//
|
|
|
// tB_FirstPointD
|
|
|
//
|
|
|
- this.tB_FirstPointD.Location = new System.Drawing.Point(504, 37);
|
|
|
+ this.tB_FirstPointD.Location = new System.Drawing.Point(378, 30);
|
|
|
+ this.tB_FirstPointD.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_FirstPointD.Name = "tB_FirstPointD";
|
|
|
this.tB_FirstPointD.ReadOnly = true;
|
|
|
- this.tB_FirstPointD.Size = new System.Drawing.Size(109, 25);
|
|
|
+ this.tB_FirstPointD.Size = new System.Drawing.Size(83, 21);
|
|
|
this.tB_FirstPointD.TabIndex = 8;
|
|
|
//
|
|
|
// label8
|
|
|
//
|
|
|
this.label8.AutoSize = true;
|
|
|
- this.label8.Location = new System.Drawing.Point(401, 40);
|
|
|
+ this.label8.Location = new System.Drawing.Point(301, 32);
|
|
|
+ this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label8.Name = "label8";
|
|
|
- this.label8.Size = new System.Drawing.Size(79, 15);
|
|
|
+ this.label8.Size = new System.Drawing.Size(59, 12);
|
|
|
this.label8.TabIndex = 7;
|
|
|
this.label8.Text = "Distance:";
|
|
|
//
|
|
@@ -245,27 +265,31 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
this.groupBox2.Controls.Add(this.tB_SecondPointX);
|
|
|
this.groupBox2.Controls.Add(this.label4);
|
|
|
this.groupBox2.Controls.Add(this.bn_SecondPoint);
|
|
|
- this.groupBox2.Location = new System.Drawing.Point(15, 181);
|
|
|
+ this.groupBox2.Location = new System.Drawing.Point(11, 145);
|
|
|
+ this.groupBox2.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.groupBox2.Name = "groupBox2";
|
|
|
- this.groupBox2.Size = new System.Drawing.Size(749, 95);
|
|
|
+ this.groupBox2.Padding = new System.Windows.Forms.Padding(2);
|
|
|
+ this.groupBox2.Size = new System.Drawing.Size(562, 76);
|
|
|
this.groupBox2.TabIndex = 7;
|
|
|
this.groupBox2.TabStop = false;
|
|
|
this.groupBox2.Text = "SecondPoint";
|
|
|
//
|
|
|
// tB_SecondPointD
|
|
|
//
|
|
|
- this.tB_SecondPointD.Location = new System.Drawing.Point(504, 38);
|
|
|
+ this.tB_SecondPointD.Location = new System.Drawing.Point(378, 30);
|
|
|
+ this.tB_SecondPointD.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_SecondPointD.Name = "tB_SecondPointD";
|
|
|
this.tB_SecondPointD.ReadOnly = true;
|
|
|
- this.tB_SecondPointD.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.tB_SecondPointD.Size = new System.Drawing.Size(76, 21);
|
|
|
this.tB_SecondPointD.TabIndex = 23;
|
|
|
//
|
|
|
// label6
|
|
|
//
|
|
|
this.label6.AutoSize = true;
|
|
|
- this.label6.Location = new System.Drawing.Point(401, 42);
|
|
|
+ this.label6.Location = new System.Drawing.Point(301, 34);
|
|
|
+ this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label6.Name = "label6";
|
|
|
- this.label6.Size = new System.Drawing.Size(79, 15);
|
|
|
+ this.label6.Size = new System.Drawing.Size(59, 12);
|
|
|
this.label6.TabIndex = 22;
|
|
|
this.label6.Text = "Distance:";
|
|
|
//
|
|
@@ -278,35 +302,40 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
this.groupBox3.Controls.Add(this.tB_ThirdPointX);
|
|
|
this.groupBox3.Controls.Add(this.tB_ThirdPointY);
|
|
|
this.groupBox3.Controls.Add(this.label7);
|
|
|
- this.groupBox3.Location = new System.Drawing.Point(15, 312);
|
|
|
+ this.groupBox3.Location = new System.Drawing.Point(11, 250);
|
|
|
+ this.groupBox3.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.groupBox3.Name = "groupBox3";
|
|
|
- this.groupBox3.Size = new System.Drawing.Size(749, 93);
|
|
|
+ this.groupBox3.Padding = new System.Windows.Forms.Padding(2);
|
|
|
+ this.groupBox3.Size = new System.Drawing.Size(562, 74);
|
|
|
this.groupBox3.TabIndex = 13;
|
|
|
this.groupBox3.TabStop = false;
|
|
|
this.groupBox3.Text = "ThirdPoint";
|
|
|
//
|
|
|
// tB_ThirdPointD
|
|
|
//
|
|
|
- this.tB_ThirdPointD.Location = new System.Drawing.Point(504, 37);
|
|
|
+ this.tB_ThirdPointD.Location = new System.Drawing.Point(378, 30);
|
|
|
+ this.tB_ThirdPointD.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.tB_ThirdPointD.Name = "tB_ThirdPointD";
|
|
|
this.tB_ThirdPointD.ReadOnly = true;
|
|
|
- this.tB_ThirdPointD.Size = new System.Drawing.Size(100, 25);
|
|
|
+ this.tB_ThirdPointD.Size = new System.Drawing.Size(76, 21);
|
|
|
this.tB_ThirdPointD.TabIndex = 22;
|
|
|
//
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
|
- this.label1.Location = new System.Drawing.Point(401, 40);
|
|
|
+ this.label1.Location = new System.Drawing.Point(301, 32);
|
|
|
+ this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label1.Name = "label1";
|
|
|
- this.label1.Size = new System.Drawing.Size(86, 15);
|
|
|
+ this.label1.Size = new System.Drawing.Size(65, 12);
|
|
|
this.label1.TabIndex = 21;
|
|
|
this.label1.Text = "DiStance:";
|
|
|
//
|
|
|
// bn_OK
|
|
|
//
|
|
|
- this.bn_OK.Location = new System.Drawing.Point(667, 428);
|
|
|
+ this.bn_OK.Location = new System.Drawing.Point(399, 340);
|
|
|
+ this.bn_OK.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.bn_OK.Name = "bn_OK";
|
|
|
- this.bn_OK.Size = new System.Drawing.Size(97, 32);
|
|
|
+ this.bn_OK.Size = new System.Drawing.Size(73, 26);
|
|
|
this.bn_OK.TabIndex = 20;
|
|
|
this.bn_OK.Text = "OK";
|
|
|
this.bn_OK.UseVisualStyleBackColor = true;
|
|
@@ -314,9 +343,10 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
//
|
|
|
// bn_Cancel
|
|
|
//
|
|
|
- this.bn_Cancel.Location = new System.Drawing.Point(537, 428);
|
|
|
+ this.bn_Cancel.Location = new System.Drawing.Point(496, 340);
|
|
|
+ this.bn_Cancel.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.bn_Cancel.Name = "bn_Cancel";
|
|
|
- this.bn_Cancel.Size = new System.Drawing.Size(91, 32);
|
|
|
+ this.bn_Cancel.Size = new System.Drawing.Size(68, 26);
|
|
|
this.bn_Cancel.TabIndex = 21;
|
|
|
this.bn_Cancel.Text = "Cancel";
|
|
|
this.bn_Cancel.UseVisualStyleBackColor = true;
|
|
@@ -324,20 +354,21 @@ namespace OTSMeasureApp._5_OTSMeasureStatuImageFun
|
|
|
//
|
|
|
// SlopFocus
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(772, 481);
|
|
|
+ this.ClientSize = new System.Drawing.Size(580, 391);
|
|
|
this.Controls.Add(this.bn_Cancel);
|
|
|
this.Controls.Add(this.bn_OK);
|
|
|
this.Controls.Add(this.groupBox3);
|
|
|
this.Controls.Add(this.groupBox2);
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
this.Controls.Add(this.cB_enable);
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.MaximizeBox = false;
|
|
|
- this.MaximumSize = new System.Drawing.Size(790, 528);
|
|
|
- this.MinimumSize = new System.Drawing.Size(790, 528);
|
|
|
+ this.MaximumSize = new System.Drawing.Size(596, 430);
|
|
|
+ this.MinimumSize = new System.Drawing.Size(596, 430);
|
|
|
this.Name = "SlopFocus";
|
|
|
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
this.Text = "SlopFocus";
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SlopFocus_FormClosing);
|
|
|
this.Load += new System.EventHandler(this.SlopFocus_Load);
|