| | |
| | | // tablePanelParas |
| | | // |
| | | tablePanelParas.ColumnCount = 4; |
| | | tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 90F)); |
| | | tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 116F)); |
| | | tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); |
| | | tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 90F)); |
| | | tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 116F)); |
| | | tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); |
| | | tablePanelParas.Controls.Add(label1, 0, 0); |
| | | tablePanelParas.Controls.Add(dtxtMinThreshold, 1, 0); |
| | |
| | | tablePanelParas.Controls.Add(label10, 2, 3); |
| | | tablePanelParas.Controls.Add(dtxtCodeLength, 3, 3); |
| | | tablePanelParas.Dock = DockStyle.Fill; |
| | | tablePanelParas.Location = new Point(3, 3); |
| | | tablePanelParas.Margin = new Padding(2, 3, 2, 3); |
| | | tablePanelParas.Location = new Point(4, 4); |
| | | tablePanelParas.Margin = new Padding(3, 4, 3, 4); |
| | | tablePanelParas.Name = "tablePanelParas"; |
| | | tablePanelParas.RowCount = 10; |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 10.000001F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 10.000001F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); |
| | | tablePanelParas.Size = new Size(397, 510); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); |
| | | tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); |
| | | tablePanelParas.Size = new Size(512, 603); |
| | | tablePanelParas.TabIndex = 0; |
| | | // |
| | | // label1 |
| | | // |
| | | label1.AutoSize = true; |
| | | label1.Location = new Point(2, 0); |
| | | label1.Margin = new Padding(2, 0, 2, 0); |
| | | label1.MaximumSize = new Size(0, 28); |
| | | label1.MinimumSize = new Size(0, 28); |
| | | label1.Location = new Point(3, 0); |
| | | label1.MaximumSize = new Size(0, 33); |
| | | label1.MinimumSize = new Size(0, 33); |
| | | label1.Name = "label1"; |
| | | label1.Size = new Size(68, 28); |
| | | label1.Size = new Size(84, 33); |
| | | label1.TabIndex = 0; |
| | | label1.Text = "最小灰度值"; |
| | | label1.TextAlign = ContentAlignment.MiddleCenter; |
| | | // |
| | | // dtxtMinThreshold |
| | | // |
| | | dtxtMinThreshold.Location = new Point(92, 3); |
| | | dtxtMinThreshold.Margin = new Padding(2, 3, 2, 3); |
| | | dtxtMinThreshold.Location = new Point(119, 4); |
| | | dtxtMinThreshold.Margin = new Padding(3, 4, 3, 4); |
| | | dtxtMinThreshold.Name = "dtxtMinThreshold"; |
| | | dtxtMinThreshold.Size = new Size(98, 23); |
| | | dtxtMinThreshold.Size = new Size(125, 27); |
| | | dtxtMinThreshold.TabIndex = 5; |
| | | dtxtMinThreshold.Text = "80"; |
| | | // |
| | | // dtxtMaxThreshold |
| | | // |
| | | dtxtMaxThreshold.Location = new Point(290, 3); |
| | | dtxtMaxThreshold.Margin = new Padding(2, 3, 2, 3); |
| | | dtxtMaxThreshold.Location = new Point(375, 4); |
| | | dtxtMaxThreshold.Margin = new Padding(3, 4, 3, 4); |
| | | dtxtMaxThreshold.Name = "dtxtMaxThreshold"; |
| | | dtxtMaxThreshold.Size = new Size(98, 23); |
| | | dtxtMaxThreshold.Size = new Size(125, 27); |
| | | dtxtMaxThreshold.TabIndex = 6; |
| | | dtxtMaxThreshold.Text = "180"; |
| | | // |
| | | // label19 |
| | | // |
| | | label19.AutoSize = true; |
| | | label19.Location = new Point(3, 51); |
| | | label19.Location = new Point(4, 60); |
| | | label19.Margin = new Padding(4, 0, 4, 0); |
| | | label19.Name = "label19"; |
| | | label19.Size = new Size(56, 17); |
| | | label19.Size = new Size(69, 20); |
| | | label19.TabIndex = 19; |
| | | label19.Text = "最小数量"; |
| | | // |
| | | // dtxtMinCount |
| | | // |
| | | dtxtMinCount.Location = new Point(93, 54); |
| | | dtxtMinCount.Location = new Point(120, 64); |
| | | dtxtMinCount.Margin = new Padding(4, 4, 4, 4); |
| | | dtxtMinCount.Name = "dtxtMinCount"; |
| | | dtxtMinCount.Size = new Size(97, 23); |
| | | dtxtMinCount.Size = new Size(124, 27); |
| | | dtxtMinCount.TabIndex = 17; |
| | | dtxtMinCount.Text = "0"; |
| | | // |
| | | // label2 |
| | | // |
| | | label2.AutoSize = true; |
| | | label2.Location = new Point(200, 0); |
| | | label2.Margin = new Padding(2, 0, 2, 0); |
| | | label2.MaximumSize = new Size(0, 28); |
| | | label2.MinimumSize = new Size(0, 28); |
| | | label2.Location = new Point(259, 0); |
| | | label2.MaximumSize = new Size(0, 33); |
| | | label2.MinimumSize = new Size(0, 33); |
| | | label2.Name = "label2"; |
| | | label2.Size = new Size(68, 28); |
| | | label2.Size = new Size(84, 33); |
| | | label2.TabIndex = 1; |
| | | label2.Text = "最大灰度值"; |
| | | label2.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | // label20 |
| | | // |
| | | label20.AutoSize = true; |
| | | label20.Location = new Point(201, 51); |
| | | label20.Location = new Point(260, 60); |
| | | label20.Margin = new Padding(4, 0, 4, 0); |
| | | label20.Name = "label20"; |
| | | label20.Size = new Size(56, 17); |
| | | label20.Size = new Size(69, 20); |
| | | label20.TabIndex = 20; |
| | | label20.Text = "最大数量"; |
| | | // |
| | | // dtxtMaxCount |
| | | // |
| | | dtxtMaxCount.Location = new Point(291, 54); |
| | | dtxtMaxCount.Location = new Point(376, 64); |
| | | dtxtMaxCount.Margin = new Padding(4, 4, 4, 4); |
| | | dtxtMaxCount.Name = "dtxtMaxCount"; |
| | | dtxtMaxCount.Size = new Size(97, 23); |
| | | dtxtMaxCount.Size = new Size(124, 27); |
| | | dtxtMaxCount.TabIndex = 18; |
| | | dtxtMaxCount.Text = "9999"; |
| | | // |
| | | // label3 |
| | | // |
| | | label3.AutoSize = true; |
| | | label3.Location = new Point(3, 153); |
| | | label3.Location = new Point(4, 180); |
| | | label3.Margin = new Padding(4, 0, 4, 0); |
| | | label3.Name = "label3"; |
| | | label3.Size = new Size(44, 17); |
| | | label3.Size = new Size(54, 20); |
| | | label3.TabIndex = 21; |
| | | label3.Text = "条码头"; |
| | | // |
| | | // stxtCodeHead |
| | | // |
| | | stxtCodeHead.Location = new Point(93, 156); |
| | | stxtCodeHead.Location = new Point(120, 184); |
| | | stxtCodeHead.Margin = new Padding(4, 4, 4, 4); |
| | | stxtCodeHead.Name = "stxtCodeHead"; |
| | | stxtCodeHead.Size = new Size(97, 23); |
| | | stxtCodeHead.Size = new Size(124, 27); |
| | | stxtCodeHead.TabIndex = 22; |
| | | // |
| | | // label4 |
| | | // |
| | | label4.AutoSize = true; |
| | | label4.Location = new Point(3, 102); |
| | | label4.Location = new Point(4, 120); |
| | | label4.Margin = new Padding(4, 0, 4, 0); |
| | | label4.Name = "label4"; |
| | | label4.Size = new Size(56, 17); |
| | | label4.Size = new Size(69, 20); |
| | | label4.TabIndex = 23; |
| | | label4.Text = "条码类型"; |
| | | // |
| | | // cmbCode2dType |
| | | // |
| | | cmbCode2dType.FormattingEnabled = true; |
| | | cmbCode2dType.Location = new Point(93, 105); |
| | | cmbCode2dType.Location = new Point(120, 124); |
| | | cmbCode2dType.Margin = new Padding(4, 4, 4, 4); |
| | | cmbCode2dType.Name = "cmbCode2dType"; |
| | | cmbCode2dType.Size = new Size(97, 25); |
| | | cmbCode2dType.Size = new Size(124, 28); |
| | | cmbCode2dType.TabIndex = 24; |
| | | // |
| | | // label10 |
| | | // |
| | | label10.AutoSize = true; |
| | | label10.Location = new Point(201, 153); |
| | | label10.Location = new Point(260, 180); |
| | | label10.Margin = new Padding(4, 0, 4, 0); |
| | | label10.Name = "label10"; |
| | | label10.Size = new Size(56, 17); |
| | | label10.Size = new Size(69, 20); |
| | | label10.TabIndex = 25; |
| | | label10.Text = "条码长度"; |
| | | // |
| | | // dtxtCodeLength |
| | | // |
| | | dtxtCodeLength.Location = new Point(291, 156); |
| | | dtxtCodeLength.Location = new Point(376, 184); |
| | | dtxtCodeLength.Margin = new Padding(4, 4, 4, 4); |
| | | dtxtCodeLength.Name = "dtxtCodeLength"; |
| | | dtxtCodeLength.Size = new Size(97, 23); |
| | | dtxtCodeLength.Size = new Size(124, 27); |
| | | dtxtCodeLength.TabIndex = 26; |
| | | // |
| | | // pnlInputImage |
| | | // |
| | | pnlInputImage.Dock = DockStyle.Fill; |
| | | pnlInputImage.Location = new Point(3, 3); |
| | | pnlInputImage.Margin = new Padding(4); |
| | | pnlInputImage.Location = new Point(4, 4); |
| | | pnlInputImage.Margin = new Padding(5, 5, 5, 5); |
| | | pnlInputImage.Name = "pnlInputImage"; |
| | | pnlInputImage.Size = new Size(607, 510); |
| | | pnlInputImage.Size = new Size(782, 603); |
| | | pnlInputImage.TabIndex = 44; |
| | | // |
| | | // TopToolStrip |
| | | // |
| | | TopToolStrip.ImageScalingSize = new Size(20, 20); |
| | | TopToolStrip.Items.AddRange(new ToolStripItem[] { btnRun, btnLoadImage, btnSaveParas, btnLoadParas }); |
| | | TopToolStrip.Location = new Point(0, 0); |
| | | TopToolStrip.Name = "TopToolStrip"; |
| | | TopToolStrip.Size = new Size(1044, 25); |
| | | TopToolStrip.Size = new Size(1342, 27); |
| | | TopToolStrip.TabIndex = 45; |
| | | TopToolStrip.Text = "toolStrip1"; |
| | | // |
| | |
| | | btnRun.BackgroundImageLayout = ImageLayout.Zoom; |
| | | btnRun.ImageTransparentColor = Color.Magenta; |
| | | btnRun.Name = "btnRun"; |
| | | btnRun.Size = new Size(36, 22); |
| | | btnRun.Size = new Size(43, 24); |
| | | btnRun.Text = "运行"; |
| | | btnRun.Click += btnRun_Click; |
| | | // |
| | |
| | | // |
| | | btnLoadImage.ImageTransparentColor = Color.Magenta; |
| | | btnLoadImage.Name = "btnLoadImage"; |
| | | btnLoadImage.Size = new Size(36, 22); |
| | | btnLoadImage.Size = new Size(43, 24); |
| | | btnLoadImage.Text = "导图"; |
| | | btnLoadImage.Click += btnLoadImage_Click; |
| | | // |
| | |
| | | // |
| | | btnSaveParas.ImageTransparentColor = Color.Magenta; |
| | | btnSaveParas.Name = "btnSaveParas"; |
| | | btnSaveParas.Size = new Size(36, 22); |
| | | btnSaveParas.Size = new Size(43, 24); |
| | | btnSaveParas.Text = "保存"; |
| | | btnSaveParas.Click += btnSaveParas_Click; |
| | | // |
| | |
| | | // |
| | | btnLoadParas.ImageTransparentColor = Color.Magenta; |
| | | btnLoadParas.Name = "btnLoadParas"; |
| | | btnLoadParas.Size = new Size(36, 22); |
| | | btnLoadParas.Size = new Size(43, 24); |
| | | btnLoadParas.Text = "加载"; |
| | | btnLoadParas.Click += btnLoadParas_Click; |
| | | // |
| | | // BtmStatusStrip |
| | | // |
| | | BtmStatusStrip.ImageScalingSize = new Size(20, 20); |
| | | BtmStatusStrip.Items.AddRange(new ToolStripItem[] { lblResult, lblMsg, lblRunTime }); |
| | | BtmStatusStrip.Location = new Point(0, 577); |
| | | BtmStatusStrip.Location = new Point(0, 679); |
| | | BtmStatusStrip.Name = "BtmStatusStrip"; |
| | | BtmStatusStrip.Size = new Size(1044, 22); |
| | | BtmStatusStrip.Padding = new Padding(1, 0, 18, 0); |
| | | BtmStatusStrip.Size = new Size(1342, 26); |
| | | BtmStatusStrip.TabIndex = 46; |
| | | BtmStatusStrip.Text = "statusStrip1"; |
| | | // |
| | | // lblResult |
| | | // |
| | | lblResult.Name = "lblResult"; |
| | | lblResult.Size = new Size(34, 17); |
| | | lblResult.Size = new Size(42, 20); |
| | | lblResult.Text = "True"; |
| | | // |
| | | // lblMsg |
| | | // |
| | | lblMsg.Name = "lblMsg"; |
| | | lblMsg.Size = new Size(56, 17); |
| | | lblMsg.Size = new Size(69, 20); |
| | | lblMsg.Text = "运行成功"; |
| | | // |
| | | // lblRunTime |
| | | // |
| | | lblRunTime.Name = "lblRunTime"; |
| | | lblRunTime.Size = new Size(32, 17); |
| | | lblRunTime.Size = new Size(39, 20); |
| | | lblRunTime.Text = "0ms"; |
| | | // |
| | | // MainTableLayoutPanel |
| | |
| | | MainTableLayoutPanel.Controls.Add(parasTabControl, 0, 0); |
| | | MainTableLayoutPanel.Controls.Add(imgTabControl, 1, 0); |
| | | MainTableLayoutPanel.Dock = DockStyle.Fill; |
| | | MainTableLayoutPanel.Location = new Point(0, 25); |
| | | MainTableLayoutPanel.Location = new Point(0, 27); |
| | | MainTableLayoutPanel.Margin = new Padding(4, 4, 4, 4); |
| | | MainTableLayoutPanel.Name = "MainTableLayoutPanel"; |
| | | MainTableLayoutPanel.RowCount = 1; |
| | | MainTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | MainTableLayoutPanel.Size = new Size(1044, 552); |
| | | MainTableLayoutPanel.Size = new Size(1342, 652); |
| | | MainTableLayoutPanel.TabIndex = 47; |
| | | // |
| | | // parasTabControl |
| | |
| | | parasTabControl.Controls.Add(tabPage5); |
| | | parasTabControl.Controls.Add(tabPage2); |
| | | parasTabControl.Dock = DockStyle.Fill; |
| | | parasTabControl.Location = new Point(3, 3); |
| | | parasTabControl.Location = new Point(4, 4); |
| | | parasTabControl.Margin = new Padding(4, 4, 4, 4); |
| | | parasTabControl.Name = "parasTabControl"; |
| | | parasTabControl.SelectedIndex = 0; |
| | | parasTabControl.Size = new Size(411, 546); |
| | | parasTabControl.Size = new Size(528, 644); |
| | | parasTabControl.TabIndex = 48; |
| | | // |
| | | // tabPage1 |
| | | // |
| | | tabPage1.Controls.Add(tablePanelParas); |
| | | tabPage1.Location = new Point(4, 26); |
| | | tabPage1.Location = new Point(4, 29); |
| | | tabPage1.Margin = new Padding(4, 4, 4, 4); |
| | | tabPage1.Name = "tabPage1"; |
| | | tabPage1.Padding = new Padding(3); |
| | | tabPage1.Size = new Size(403, 516); |
| | | tabPage1.Padding = new Padding(4, 4, 4, 4); |
| | | tabPage1.Size = new Size(520, 611); |
| | | tabPage1.TabIndex = 0; |
| | | tabPage1.Text = "输入参数"; |
| | | tabPage1.UseVisualStyleBackColor = true; |
| | |
| | | // tabPage5 |
| | | // |
| | | tabPage5.Controls.Add(tableLayoutPanel2); |
| | | tabPage5.Location = new Point(4, 26); |
| | | tabPage5.Location = new Point(4, 29); |
| | | tabPage5.Margin = new Padding(4, 4, 4, 4); |
| | | tabPage5.Name = "tabPage5"; |
| | | tabPage5.Size = new Size(403, 516); |
| | | tabPage5.Size = new Size(520, 611); |
| | | tabPage5.TabIndex = 2; |
| | | tabPage5.Text = "运行参数"; |
| | | tabPage5.UseVisualStyleBackColor = true; |
| | |
| | | // tableLayoutPanel2 |
| | | // |
| | | tableLayoutPanel2.ColumnCount = 4; |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 60F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 150F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 77F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 193F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 26F)); |
| | | tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel2.Controls.Add(cmbTypeRoi, 1, 0); |
| | | tableLayoutPanel2.Controls.Add(label21, 0, 0); |
| | | tableLayoutPanel2.Controls.Add(label22, 0, 1); |
| | | tableLayoutPanel2.Controls.Add(cmbFixture, 1, 1); |
| | | tableLayoutPanel2.Controls.Add(ckbDrawRoi, 2, 0); |
| | | tableLayoutPanel2.Location = new Point(3, 3); |
| | | tableLayoutPanel2.Location = new Point(4, 4); |
| | | tableLayoutPanel2.Margin = new Padding(4, 4, 4, 4); |
| | | tableLayoutPanel2.Name = "tableLayoutPanel2"; |
| | | tableLayoutPanel2.RowCount = 3; |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 35F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 35F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel2.Size = new Size(323, 196); |
| | | tableLayoutPanel2.Size = new Size(415, 231); |
| | | tableLayoutPanel2.TabIndex = 5; |
| | | // |
| | | // cmbTypeRoi |
| | | // |
| | | cmbTypeRoi.FormattingEnabled = true; |
| | | cmbTypeRoi.Location = new Point(63, 3); |
| | | cmbTypeRoi.Location = new Point(81, 4); |
| | | cmbTypeRoi.Margin = new Padding(4, 4, 4, 4); |
| | | cmbTypeRoi.Name = "cmbTypeRoi"; |
| | | cmbTypeRoi.Size = new Size(121, 25); |
| | | cmbTypeRoi.Size = new Size(154, 28); |
| | | cmbTypeRoi.TabIndex = 1; |
| | | cmbTypeRoi.SelectedIndexChanged += cmbTypeRoi_SelectedIndexChanged; |
| | | // |
| | |
| | | // |
| | | label21.AutoSize = true; |
| | | label21.Dock = DockStyle.Fill; |
| | | label21.Location = new Point(3, 0); |
| | | label21.Location = new Point(4, 0); |
| | | label21.Margin = new Padding(4, 0, 4, 0); |
| | | label21.Name = "label21"; |
| | | label21.Size = new Size(54, 30); |
| | | label21.Size = new Size(69, 35); |
| | | label21.TabIndex = 3; |
| | | label21.Text = "ROI"; |
| | | label21.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | // |
| | | label22.AutoSize = true; |
| | | label22.Dock = DockStyle.Fill; |
| | | label22.Location = new Point(3, 30); |
| | | label22.Location = new Point(4, 35); |
| | | label22.Margin = new Padding(4, 0, 4, 0); |
| | | label22.Name = "label22"; |
| | | label22.Size = new Size(54, 30); |
| | | label22.Size = new Size(69, 35); |
| | | label22.TabIndex = 4; |
| | | label22.Text = "Fixture"; |
| | | label22.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | // cmbFixture |
| | | // |
| | | cmbFixture.FormattingEnabled = true; |
| | | cmbFixture.Location = new Point(63, 33); |
| | | cmbFixture.Location = new Point(81, 39); |
| | | cmbFixture.Margin = new Padding(4, 4, 4, 4); |
| | | cmbFixture.Name = "cmbFixture"; |
| | | cmbFixture.Size = new Size(121, 25); |
| | | cmbFixture.Size = new Size(154, 28); |
| | | cmbFixture.TabIndex = 5; |
| | | cmbFixture.SelectedIndexChanged += cmbFixture_SelectedIndexChanged; |
| | | // |
| | |
| | | // |
| | | ckbDrawRoi.AutoSize = true; |
| | | ckbDrawRoi.CheckAlign = ContentAlignment.MiddleCenter; |
| | | ckbDrawRoi.Location = new Point(213, 3); |
| | | ckbDrawRoi.Location = new Point(274, 4); |
| | | ckbDrawRoi.Margin = new Padding(4, 4, 4, 4); |
| | | ckbDrawRoi.Name = "ckbDrawRoi"; |
| | | ckbDrawRoi.Size = new Size(14, 14); |
| | | ckbDrawRoi.Size = new Size(18, 17); |
| | | ckbDrawRoi.TabIndex = 2; |
| | | ckbDrawRoi.UseVisualStyleBackColor = true; |
| | | ckbDrawRoi.CheckedChanged += ckbDrawRoi_CheckedChanged; |
| | |
| | | // tabPage2 |
| | | // |
| | | tabPage2.Controls.Add(tableLayoutResults); |
| | | tabPage2.Location = new Point(4, 26); |
| | | tabPage2.Location = new Point(4, 29); |
| | | tabPage2.Margin = new Padding(4, 4, 4, 4); |
| | | tabPage2.Name = "tabPage2"; |
| | | tabPage2.Padding = new Padding(3); |
| | | tabPage2.Size = new Size(403, 516); |
| | | tabPage2.Padding = new Padding(4, 4, 4, 4); |
| | | tabPage2.Size = new Size(520, 611); |
| | | tabPage2.TabIndex = 1; |
| | | tabPage2.Text = "输出结果"; |
| | | tabPage2.UseVisualStyleBackColor = true; |
| | |
| | | // tableLayoutResults |
| | | // |
| | | tableLayoutResults.ColumnCount = 2; |
| | | tableLayoutResults.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 100F)); |
| | | tableLayoutResults.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 129F)); |
| | | tableLayoutResults.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutResults.Controls.Add(label5, 0, 0); |
| | | tableLayoutResults.Controls.Add(stxtCodeStrings, 1, 0); |
| | | tableLayoutResults.Controls.Add(label18, 0, 1); |
| | | tableLayoutResults.Controls.Add(dtxtCount, 1, 1); |
| | | tableLayoutResults.Dock = DockStyle.Fill; |
| | | tableLayoutResults.Location = new Point(3, 3); |
| | | tableLayoutResults.Margin = new Padding(2, 3, 2, 3); |
| | | tableLayoutResults.Location = new Point(4, 4); |
| | | tableLayoutResults.Margin = new Padding(3, 4, 3, 4); |
| | | tableLayoutResults.Name = "tableLayoutResults"; |
| | | tableLayoutResults.RowCount = 10; |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.Size = new Size(397, 510); |
| | | tableLayoutResults.Size = new Size(512, 603); |
| | | tableLayoutResults.TabIndex = 1; |
| | | // |
| | | // label5 |
| | | // |
| | | label5.AutoSize = true; |
| | | label5.Dock = DockStyle.Fill; |
| | | label5.Location = new Point(2, 0); |
| | | label5.Margin = new Padding(2, 0, 2, 0); |
| | | label5.MaximumSize = new Size(0, 28); |
| | | label5.MinimumSize = new Size(0, 28); |
| | | label5.Location = new Point(3, 0); |
| | | label5.MaximumSize = new Size(0, 33); |
| | | label5.MinimumSize = new Size(0, 33); |
| | | label5.Name = "label5"; |
| | | label5.Size = new Size(96, 28); |
| | | label5.Size = new Size(123, 33); |
| | | label5.TabIndex = 0; |
| | | label5.Text = "结果"; |
| | | label5.TextAlign = ContentAlignment.TopCenter; |
| | |
| | | // stxtCodeStrings |
| | | // |
| | | stxtCodeStrings.Dock = DockStyle.Fill; |
| | | stxtCodeStrings.Location = new Point(102, 3); |
| | | stxtCodeStrings.Margin = new Padding(2, 3, 2, 3); |
| | | stxtCodeStrings.Location = new Point(132, 4); |
| | | stxtCodeStrings.Margin = new Padding(3, 4, 3, 4); |
| | | stxtCodeStrings.Multiline = true; |
| | | stxtCodeStrings.Name = "stxtCodeStrings"; |
| | | stxtCodeStrings.ReadOnly = true; |
| | | stxtCodeStrings.Size = new Size(293, 45); |
| | | stxtCodeStrings.Size = new Size(377, 52); |
| | | stxtCodeStrings.TabIndex = 5; |
| | | // |
| | | // label18 |
| | | // |
| | | label18.AutoSize = true; |
| | | label18.Dock = DockStyle.Fill; |
| | | label18.Location = new Point(3, 51); |
| | | label18.Location = new Point(4, 60); |
| | | label18.Margin = new Padding(4, 0, 4, 0); |
| | | label18.Name = "label18"; |
| | | label18.Size = new Size(94, 51); |
| | | label18.Size = new Size(121, 60); |
| | | label18.TabIndex = 10; |
| | | label18.Text = "数量"; |
| | | label18.TextAlign = ContentAlignment.TopCenter; |
| | |
| | | // dtxtCount |
| | | // |
| | | dtxtCount.Dock = DockStyle.Fill; |
| | | dtxtCount.Location = new Point(103, 54); |
| | | dtxtCount.Location = new Point(133, 64); |
| | | dtxtCount.Margin = new Padding(4, 4, 4, 4); |
| | | dtxtCount.Name = "dtxtCount"; |
| | | dtxtCount.ReadOnly = true; |
| | | dtxtCount.Size = new Size(291, 23); |
| | | dtxtCount.Size = new Size(375, 27); |
| | | dtxtCount.TabIndex = 11; |
| | | // |
| | | // imgTabControl |
| | |
| | | imgTabControl.Controls.Add(tabPageInputImage); |
| | | imgTabControl.Controls.Add(tabPageRecordImage); |
| | | imgTabControl.Dock = DockStyle.Fill; |
| | | imgTabControl.Location = new Point(420, 3); |
| | | imgTabControl.Location = new Point(540, 4); |
| | | imgTabControl.Margin = new Padding(4, 4, 4, 4); |
| | | imgTabControl.Name = "imgTabControl"; |
| | | imgTabControl.SelectedIndex = 0; |
| | | imgTabControl.Size = new Size(621, 546); |
| | | imgTabControl.Size = new Size(798, 644); |
| | | imgTabControl.TabIndex = 49; |
| | | // |
| | | // tabPageInputImage |
| | | // |
| | | tabPageInputImage.Controls.Add(pnlInputImage); |
| | | tabPageInputImage.Location = new Point(4, 26); |
| | | tabPageInputImage.Location = new Point(4, 29); |
| | | tabPageInputImage.Margin = new Padding(4, 4, 4, 4); |
| | | tabPageInputImage.Name = "tabPageInputImage"; |
| | | tabPageInputImage.Padding = new Padding(3); |
| | | tabPageInputImage.Size = new Size(613, 516); |
| | | tabPageInputImage.Padding = new Padding(4, 4, 4, 4); |
| | | tabPageInputImage.Size = new Size(790, 611); |
| | | tabPageInputImage.TabIndex = 0; |
| | | tabPageInputImage.Text = "输入图像"; |
| | | tabPageInputImage.UseVisualStyleBackColor = true; |
| | |
| | | // tabPageRecordImage |
| | | // |
| | | tabPageRecordImage.Controls.Add(pnlRecordImage); |
| | | tabPageRecordImage.Location = new Point(4, 26); |
| | | tabPageRecordImage.Location = new Point(4, 29); |
| | | tabPageRecordImage.Margin = new Padding(4, 4, 4, 4); |
| | | tabPageRecordImage.Name = "tabPageRecordImage"; |
| | | tabPageRecordImage.Padding = new Padding(3); |
| | | tabPageRecordImage.Size = new Size(613, 516); |
| | | tabPageRecordImage.Padding = new Padding(4, 4, 4, 4); |
| | | tabPageRecordImage.Size = new Size(790, 611); |
| | | tabPageRecordImage.TabIndex = 1; |
| | | tabPageRecordImage.Text = "结果图像"; |
| | | tabPageRecordImage.UseVisualStyleBackColor = true; |
| | |
| | | // pnlRecordImage |
| | | // |
| | | pnlRecordImage.Dock = DockStyle.Fill; |
| | | pnlRecordImage.Location = new Point(3, 3); |
| | | pnlRecordImage.Margin = new Padding(4); |
| | | pnlRecordImage.Location = new Point(4, 4); |
| | | pnlRecordImage.Margin = new Padding(5, 5, 5, 5); |
| | | pnlRecordImage.Name = "pnlRecordImage"; |
| | | pnlRecordImage.Size = new Size(607, 510); |
| | | pnlRecordImage.Size = new Size(782, 603); |
| | | pnlRecordImage.TabIndex = 45; |
| | | // |
| | | // HFindCode2dToolEdit |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 17F); |
| | | AutoScaleDimensions = new SizeF(9F, 20F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(MainTableLayoutPanel); |
| | | Controls.Add(BtmStatusStrip); |
| | | Controls.Add(TopToolStrip); |
| | | Margin = new Padding(2, 3, 2, 3); |
| | | Margin = new Padding(3, 4, 3, 4); |
| | | Name = "HFindCode2dToolEdit"; |
| | | Size = new Size(1044, 599); |
| | | Size = new Size(1342, 705); |
| | | Load += HFindCode2dToolEdit_Load; |
| | | tablePanelParas.ResumeLayout(false); |
| | | tablePanelParas.PerformLayout(); |