weijw 5 місяців тому
батько
коміт
abe5acd1cf
1 змінених файлів з 16 додано та 14 видалено
  1. 16 14
      SettingForm.Designer.cs

+ 16 - 14
SettingForm.Designer.cs

@@ -64,7 +64,7 @@
             btnOK.Location = new Point(276, 486);
             btnOK.Name = "btnOK";
             btnOK.Size = new Size(75, 23);
-            btnOK.TabIndex = 9;
+            btnOK.TabIndex = 12;
             btnOK.Text = "确定";
             btnOK.UseVisualStyleBackColor = true;
             btnOK.Click += btnOK_Click;
@@ -75,7 +75,7 @@
             btnCancel.Location = new Point(357, 486);
             btnCancel.Name = "btnCancel";
             btnCancel.Size = new Size(75, 23);
-            btnCancel.TabIndex = 10;
+            btnCancel.TabIndex = 13;
             btnCancel.Text = "取消";
             btnCancel.UseVisualStyleBackColor = true;
             btnCancel.Click += btnCancel_Click;
@@ -88,7 +88,7 @@
             groupBox1.Location = new Point(12, 12);
             groupBox1.Name = "groupBox1";
             groupBox1.Size = new Size(420, 64);
-            groupBox1.TabIndex = 2;
+            groupBox1.TabIndex = 0;
             groupBox1.TabStop = false;
             groupBox1.Text = "平台";
             // 
@@ -98,7 +98,7 @@
             txtServer.Location = new Point(90, 22);
             txtServer.Name = "txtServer";
             txtServer.Size = new Size(303, 23);
-            txtServer.TabIndex = 0;
+            txtServer.TabIndex = 1;
             // 
             // label1
             // 
@@ -134,7 +134,7 @@
             label6.Location = new Point(131, 148);
             label6.Name = "label6";
             label6.Size = new Size(20, 17);
-            label6.TabIndex = 4;
+            label6.TabIndex = 7;
             label6.Text = "秒";
             // 
             // nudInterval
@@ -144,7 +144,7 @@
             nudInterval.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
             nudInterval.Name = "nudInterval";
             nudInterval.Size = new Size(40, 23);
-            nudInterval.TabIndex = 4;
+            nudInterval.TabIndex = 6;
             nudInterval.TextAlign = HorizontalAlignment.Right;
             nudInterval.Value = new decimal(new int[] { 2, 0, 0, 0 });
             // 
@@ -155,7 +155,7 @@
             cboPLCType.Location = new Point(90, 104);
             cboPLCType.Name = "cboPLCType";
             cboPLCType.Size = new Size(303, 25);
-            cboPLCType.TabIndex = 3;
+            cboPLCType.TabIndex = 5;
             // 
             // label4
             // 
@@ -181,7 +181,7 @@
             txtPLCPort.Location = new Point(90, 63);
             txtPLCPort.Name = "txtPLCPort";
             txtPLCPort.Size = new Size(303, 23);
-            txtPLCPort.TabIndex = 2;
+            txtPLCPort.TabIndex = 4;
             // 
             // label3
             // 
@@ -198,7 +198,7 @@
             txtPLCIP.Location = new Point(90, 22);
             txtPLCIP.Name = "txtPLCIP";
             txtPLCIP.Size = new Size(303, 23);
-            txtPLCIP.TabIndex = 1;
+            txtPLCIP.TabIndex = 3;
             // 
             // label2
             // 
@@ -223,7 +223,7 @@
             groupBox3.Location = new Point(12, 291);
             groupBox3.Name = "groupBox3";
             groupBox3.Size = new Size(420, 182);
-            groupBox3.TabIndex = 2;
+            groupBox3.TabIndex = 7;
             groupBox3.TabStop = false;
             groupBox3.Text = "摄像头";
             // 
@@ -251,7 +251,7 @@
             txtPassword.Location = new Point(90, 142);
             txtPassword.Name = "txtPassword";
             txtPassword.Size = new Size(303, 23);
-            txtPassword.TabIndex = 8;
+            txtPassword.TabIndex = 11;
             // 
             // txtUserName
             // 
@@ -259,7 +259,7 @@
             txtUserName.Location = new Point(90, 102);
             txtUserName.Name = "txtUserName";
             txtUserName.Size = new Size(303, 23);
-            txtUserName.TabIndex = 7;
+            txtUserName.TabIndex = 10;
             // 
             // txtCameraPort
             // 
@@ -267,7 +267,7 @@
             txtCameraPort.Location = new Point(90, 62);
             txtCameraPort.Name = "txtCameraPort";
             txtCameraPort.Size = new Size(303, 23);
-            txtCameraPort.TabIndex = 6;
+            txtCameraPort.TabIndex = 9;
             // 
             // label10
             // 
@@ -284,7 +284,7 @@
             txtCameraIP.Location = new Point(90, 22);
             txtCameraIP.Name = "txtCameraIP";
             txtCameraIP.Size = new Size(303, 23);
-            txtCameraIP.TabIndex = 5;
+            txtCameraIP.TabIndex = 8;
             // 
             // label11
             // 
@@ -297,8 +297,10 @@
             // 
             // SettingForm
             // 
+            AcceptButton = btnOK;
             AutoScaleDimensions = new SizeF(7F, 17F);
             AutoScaleMode = AutoScaleMode.Font;
+            CancelButton = btnCancel;
             ClientSize = new Size(444, 521);
             Controls.Add(groupBox3);
             Controls.Add(groupBox2);