Commit c5138f5c LN

界面调整

1 个父辈 9e076ac3
...@@ -38,7 +38,6 @@ namespace AccAOI ...@@ -38,7 +38,6 @@ namespace AccAOI
this.btnSavePro = new Asa.Theme.FlatButton(); this.btnSavePro = new Asa.Theme.FlatButton();
this.btnNewAoi = new Asa.Theme.FlatButton(); this.btnNewAoi = new Asa.Theme.FlatButton();
this.btnOpenImage = new Asa.Theme.FlatButton(); this.btnOpenImage = new Asa.Theme.FlatButton();
this.flatLabel1 = new Asa.Theme.FlatLabel();
this.cmbCameraList = new Asa.Theme.FlatCombo(); this.cmbCameraList = new Asa.Theme.FlatCombo();
this.btnGetCameraImg = new Asa.Theme.FlatButton(); this.btnGetCameraImg = new Asa.Theme.FlatButton();
this.comType = new Asa.Theme.FlatCombo(); this.comType = new Asa.Theme.FlatCombo();
...@@ -52,6 +51,8 @@ namespace AccAOI ...@@ -52,6 +51,8 @@ namespace AccAOI
this.testImageBox1 = new Acc.ImageBox.AccImageBox(); this.testImageBox1 = new Acc.ImageBox.AccImageBox();
this.imageBox1 = new Acc.ImageBox.AccImageBox(); this.imageBox1 = new Acc.ImageBox.AccImageBox();
this.btnUpdateName = new Asa.Theme.FlatButton(); this.btnUpdateName = new Asa.Theme.FlatButton();
this.btnLan = new Asa.Theme.FlatButton();
this.flatLabel1 = new Asa.Theme.FlatLabel();
this.SuspendLayout(); this.SuspendLayout();
// //
// aoiList // aoiList
...@@ -60,10 +61,10 @@ namespace AccAOI ...@@ -60,10 +61,10 @@ namespace AccAOI
| System.Windows.Forms.AnchorStyles.Left))); | System.Windows.Forms.AnchorStyles.Left)));
this.aoiList.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.aoiList.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.aoiList.Inside = false; this.aoiList.Inside = false;
this.aoiList.Location = new System.Drawing.Point(9, 153); this.aoiList.Location = new System.Drawing.Point(7, 142);
this.aoiList.Name = "aoiList"; this.aoiList.Name = "aoiList";
this.aoiList.SelectedIndex = -1; this.aoiList.SelectedIndex = -1;
this.aoiList.Size = new System.Drawing.Size(287, 477); this.aoiList.Size = new System.Drawing.Size(275, 491);
this.aoiList.TabIndex = 2; this.aoiList.TabIndex = 2;
this.aoiList.SelectedIndexChanged += new Asa.Theme.Event.SelectedIndexChanged(this.aoiList_IndexChanged); this.aoiList.SelectedIndexChanged += new Asa.Theme.Event.SelectedIndexChanged(this.aoiList_IndexChanged);
// //
...@@ -73,7 +74,7 @@ namespace AccAOI ...@@ -73,7 +74,7 @@ namespace AccAOI
this.btnOpenPro.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnOpenPro.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOpenPro.ImageSize = new System.Drawing.Size(0, 0); this.btnOpenPro.ImageSize = new System.Drawing.Size(0, 0);
this.btnOpenPro.Inside = false; this.btnOpenPro.Inside = false;
this.btnOpenPro.Location = new System.Drawing.Point(14, 40); this.btnOpenPro.Location = new System.Drawing.Point(7, 33);
this.btnOpenPro.Name = "btnOpenPro"; this.btnOpenPro.Name = "btnOpenPro";
this.btnOpenPro.Size = new System.Drawing.Size(137, 30); this.btnOpenPro.Size = new System.Drawing.Size(137, 30);
this.btnOpenPro.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnOpenPro.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
...@@ -87,7 +88,7 @@ namespace AccAOI ...@@ -87,7 +88,7 @@ namespace AccAOI
this.btnSavePro.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnSavePro.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSavePro.ImageSize = new System.Drawing.Size(0, 0); this.btnSavePro.ImageSize = new System.Drawing.Size(0, 0);
this.btnSavePro.Inside = false; this.btnSavePro.Inside = false;
this.btnSavePro.Location = new System.Drawing.Point(152, 40); this.btnSavePro.Location = new System.Drawing.Point(145, 33);
this.btnSavePro.Name = "btnSavePro"; this.btnSavePro.Name = "btnSavePro";
this.btnSavePro.Size = new System.Drawing.Size(137, 30); this.btnSavePro.Size = new System.Drawing.Size(137, 30);
this.btnSavePro.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnSavePro.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
...@@ -101,7 +102,7 @@ namespace AccAOI ...@@ -101,7 +102,7 @@ namespace AccAOI
this.btnNewAoi.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnNewAoi.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnNewAoi.ImageSize = new System.Drawing.Size(0, 0); this.btnNewAoi.ImageSize = new System.Drawing.Size(0, 0);
this.btnNewAoi.Inside = false; this.btnNewAoi.Inside = false;
this.btnNewAoi.Location = new System.Drawing.Point(152, 76); this.btnNewAoi.Location = new System.Drawing.Point(145, 69);
this.btnNewAoi.Name = "btnNewAoi"; this.btnNewAoi.Name = "btnNewAoi";
this.btnNewAoi.Size = new System.Drawing.Size(137, 30); this.btnNewAoi.Size = new System.Drawing.Size(137, 30);
this.btnNewAoi.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnNewAoi.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
...@@ -115,7 +116,7 @@ namespace AccAOI ...@@ -115,7 +116,7 @@ namespace AccAOI
this.btnOpenImage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnOpenImage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOpenImage.ImageSize = new System.Drawing.Size(0, 0); this.btnOpenImage.ImageSize = new System.Drawing.Size(0, 0);
this.btnOpenImage.Inside = false; this.btnOpenImage.Inside = false;
this.btnOpenImage.Location = new System.Drawing.Point(1205, 40); this.btnOpenImage.Location = new System.Drawing.Point(1083, 33);
this.btnOpenImage.Name = "btnOpenImage"; this.btnOpenImage.Name = "btnOpenImage";
this.btnOpenImage.Size = new System.Drawing.Size(162, 30); this.btnOpenImage.Size = new System.Drawing.Size(162, 30);
this.btnOpenImage.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnOpenImage.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
...@@ -123,23 +124,12 @@ namespace AccAOI ...@@ -123,23 +124,12 @@ namespace AccAOI
this.btnOpenImage.Text = "选择基准图片"; this.btnOpenImage.Text = "选择基准图片";
this.btnOpenImage.Click += new System.EventHandler(this.btnOpenImage_Click); this.btnOpenImage.Click += new System.EventHandler(this.btnOpenImage_Click);
// //
// flatLabel1
//
this.flatLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.flatLabel1.Inside = false;
this.flatLabel1.Location = new System.Drawing.Point(622, 40);
this.flatLabel1.Name = "flatLabel1";
this.flatLabel1.Size = new System.Drawing.Size(110, 30);
this.flatLabel1.TabIndex = 11;
this.flatLabel1.Text = "相机列表";
//
// cmbCameraList // cmbCameraList
// //
this.cmbCameraList.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.cmbCameraList.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.cmbCameraList.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbCameraList.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbCameraList.Inside = false; this.cmbCameraList.Inside = false;
this.cmbCameraList.Location = new System.Drawing.Point(734, 40); this.cmbCameraList.Location = new System.Drawing.Point(616, 33);
this.cmbCameraList.Name = "cmbCameraList"; this.cmbCameraList.Name = "cmbCameraList";
this.cmbCameraList.SelectedIndex = 0; this.cmbCameraList.SelectedIndex = 0;
this.cmbCameraList.Size = new System.Drawing.Size(300, 30); this.cmbCameraList.Size = new System.Drawing.Size(300, 30);
...@@ -151,7 +141,7 @@ namespace AccAOI ...@@ -151,7 +141,7 @@ namespace AccAOI
this.btnGetCameraImg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnGetCameraImg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnGetCameraImg.ImageSize = new System.Drawing.Size(0, 0); this.btnGetCameraImg.ImageSize = new System.Drawing.Size(0, 0);
this.btnGetCameraImg.Inside = false; this.btnGetCameraImg.Inside = false;
this.btnGetCameraImg.Location = new System.Drawing.Point(1037, 40); this.btnGetCameraImg.Location = new System.Drawing.Point(918, 33);
this.btnGetCameraImg.Name = "btnGetCameraImg"; this.btnGetCameraImg.Name = "btnGetCameraImg";
this.btnGetCameraImg.Size = new System.Drawing.Size(162, 30); this.btnGetCameraImg.Size = new System.Drawing.Size(162, 30);
this.btnGetCameraImg.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnGetCameraImg.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
...@@ -164,7 +154,7 @@ namespace AccAOI ...@@ -164,7 +154,7 @@ namespace AccAOI
this.comType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.comType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.comType.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.comType.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.comType.Inside = false; this.comType.Inside = false;
this.comType.Location = new System.Drawing.Point(14, 76); this.comType.Location = new System.Drawing.Point(7, 69);
this.comType.Name = "comType"; this.comType.Name = "comType";
this.comType.SelectedIndex = 0; this.comType.SelectedIndex = 0;
this.comType.Size = new System.Drawing.Size(137, 30); this.comType.Size = new System.Drawing.Size(137, 30);
...@@ -175,9 +165,9 @@ namespace AccAOI ...@@ -175,9 +165,9 @@ namespace AccAOI
this.panAoi.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.panAoi.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left))); | System.Windows.Forms.AnchorStyles.Left)));
this.panAoi.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.panAoi.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.panAoi.Location = new System.Drawing.Point(302, 40); this.panAoi.Location = new System.Drawing.Point(288, 33);
this.panAoi.Name = "panAoi"; this.panAoi.Name = "panAoi";
this.panAoi.Size = new System.Drawing.Size(317, 592); this.panAoi.Size = new System.Drawing.Size(317, 599);
this.panAoi.TabIndex = 15; this.panAoi.TabIndex = 15;
// //
// btnExcute // btnExcute
...@@ -186,9 +176,9 @@ namespace AccAOI ...@@ -186,9 +176,9 @@ namespace AccAOI
this.btnExcute.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnExcute.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnExcute.ImageSize = new System.Drawing.Size(0, 0); this.btnExcute.ImageSize = new System.Drawing.Size(0, 0);
this.btnExcute.Inside = false; this.btnExcute.Inside = false;
this.btnExcute.Location = new System.Drawing.Point(1296, 76); this.btnExcute.Location = new System.Drawing.Point(754, 69);
this.btnExcute.Name = "btnExcute"; this.btnExcute.Name = "btnExcute";
this.btnExcute.Size = new System.Drawing.Size(128, 30); this.btnExcute.Size = new System.Drawing.Size(162, 30);
this.btnExcute.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnExcute.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.btnExcute.TabIndex = 16; this.btnExcute.TabIndex = 16;
this.btnExcute.Text = "执行"; this.btnExcute.Text = "执行";
...@@ -200,7 +190,7 @@ namespace AccAOI ...@@ -200,7 +190,7 @@ namespace AccAOI
this.btnDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnDel.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDel.ImageSize = new System.Drawing.Size(0, 0); this.btnDel.ImageSize = new System.Drawing.Size(0, 0);
this.btnDel.Inside = false; this.btnDel.Inside = false;
this.btnDel.Location = new System.Drawing.Point(14, 112); this.btnDel.Location = new System.Drawing.Point(7, 105);
this.btnDel.Name = "btnDel"; this.btnDel.Name = "btnDel";
this.btnDel.Size = new System.Drawing.Size(137, 30); this.btnDel.Size = new System.Drawing.Size(137, 30);
this.btnDel.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnDel.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
...@@ -214,9 +204,9 @@ namespace AccAOI ...@@ -214,9 +204,9 @@ namespace AccAOI
this.btnImageChange.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnImageChange.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnImageChange.ImageSize = new System.Drawing.Size(0, 0); this.btnImageChange.ImageSize = new System.Drawing.Size(0, 0);
this.btnImageChange.Inside = false; this.btnImageChange.Inside = false;
this.btnImageChange.Location = new System.Drawing.Point(880, 76); this.btnImageChange.Location = new System.Drawing.Point(918, 104);
this.btnImageChange.Name = "btnImageChange"; this.btnImageChange.Name = "btnImageChange";
this.btnImageChange.Size = new System.Drawing.Size(154, 30); this.btnImageChange.Size = new System.Drawing.Size(162, 30);
this.btnImageChange.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnImageChange.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.btnImageChange.TabIndex = 18; this.btnImageChange.TabIndex = 18;
this.btnImageChange.Text = "切换为测试图片"; this.btnImageChange.Text = "切换为测试图片";
...@@ -228,9 +218,9 @@ namespace AccAOI ...@@ -228,9 +218,9 @@ namespace AccAOI
this.flatButton1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.flatButton1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.flatButton1.ImageSize = new System.Drawing.Size(0, 0); this.flatButton1.ImageSize = new System.Drawing.Size(0, 0);
this.flatButton1.Inside = false; this.flatButton1.Inside = false;
this.flatButton1.Location = new System.Drawing.Point(1036, 76); this.flatButton1.Location = new System.Drawing.Point(918, 69);
this.flatButton1.Name = "flatButton1"; this.flatButton1.Name = "flatButton1";
this.flatButton1.Size = new System.Drawing.Size(128, 30); this.flatButton1.Size = new System.Drawing.Size(162, 30);
this.flatButton1.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatButton1.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatButton1.TabIndex = 20; this.flatButton1.TabIndex = 20;
this.flatButton1.Text = "获取测试图片"; this.flatButton1.Text = "获取测试图片";
...@@ -242,9 +232,9 @@ namespace AccAOI ...@@ -242,9 +232,9 @@ namespace AccAOI
this.flatButton2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.flatButton2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.flatButton2.ImageSize = new System.Drawing.Size(0, 0); this.flatButton2.ImageSize = new System.Drawing.Size(0, 0);
this.flatButton2.Inside = false; this.flatButton2.Inside = false;
this.flatButton2.Location = new System.Drawing.Point(1166, 76); this.flatButton2.Location = new System.Drawing.Point(1083, 69);
this.flatButton2.Name = "flatButton2"; this.flatButton2.Name = "flatButton2";
this.flatButton2.Size = new System.Drawing.Size(128, 30); this.flatButton2.Size = new System.Drawing.Size(162, 30);
this.flatButton2.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatButton2.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatButton2.TabIndex = 19; this.flatButton2.TabIndex = 19;
this.flatButton2.Text = "选择测试图片"; this.flatButton2.Text = "选择测试图片";
...@@ -255,11 +245,12 @@ namespace AccAOI ...@@ -255,11 +245,12 @@ namespace AccAOI
this.lblCurrImage.AutoSize = true; this.lblCurrImage.AutoSize = true;
this.lblCurrImage.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblCurrImage.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblCurrImage.ForeColor = System.Drawing.Color.LawnGreen; this.lblCurrImage.ForeColor = System.Drawing.Color.LawnGreen;
this.lblCurrImage.Location = new System.Drawing.Point(646, 81); this.lblCurrImage.Location = new System.Drawing.Point(612, 108);
this.lblCurrImage.Name = "lblCurrImage"; this.lblCurrImage.Name = "lblCurrImage";
this.lblCurrImage.Size = new System.Drawing.Size(74, 22); this.lblCurrImage.Size = new System.Drawing.Size(74, 22);
this.lblCurrImage.TabIndex = 22; this.lblCurrImage.TabIndex = 22;
this.lblCurrImage.Text = "基准图:"; this.lblCurrImage.Text = "基准图:";
this.lblCurrImage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lblCurrImage.Click += new System.EventHandler(this.lblCurrImage_Click); this.lblCurrImage.Click += new System.EventHandler(this.lblCurrImage_Click);
// //
// testImageBox1 // testImageBox1
...@@ -269,10 +260,10 @@ namespace AccAOI ...@@ -269,10 +260,10 @@ namespace AccAOI
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.testImageBox1.BackColor = System.Drawing.Color.Silver; this.testImageBox1.BackColor = System.Drawing.Color.Silver;
this.testImageBox1.DragHandleSize = 9; this.testImageBox1.DragHandleSize = 9;
this.testImageBox1.Location = new System.Drawing.Point(668, 101); this.testImageBox1.Location = new System.Drawing.Point(668, 245);
this.testImageBox1.Name = "testImageBox1"; this.testImageBox1.Name = "testImageBox1";
this.testImageBox1.SelectionColor = System.Drawing.Color.Blue; this.testImageBox1.SelectionColor = System.Drawing.Color.Blue;
this.testImageBox1.Size = new System.Drawing.Size(725, 421); this.testImageBox1.Size = new System.Drawing.Size(542, 270);
this.testImageBox1.TabIndex = 21; this.testImageBox1.TabIndex = 21;
this.testImageBox1.Visible = false; this.testImageBox1.Visible = false;
// //
...@@ -282,11 +273,11 @@ namespace AccAOI ...@@ -282,11 +273,11 @@ namespace AccAOI
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.imageBox1.DragHandleSize = 9; this.imageBox1.DragHandleSize = 9;
this.imageBox1.Location = new System.Drawing.Point(625, 115); this.imageBox1.Location = new System.Drawing.Point(610, 140);
this.imageBox1.Name = "imageBox1"; this.imageBox1.Name = "imageBox1";
this.imageBox1.SelectionColor = System.Drawing.Color.Blue; this.imageBox1.SelectionColor = System.Drawing.Color.Blue;
this.imageBox1.SelectionMode = Acc.ImageBox.ImageBoxSelectionMode.Rectangle; this.imageBox1.SelectionMode = Acc.ImageBox.ImageBoxSelectionMode.Rectangle;
this.imageBox1.Size = new System.Drawing.Size(801, 517); this.imageBox1.Size = new System.Drawing.Size(635, 493);
this.imageBox1.TabIndex = 4; this.imageBox1.TabIndex = 4;
this.imageBox1.SelectionRegionChanged += new System.EventHandler(this.imageBox1_SelectionRegionChanged); this.imageBox1.SelectionRegionChanged += new System.EventHandler(this.imageBox1_SelectionRegionChanged);
// //
...@@ -296,7 +287,7 @@ namespace AccAOI ...@@ -296,7 +287,7 @@ namespace AccAOI
this.btnUpdateName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnUpdateName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnUpdateName.ImageSize = new System.Drawing.Size(0, 0); this.btnUpdateName.ImageSize = new System.Drawing.Size(0, 0);
this.btnUpdateName.Inside = false; this.btnUpdateName.Inside = false;
this.btnUpdateName.Location = new System.Drawing.Point(152, 112); this.btnUpdateName.Location = new System.Drawing.Point(145, 105);
this.btnUpdateName.Name = "btnUpdateName"; this.btnUpdateName.Name = "btnUpdateName";
this.btnUpdateName.Size = new System.Drawing.Size(137, 30); this.btnUpdateName.Size = new System.Drawing.Size(137, 30);
this.btnUpdateName.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnUpdateName.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
...@@ -304,10 +295,37 @@ namespace AccAOI ...@@ -304,10 +295,37 @@ namespace AccAOI
this.btnUpdateName.Text = "修改"; this.btnUpdateName.Text = "修改";
this.btnUpdateName.Click += new System.EventHandler(this.btnUpdateName_Click); this.btnUpdateName.Click += new System.EventHandler(this.btnUpdateName_Click);
// //
// btnLan
//
this.btnLan.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.btnLan.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnLan.ImageSize = new System.Drawing.Size(0, 0);
this.btnLan.Inside = false;
this.btnLan.Location = new System.Drawing.Point(1083, 105);
this.btnLan.Name = "btnLan";
this.btnLan.Size = new System.Drawing.Size(162, 30);
this.btnLan.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.btnLan.TabIndex = 24;
this.btnLan.Text = "英文";
this.btnLan.Click += new System.EventHandler(this.btnLan_Click);
//
// flatLabel1
//
this.flatLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.flatLabel1.Inside = false;
this.flatLabel1.Location = new System.Drawing.Point(616, 33);
this.flatLabel1.Name = "flatLabel1";
this.flatLabel1.Size = new System.Drawing.Size(78, 30);
this.flatLabel1.TabIndex = 11;
this.flatLabel1.Text = "相机:";
this.flatLabel1.Visible = false;
//
// FrmAoiSetting // FrmAoiSetting
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1435, 641); this.ClientSize = new System.Drawing.Size(1252, 641);
this.Controls.Add(this.btnLan);
this.Controls.Add(this.btnUpdateName); this.Controls.Add(this.btnUpdateName);
this.Controls.Add(this.lblCurrImage); this.Controls.Add(this.lblCurrImage);
this.Controls.Add(this.testImageBox1); this.Controls.Add(this.testImageBox1);
...@@ -345,8 +363,6 @@ namespace AccAOI ...@@ -345,8 +363,6 @@ namespace AccAOI
private Asa.Theme.FlatButton btnSavePro; private Asa.Theme.FlatButton btnSavePro;
private Asa.Theme.FlatButton btnNewAoi; private Asa.Theme.FlatButton btnNewAoi;
private Asa.Theme.FlatButton btnOpenImage; private Asa.Theme.FlatButton btnOpenImage;
private Asa.Theme.FlatLabel flatLabel1;
private Asa.Theme.FlatCombo cmbCameraList; private Asa.Theme.FlatCombo cmbCameraList;
private Asa.Theme.FlatButton btnGetCameraImg; private Asa.Theme.FlatButton btnGetCameraImg;
private Asa.Theme.FlatCombo comType; private Asa.Theme.FlatCombo comType;
...@@ -359,5 +375,7 @@ namespace AccAOI ...@@ -359,5 +375,7 @@ namespace AccAOI
private AccImageBox testImageBox1; private AccImageBox testImageBox1;
private System.Windows.Forms.Label lblCurrImage; private System.Windows.Forms.Label lblCurrImage;
private Asa.Theme.FlatButton btnUpdateName; private Asa.Theme.FlatButton btnUpdateName;
private Asa.Theme.FlatButton btnLan;
private Asa.Theme.FlatLabel flatLabel1;
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -60,11 +60,7 @@ namespace AccAOI ...@@ -60,11 +60,7 @@ namespace AccAOI
} }
private void FrmAoiSetting_Load(object sender, EventArgs e) private void FrmAoiSetting_Load(object sender, EventArgs e)
{ {
comType.ItemAdd(ControlType.Mark); LoadTypes();
comType.ItemAdd(ControlType.AOIBlob);
comType.ItemAdd(ControlType.AOIRGB);
comType.ItemAdd(ControlType.Match);
comType.Text = ControlType.Mark;
//string defaultImg = "F:\\电路板图片\\照片 2创建于2019年4月19日 11_34_53.jpg"; //string defaultImg = "F:\\电路板图片\\照片 2创建于2019年4月19日 11_34_53.jpg";
//if (System.IO.File.Exists(defaultImg)) //if (System.IO.File.Exists(defaultImg))
//{ //{
...@@ -90,6 +86,16 @@ namespace AccAOI ...@@ -90,6 +86,16 @@ namespace AccAOI
} }
} }
private void LoadTypes()
{
comType.Clear();
comType.ItemAdd(ControlType.Mark);
comType.ItemAdd(ControlType.AOIBlob);
comType.ItemAdd(ControlType.AOIRGB);
comType.ItemAdd(ControlType.Match);
comType.Text = ControlType.Mark;
}
private void btnOpenImage_Click(object sender, EventArgs e) private void btnOpenImage_Click(object sender, EventArgs e)
{ {
System.Windows.Forms.OpenFileDialog openDialog = new System.Windows.Forms.OpenFileDialog(); System.Windows.Forms.OpenFileDialog openDialog = new System.Windows.Forms.OpenFileDialog();
...@@ -699,5 +705,36 @@ namespace AccAOI ...@@ -699,5 +705,36 @@ namespace AccAOI
MessageBox.Show(ex.ToString()); MessageBox.Show(ex.ToString());
} }
} }
private void btnLan_Click(object sender, EventArgs e)
{
if (AOIResourceCulture.CurrLanguage.Equals(AOIResourceCulture.China))
{
AOIResourceCulture.SetCurrentCulture(AOIResourceCulture.English);
}
else
{
AOIResourceCulture.SetCurrentCulture(AOIResourceCulture.China);
}
LanguageProcess();
LanguagePro();
if (aoiControl != null)
{
aoiControl.LanguageProcess();
aoiControl.LanguagePro();
}
}
public override void LanguagePro()
{
if (AOIResourceCulture.CurrLanguage.Equals(AOIResourceCulture.China))
{
btnLan.Text = AOIResourceCulture.GetValue("英文");
}
else
{
btnLan.Text = AOIResourceCulture.GetValue("中文");
}
LoadTypes();
}
} }
} }
...@@ -7,11 +7,11 @@ FrmAoiSetting_btnImageChange_Text=Switch to test Image ...@@ -7,11 +7,11 @@ FrmAoiSetting_btnImageChange_Text=Switch to test Image
FrmAoiSetting_btnDel_Text=Delete FrmAoiSetting_btnDel_Text=Delete
FrmAoiSetting_btnExcute_Text=Execute FrmAoiSetting_btnExcute_Text=Execute
FrmAoiSetting_btnGetCameraImg_Text=Get standard Image FrmAoiSetting_btnGetCameraImg_Text=Get standard Image
FrmAoiSetting_flatLabel1_Text=The camera list FrmAoiSetting_flatLabel1_Text=Cameras:
FrmAoiSetting_btnOpenImage_Text=Select reference picture FrmAoiSetting_btnOpenImage_Text=Select reference picture
FrmAoiSetting_btnNewAoi_Text=New FrmAoiSetting_btnNewAoi_Text=New
FrmAoiSetting_btnSavePro_Text=Save the project FrmAoiSetting_btnSavePro_Text=Save project
FrmAoiSetting_btnOpenPro_Text=Open the project FrmAoiSetting_btnOpenPro_Text=Open project
AioMarkControl_btnClearArea_Text=Clear AioMarkControl_btnClearArea_Text=Clear
AioMarkControl_panResult_Text=result judgment AioMarkControl_panResult_Text=result judgment
AioMarkControl_panParam_Text=parameter setting AioMarkControl_panParam_Text=parameter setting
...@@ -108,3 +108,5 @@ FrmMethodName_btnCancel_Text=Cancel ...@@ -108,3 +108,5 @@ FrmMethodName_btnCancel_Text=Cancel
椭圆=ellipse 椭圆=ellipse
参数设置=parameter setting 参数设置=parameter setting
结果判断=result judgment 结果判断=result judgment
中文=Chinese
英文=English
\ No newline at end of file \ No newline at end of file
...@@ -7,7 +7,7 @@ FrmAoiSetting_btnImageChange_Text=切换为测试图片 ...@@ -7,7 +7,7 @@ FrmAoiSetting_btnImageChange_Text=切换为测试图片
FrmAoiSetting_btnDel_Text=删除 FrmAoiSetting_btnDel_Text=删除
FrmAoiSetting_btnExcute_Text=执行 FrmAoiSetting_btnExcute_Text=执行
FrmAoiSetting_btnGetCameraImg_Text=获取基准图片 FrmAoiSetting_btnGetCameraImg_Text=获取基准图片
FrmAoiSetting_flatLabel1_Text=相机列表 FrmAoiSetting_flatLabel1_Text=相机:
FrmAoiSetting_btnOpenImage_Text=选择基准图片 FrmAoiSetting_btnOpenImage_Text=选择基准图片
FrmAoiSetting_btnNewAoi_Text=新增 FrmAoiSetting_btnNewAoi_Text=新增
FrmAoiSetting_btnSavePro_Text=保存项目 FrmAoiSetting_btnSavePro_Text=保存项目
...@@ -108,3 +108,5 @@ FrmMethodName_btnCancel_Text=取消 ...@@ -108,3 +108,5 @@ FrmMethodName_btnCancel_Text=取消
椭圆=椭圆 椭圆=椭圆
参数设置=参数设置 参数设置=参数设置
结果判断=结果判断 结果判断=结果判断
中文=中文
英文=英文
\ No newline at end of file \ No newline at end of file
...@@ -81,7 +81,7 @@ namespace AccAOI.control ...@@ -81,7 +81,7 @@ namespace AccAOI.control
this.panResult.Location = new System.Drawing.Point(4, 491); this.panResult.Location = new System.Drawing.Point(4, 491);
this.panResult.Name = "panResult"; this.panResult.Name = "panResult";
this.panResult.Padding = new System.Windows.Forms.Padding(6, 30, 6, 6); this.panResult.Padding = new System.Windows.Forms.Padding(6, 30, 6, 6);
this.panResult.Size = new System.Drawing.Size(298, 330); this.panResult.Size = new System.Drawing.Size(298, 335);
this.panResult.TabIndex = 5; this.panResult.TabIndex = 5;
this.panResult.Text = "结果判断"; this.panResult.Text = "结果判断";
// //
...@@ -146,7 +146,7 @@ namespace AccAOI.control ...@@ -146,7 +146,7 @@ namespace AccAOI.control
this.panControl.Location = new System.Drawing.Point(0, 0); this.panControl.Location = new System.Drawing.Point(0, 0);
this.panControl.Name = "panControl"; this.panControl.Name = "panControl";
this.panControl.Padding = new System.Windows.Forms.Padding(6, 30, 6, 6); this.panControl.Padding = new System.Windows.Forms.Padding(6, 30, 6, 6);
this.panControl.Size = new System.Drawing.Size(309, 829); this.panControl.Size = new System.Drawing.Size(310, 831);
this.panControl.TabIndex = 0; this.panControl.TabIndex = 0;
this.panControl.Text = "斑点分析"; this.panControl.Text = "斑点分析";
// //
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
this.panResult.Controls.Add(this.btnOpenImage); this.panResult.Controls.Add(this.btnOpenImage);
this.panResult.Controls.Add(this.btnTest); this.panResult.Controls.Add(this.btnTest);
this.panResult.Controls.Add(this.lblResult); this.panResult.Controls.Add(this.lblResult);
this.panResult.Size = new System.Drawing.Size(298, 333);
// //
// flatLabel1 // flatLabel1
// //
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
this.panParam.Controls.Add(this.txtSamePercent); this.panParam.Controls.Add(this.txtSamePercent);
this.panParam.Controls.Add(this.trackBarSamePercent); this.panParam.Controls.Add(this.trackBarSamePercent);
this.panParam.Controls.Add(this.flatLabel3); this.panParam.Controls.Add(this.flatLabel3);
this.panParam.Size = new System.Drawing.Size(298, 88);
// //
// panResult // panResult
// //
...@@ -54,6 +55,8 @@ ...@@ -54,6 +55,8 @@
this.panResult.Controls.Add(this.btnOpenImage); this.panResult.Controls.Add(this.btnOpenImage);
this.panResult.Controls.Add(this.btnTest); this.panResult.Controls.Add(this.btnTest);
this.panResult.Controls.Add(this.lblResult); this.panResult.Controls.Add(this.lblResult);
this.panResult.Location = new System.Drawing.Point(4, 413);
this.panResult.Size = new System.Drawing.Size(298, 410);
// //
// lblResult // lblResult
// //
......
...@@ -51,16 +51,15 @@ ...@@ -51,16 +51,15 @@
// //
// panParam // panParam
// //
this.panParam.Location = new System.Drawing.Point(2, 319); this.panParam.Size = new System.Drawing.Size(298, 128);
this.panParam.Size = new System.Drawing.Size(302, 128);
// //
// panResult // panResult
// //
this.panResult.Controls.Add(this.lblList); this.panResult.Controls.Add(this.lblList);
this.panResult.Controls.Add(this.txtNumResult); this.panResult.Controls.Add(this.txtNumResult);
this.panResult.Controls.Add(this.btnUpdate); this.panResult.Controls.Add(this.btnUpdate);
this.panResult.Location = new System.Drawing.Point(2, 450); this.panResult.Location = new System.Drawing.Point(4, 450);
this.panResult.Size = new System.Drawing.Size(302, 370); this.panResult.Size = new System.Drawing.Size(298, 373);
// //
// flatLabel1 // flatLabel1
// //
...@@ -258,7 +257,7 @@ ...@@ -258,7 +257,7 @@
this.lblList.ForeColor = System.Drawing.Color.White; this.lblList.ForeColor = System.Drawing.Color.White;
this.lblList.Location = new System.Drawing.Point(6, 166); this.lblList.Location = new System.Drawing.Point(6, 166);
this.lblList.Name = "lblList"; this.lblList.Name = "lblList";
this.lblList.Size = new System.Drawing.Size(284, 198); this.lblList.Size = new System.Drawing.Size(280, 201);
this.lblList.TabIndex = 0; this.lblList.TabIndex = 0;
this.lblList.Text = "面积列表:"; this.lblList.Text = "面积列表:";
// //
......
...@@ -56,6 +56,7 @@ namespace AccAOI.control ...@@ -56,6 +56,7 @@ namespace AccAOI.control
this.tbMaxB = new System.Windows.Forms.TrackBar(); this.tbMaxB = new System.Windows.Forms.TrackBar();
this.tbMinB = new System.Windows.Forms.TrackBar(); this.tbMinB = new System.Windows.Forms.TrackBar();
this.panParam.SuspendLayout(); this.panParam.SuspendLayout();
this.panResult.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tbMinR)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMinR)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbMaxR)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMaxR)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbMaxG)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMaxG)).BeginInit();
...@@ -66,7 +67,6 @@ namespace AccAOI.control ...@@ -66,7 +67,6 @@ namespace AccAOI.control
// //
// panParam // panParam
// //
this.panParam.Controls.Add(this.tbMaxB);
this.panParam.Controls.Add(this.tbMinB); this.panParam.Controls.Add(this.tbMinB);
this.panParam.Controls.Add(this.tbMaxG); this.panParam.Controls.Add(this.tbMaxG);
this.panParam.Controls.Add(this.tbMinG); this.panParam.Controls.Add(this.tbMinG);
...@@ -83,19 +83,24 @@ namespace AccAOI.control ...@@ -83,19 +83,24 @@ namespace AccAOI.control
this.panParam.Controls.Add(this.flatLabel4); this.panParam.Controls.Add(this.flatLabel4);
this.panParam.Controls.Add(this.flatLabel8); this.panParam.Controls.Add(this.flatLabel8);
this.panParam.Controls.Add(this.txtMinG); this.panParam.Controls.Add(this.txtMinG);
this.panParam.Size = new System.Drawing.Size(298, 363); this.panParam.Controls.Add(this.tbMaxB);
this.panParam.Location = new System.Drawing.Point(4, 317);
this.panParam.Size = new System.Drawing.Size(298, 325);
// //
// panResult // panResult
// //
this.panResult.Location = new System.Drawing.Point(4, 688); this.panResult.Controls.Add(this.btnUpdate);
this.panResult.Size = new System.Drawing.Size(298, 131); this.panResult.Controls.Add(this.flatLabel9);
this.panResult.Controls.Add(this.txtRate);
this.panResult.Location = new System.Drawing.Point(4, 646);
this.panResult.Size = new System.Drawing.Size(298, 183);
// //
// flatLabel5 // flatLabel5
// //
this.flatLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel5.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel5.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel5.Inside = false; this.flatLabel5.Inside = false;
this.flatLabel5.Location = new System.Drawing.Point(210, 732); this.flatLabel5.Location = new System.Drawing.Point(210, 685);
this.flatLabel5.Name = "flatLabel5"; this.flatLabel5.Name = "flatLabel5";
this.flatLabel5.Size = new System.Drawing.Size(18, 25); this.flatLabel5.Size = new System.Drawing.Size(18, 25);
this.flatLabel5.TabIndex = 23; this.flatLabel5.TabIndex = 23;
...@@ -106,7 +111,7 @@ namespace AccAOI.control ...@@ -106,7 +111,7 @@ namespace AccAOI.control
this.txtmaxRate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.txtmaxRate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.txtmaxRate.Font = new System.Drawing.Font("宋体", 9F); this.txtmaxRate.Font = new System.Drawing.Font("宋体", 9F);
this.txtmaxRate.Inside = false; this.txtmaxRate.Inside = false;
this.txtmaxRate.Location = new System.Drawing.Point(228, 724); this.txtmaxRate.Location = new System.Drawing.Point(228, 677);
this.txtmaxRate.Name = "txtmaxRate"; this.txtmaxRate.Name = "txtmaxRate";
this.txtmaxRate.Padding = new System.Windows.Forms.Padding(3); this.txtmaxRate.Padding = new System.Windows.Forms.Padding(3);
this.txtmaxRate.Size = new System.Drawing.Size(67, 30); this.txtmaxRate.Size = new System.Drawing.Size(67, 30);
...@@ -117,7 +122,7 @@ namespace AccAOI.control ...@@ -117,7 +122,7 @@ namespace AccAOI.control
this.txtminRate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.txtminRate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.txtminRate.Font = new System.Drawing.Font("宋体", 9F); this.txtminRate.Font = new System.Drawing.Font("宋体", 9F);
this.txtminRate.Inside = false; this.txtminRate.Inside = false;
this.txtminRate.Location = new System.Drawing.Point(139, 724); this.txtminRate.Location = new System.Drawing.Point(139, 677);
this.txtminRate.Name = "txtminRate"; this.txtminRate.Name = "txtminRate";
this.txtminRate.Padding = new System.Windows.Forms.Padding(3); this.txtminRate.Padding = new System.Windows.Forms.Padding(3);
this.txtminRate.Size = new System.Drawing.Size(67, 30); this.txtminRate.Size = new System.Drawing.Size(67, 30);
...@@ -128,7 +133,7 @@ namespace AccAOI.control ...@@ -128,7 +133,7 @@ namespace AccAOI.control
this.flatLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel3.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel3.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel3.Inside = false; this.flatLabel3.Inside = false;
this.flatLabel3.Location = new System.Drawing.Point(10, 724); this.flatLabel3.Location = new System.Drawing.Point(10, 677);
this.flatLabel3.Name = "flatLabel3"; this.flatLabel3.Name = "flatLabel3";
this.flatLabel3.Size = new System.Drawing.Size(122, 30); this.flatLabel3.Size = new System.Drawing.Size(122, 30);
this.flatLabel3.TabIndex = 20; this.flatLabel3.TabIndex = 20;
...@@ -139,7 +144,7 @@ namespace AccAOI.control ...@@ -139,7 +144,7 @@ namespace AccAOI.control
this.flatLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel1.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel1.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel1.Inside = false; this.flatLabel1.Inside = false;
this.flatLabel1.Location = new System.Drawing.Point(15, 93); this.flatLabel1.Location = new System.Drawing.Point(15, 80);
this.flatLabel1.Name = "flatLabel1"; this.flatLabel1.Name = "flatLabel1";
this.flatLabel1.Size = new System.Drawing.Size(35, 30); this.flatLabel1.Size = new System.Drawing.Size(35, 30);
this.flatLabel1.TabIndex = 27; this.flatLabel1.TabIndex = 27;
...@@ -150,7 +155,7 @@ namespace AccAOI.control ...@@ -150,7 +155,7 @@ namespace AccAOI.control
this.txtMaxR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.txtMaxR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.txtMaxR.Font = new System.Drawing.Font("宋体", 9F); this.txtMaxR.Font = new System.Drawing.Font("宋体", 9F);
this.txtMaxR.Inside = false; this.txtMaxR.Inside = false;
this.txtMaxR.Location = new System.Drawing.Point(59, 93); this.txtMaxR.Location = new System.Drawing.Point(59, 80);
this.txtMaxR.Name = "txtMaxR"; this.txtMaxR.Name = "txtMaxR";
this.txtMaxR.Padding = new System.Windows.Forms.Padding(3); this.txtMaxR.Padding = new System.Windows.Forms.Padding(3);
this.txtMaxR.Size = new System.Drawing.Size(41, 30); this.txtMaxR.Size = new System.Drawing.Size(41, 30);
...@@ -163,7 +168,7 @@ namespace AccAOI.control ...@@ -163,7 +168,7 @@ namespace AccAOI.control
this.txtMinR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.txtMinR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.txtMinR.Font = new System.Drawing.Font("宋体", 9F); this.txtMinR.Font = new System.Drawing.Font("宋体", 9F);
this.txtMinR.Inside = false; this.txtMinR.Inside = false;
this.txtMinR.Location = new System.Drawing.Point(59, 41); this.txtMinR.Location = new System.Drawing.Point(59, 33);
this.txtMinR.Name = "txtMinR"; this.txtMinR.Name = "txtMinR";
this.txtMinR.Padding = new System.Windows.Forms.Padding(3); this.txtMinR.Padding = new System.Windows.Forms.Padding(3);
this.txtMinR.Size = new System.Drawing.Size(41, 30); this.txtMinR.Size = new System.Drawing.Size(41, 30);
...@@ -176,7 +181,7 @@ namespace AccAOI.control ...@@ -176,7 +181,7 @@ namespace AccAOI.control
this.flatLabel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatLabel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel2.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel2.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel2.Inside = false; this.flatLabel2.Inside = false;
this.flatLabel2.Location = new System.Drawing.Point(19, 358); this.flatLabel2.Location = new System.Drawing.Point(19, 348);
this.flatLabel2.Name = "flatLabel2"; this.flatLabel2.Name = "flatLabel2";
this.flatLabel2.Size = new System.Drawing.Size(35, 30); this.flatLabel2.Size = new System.Drawing.Size(35, 30);
this.flatLabel2.TabIndex = 24; this.flatLabel2.TabIndex = 24;
...@@ -187,7 +192,7 @@ namespace AccAOI.control ...@@ -187,7 +192,7 @@ namespace AccAOI.control
this.flatLabel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatLabel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel4.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel4.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel4.Inside = false; this.flatLabel4.Inside = false;
this.flatLabel4.Location = new System.Drawing.Point(15, 197); this.flatLabel4.Location = new System.Drawing.Point(15, 176);
this.flatLabel4.Name = "flatLabel4"; this.flatLabel4.Name = "flatLabel4";
this.flatLabel4.Size = new System.Drawing.Size(35, 30); this.flatLabel4.Size = new System.Drawing.Size(35, 30);
this.flatLabel4.TabIndex = 31; this.flatLabel4.TabIndex = 31;
...@@ -198,7 +203,7 @@ namespace AccAOI.control ...@@ -198,7 +203,7 @@ namespace AccAOI.control
this.txtMaxG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.txtMaxG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.txtMaxG.Font = new System.Drawing.Font("宋体", 9F); this.txtMaxG.Font = new System.Drawing.Font("宋体", 9F);
this.txtMaxG.Inside = false; this.txtMaxG.Inside = false;
this.txtMaxG.Location = new System.Drawing.Point(59, 197); this.txtMaxG.Location = new System.Drawing.Point(59, 176);
this.txtMaxG.Name = "txtMaxG"; this.txtMaxG.Name = "txtMaxG";
this.txtMaxG.Padding = new System.Windows.Forms.Padding(3); this.txtMaxG.Padding = new System.Windows.Forms.Padding(3);
this.txtMaxG.Size = new System.Drawing.Size(41, 30); this.txtMaxG.Size = new System.Drawing.Size(41, 30);
...@@ -211,7 +216,7 @@ namespace AccAOI.control ...@@ -211,7 +216,7 @@ namespace AccAOI.control
this.txtMinG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.txtMinG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.txtMinG.Font = new System.Drawing.Font("宋体", 9F); this.txtMinG.Font = new System.Drawing.Font("宋体", 9F);
this.txtMinG.Inside = false; this.txtMinG.Inside = false;
this.txtMinG.Location = new System.Drawing.Point(59, 145); this.txtMinG.Location = new System.Drawing.Point(59, 127);
this.txtMinG.Name = "txtMinG"; this.txtMinG.Name = "txtMinG";
this.txtMinG.Padding = new System.Windows.Forms.Padding(3); this.txtMinG.Padding = new System.Windows.Forms.Padding(3);
this.txtMinG.Size = new System.Drawing.Size(41, 30); this.txtMinG.Size = new System.Drawing.Size(41, 30);
...@@ -225,7 +230,7 @@ namespace AccAOI.control ...@@ -225,7 +230,7 @@ namespace AccAOI.control
this.flatLabel6.Cursor = System.Windows.Forms.Cursors.Default; this.flatLabel6.Cursor = System.Windows.Forms.Cursors.Default;
this.flatLabel6.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel6.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel6.Inside = false; this.flatLabel6.Inside = false;
this.flatLabel6.Location = new System.Drawing.Point(15, 145); this.flatLabel6.Location = new System.Drawing.Point(15, 127);
this.flatLabel6.Name = "flatLabel6"; this.flatLabel6.Name = "flatLabel6";
this.flatLabel6.Size = new System.Drawing.Size(35, 30); this.flatLabel6.Size = new System.Drawing.Size(35, 30);
this.flatLabel6.TabIndex = 28; this.flatLabel6.TabIndex = 28;
...@@ -236,7 +241,7 @@ namespace AccAOI.control ...@@ -236,7 +241,7 @@ namespace AccAOI.control
this.flatLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel7.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel7.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel7.Inside = false; this.flatLabel7.Inside = false;
this.flatLabel7.Location = new System.Drawing.Point(15, 301); this.flatLabel7.Location = new System.Drawing.Point(15, 274);
this.flatLabel7.Name = "flatLabel7"; this.flatLabel7.Name = "flatLabel7";
this.flatLabel7.Size = new System.Drawing.Size(35, 30); this.flatLabel7.Size = new System.Drawing.Size(35, 30);
this.flatLabel7.TabIndex = 35; this.flatLabel7.TabIndex = 35;
...@@ -247,7 +252,7 @@ namespace AccAOI.control ...@@ -247,7 +252,7 @@ namespace AccAOI.control
this.txtMaxB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.txtMaxB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.txtMaxB.Font = new System.Drawing.Font("宋体", 9F); this.txtMaxB.Font = new System.Drawing.Font("宋体", 9F);
this.txtMaxB.Inside = false; this.txtMaxB.Inside = false;
this.txtMaxB.Location = new System.Drawing.Point(59, 301); this.txtMaxB.Location = new System.Drawing.Point(59, 274);
this.txtMaxB.Name = "txtMaxB"; this.txtMaxB.Name = "txtMaxB";
this.txtMaxB.Padding = new System.Windows.Forms.Padding(3); this.txtMaxB.Padding = new System.Windows.Forms.Padding(3);
this.txtMaxB.Size = new System.Drawing.Size(41, 30); this.txtMaxB.Size = new System.Drawing.Size(41, 30);
...@@ -260,7 +265,7 @@ namespace AccAOI.control ...@@ -260,7 +265,7 @@ namespace AccAOI.control
this.txtMinB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.txtMinB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.txtMinB.Font = new System.Drawing.Font("宋体", 9F); this.txtMinB.Font = new System.Drawing.Font("宋体", 9F);
this.txtMinB.Inside = false; this.txtMinB.Inside = false;
this.txtMinB.Location = new System.Drawing.Point(59, 249); this.txtMinB.Location = new System.Drawing.Point(59, 224);
this.txtMinB.Name = "txtMinB"; this.txtMinB.Name = "txtMinB";
this.txtMinB.Padding = new System.Windows.Forms.Padding(3); this.txtMinB.Padding = new System.Windows.Forms.Padding(3);
this.txtMinB.Size = new System.Drawing.Size(41, 30); this.txtMinB.Size = new System.Drawing.Size(41, 30);
...@@ -273,7 +278,7 @@ namespace AccAOI.control ...@@ -273,7 +278,7 @@ namespace AccAOI.control
this.flatLabel8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatLabel8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel8.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel8.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel8.Inside = false; this.flatLabel8.Inside = false;
this.flatLabel8.Location = new System.Drawing.Point(15, 249); this.flatLabel8.Location = new System.Drawing.Point(15, 224);
this.flatLabel8.Name = "flatLabel8"; this.flatLabel8.Name = "flatLabel8";
this.flatLabel8.Size = new System.Drawing.Size(35, 30); this.flatLabel8.Size = new System.Drawing.Size(35, 30);
this.flatLabel8.TabIndex = 32; this.flatLabel8.TabIndex = 32;
...@@ -285,7 +290,7 @@ namespace AccAOI.control ...@@ -285,7 +290,7 @@ namespace AccAOI.control
this.txtRate.Enabled = false; this.txtRate.Enabled = false;
this.txtRate.Font = new System.Drawing.Font("宋体", 9F); this.txtRate.Font = new System.Drawing.Font("宋体", 9F);
this.txtRate.Inside = false; this.txtRate.Inside = false;
this.txtRate.Location = new System.Drawing.Point(139, 774); this.txtRate.Location = new System.Drawing.Point(135, 67);
this.txtRate.Name = "txtRate"; this.txtRate.Name = "txtRate";
this.txtRate.Padding = new System.Windows.Forms.Padding(3); this.txtRate.Padding = new System.Windows.Forms.Padding(3);
this.txtRate.Size = new System.Drawing.Size(67, 30); this.txtRate.Size = new System.Drawing.Size(67, 30);
...@@ -296,7 +301,7 @@ namespace AccAOI.control ...@@ -296,7 +301,7 @@ namespace AccAOI.control
this.flatLabel9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.flatLabel9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.flatLabel9.Font = new System.Drawing.Font("宋体", 9F); this.flatLabel9.Font = new System.Drawing.Font("宋体", 9F);
this.flatLabel9.Inside = false; this.flatLabel9.Inside = false;
this.flatLabel9.Location = new System.Drawing.Point(10, 774); this.flatLabel9.Location = new System.Drawing.Point(6, 67);
this.flatLabel9.Name = "flatLabel9"; this.flatLabel9.Name = "flatLabel9";
this.flatLabel9.Size = new System.Drawing.Size(122, 30); this.flatLabel9.Size = new System.Drawing.Size(122, 30);
this.flatLabel9.TabIndex = 37; this.flatLabel9.TabIndex = 37;
...@@ -308,7 +313,7 @@ namespace AccAOI.control ...@@ -308,7 +313,7 @@ namespace AccAOI.control
this.btnUpdate.Font = new System.Drawing.Font("宋体", 9F); this.btnUpdate.Font = new System.Drawing.Font("宋体", 9F);
this.btnUpdate.ImageSize = new System.Drawing.Size(0, 0); this.btnUpdate.ImageSize = new System.Drawing.Size(0, 0);
this.btnUpdate.Inside = false; this.btnUpdate.Inside = false;
this.btnUpdate.Location = new System.Drawing.Point(210, 774); this.btnUpdate.Location = new System.Drawing.Point(207, 67);
this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.Name = "btnUpdate";
this.btnUpdate.Size = new System.Drawing.Size(83, 30); this.btnUpdate.Size = new System.Drawing.Size(83, 30);
this.btnUpdate.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.btnUpdate.StateColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
...@@ -319,7 +324,7 @@ namespace AccAOI.control ...@@ -319,7 +324,7 @@ namespace AccAOI.control
// tbMinR // tbMinR
// //
this.tbMinR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.tbMinR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.tbMinR.Location = new System.Drawing.Point(107, 41); this.tbMinR.Location = new System.Drawing.Point(107, 33);
this.tbMinR.Maximum = 255; this.tbMinR.Maximum = 255;
this.tbMinR.Name = "tbMinR"; this.tbMinR.Name = "tbMinR";
this.tbMinR.Size = new System.Drawing.Size(179, 45); this.tbMinR.Size = new System.Drawing.Size(179, 45);
...@@ -330,7 +335,7 @@ namespace AccAOI.control ...@@ -330,7 +335,7 @@ namespace AccAOI.control
// tbMaxR // tbMaxR
// //
this.tbMaxR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.tbMaxR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.tbMaxR.Location = new System.Drawing.Point(107, 94); this.tbMaxR.Location = new System.Drawing.Point(107, 82);
this.tbMaxR.Maximum = 255; this.tbMaxR.Maximum = 255;
this.tbMaxR.Name = "tbMaxR"; this.tbMaxR.Name = "tbMaxR";
this.tbMaxR.Size = new System.Drawing.Size(179, 45); this.tbMaxR.Size = new System.Drawing.Size(179, 45);
...@@ -342,7 +347,7 @@ namespace AccAOI.control ...@@ -342,7 +347,7 @@ namespace AccAOI.control
// tbMaxG // tbMaxG
// //
this.tbMaxG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.tbMaxG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.tbMaxG.Location = new System.Drawing.Point(107, 200); this.tbMaxG.Location = new System.Drawing.Point(107, 180);
this.tbMaxG.Maximum = 255; this.tbMaxG.Maximum = 255;
this.tbMaxG.Name = "tbMaxG"; this.tbMaxG.Name = "tbMaxG";
this.tbMaxG.Size = new System.Drawing.Size(179, 45); this.tbMaxG.Size = new System.Drawing.Size(179, 45);
...@@ -354,7 +359,7 @@ namespace AccAOI.control ...@@ -354,7 +359,7 @@ namespace AccAOI.control
// tbMinG // tbMinG
// //
this.tbMinG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.tbMinG.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.tbMinG.Location = new System.Drawing.Point(107, 147); this.tbMinG.Location = new System.Drawing.Point(107, 131);
this.tbMinG.Maximum = 255; this.tbMinG.Maximum = 255;
this.tbMinG.Name = "tbMinG"; this.tbMinG.Name = "tbMinG";
this.tbMinG.Size = new System.Drawing.Size(179, 45); this.tbMinG.Size = new System.Drawing.Size(179, 45);
...@@ -365,7 +370,7 @@ namespace AccAOI.control ...@@ -365,7 +370,7 @@ namespace AccAOI.control
// tbMaxB // tbMaxB
// //
this.tbMaxB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.tbMaxB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.tbMaxB.Location = new System.Drawing.Point(107, 306); this.tbMaxB.Location = new System.Drawing.Point(107, 278);
this.tbMaxB.Maximum = 255; this.tbMaxB.Maximum = 255;
this.tbMaxB.Name = "tbMaxB"; this.tbMaxB.Name = "tbMaxB";
this.tbMaxB.Size = new System.Drawing.Size(179, 45); this.tbMaxB.Size = new System.Drawing.Size(179, 45);
...@@ -377,7 +382,7 @@ namespace AccAOI.control ...@@ -377,7 +382,7 @@ namespace AccAOI.control
// tbMinB // tbMinB
// //
this.tbMinB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30))))); this.tbMinB.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.tbMinB.Location = new System.Drawing.Point(107, 253); this.tbMinB.Location = new System.Drawing.Point(107, 229);
this.tbMinB.Maximum = 255; this.tbMinB.Maximum = 255;
this.tbMinB.Name = "tbMinB"; this.tbMinB.Name = "tbMinB";
this.tbMinB.Size = new System.Drawing.Size(179, 45); this.tbMinB.Size = new System.Drawing.Size(179, 45);
...@@ -389,10 +394,7 @@ namespace AccAOI.control ...@@ -389,10 +394,7 @@ namespace AccAOI.control
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(312, 831); this.ClientSize = new System.Drawing.Size(312, 837);
this.Controls.Add(this.btnUpdate);
this.Controls.Add(this.flatLabel9);
this.Controls.Add(this.txtRate);
this.Controls.Add(this.flatLabel2); this.Controls.Add(this.flatLabel2);
this.Controls.Add(this.flatLabel5); this.Controls.Add(this.flatLabel5);
this.Controls.Add(this.txtmaxRate); this.Controls.Add(this.txtmaxRate);
...@@ -408,11 +410,9 @@ namespace AccAOI.control ...@@ -408,11 +410,9 @@ namespace AccAOI.control
this.Controls.SetChildIndex(this.txtmaxRate, 0); this.Controls.SetChildIndex(this.txtmaxRate, 0);
this.Controls.SetChildIndex(this.flatLabel5, 0); this.Controls.SetChildIndex(this.flatLabel5, 0);
this.Controls.SetChildIndex(this.flatLabel2, 0); this.Controls.SetChildIndex(this.flatLabel2, 0);
this.Controls.SetChildIndex(this.txtRate, 0);
this.Controls.SetChildIndex(this.flatLabel9, 0);
this.Controls.SetChildIndex(this.btnUpdate, 0);
this.panParam.ResumeLayout(false); this.panParam.ResumeLayout(false);
this.panParam.PerformLayout(); this.panParam.PerformLayout();
this.panResult.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tbMinR)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMinR)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbMaxR)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMaxR)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbMaxG)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMaxG)).EndInit();
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!