| | |
| | | // |
| | | cmbBrand.Dock = DockStyle.Fill; |
| | | cmbBrand.FormattingEnabled = true; |
| | | cmbBrand.Location = new Point(68, 4); |
| | | cmbBrand.Location = new Point(66, 4); |
| | | cmbBrand.Margin = new Padding(4); |
| | | cmbBrand.Name = "cmbBrand"; |
| | | cmbBrand.Size = new Size(381, 28); |
| | | cmbBrand.Size = new Size(369, 28); |
| | | cmbBrand.TabIndex = 0; |
| | | // |
| | | // cmbSN |
| | | // |
| | | cmbSN.Dock = DockStyle.Fill; |
| | | cmbSN.FormattingEnabled = true; |
| | | cmbSN.Location = new Point(68, 4); |
| | | cmbSN.Location = new Point(66, 4); |
| | | cmbSN.Margin = new Padding(4); |
| | | cmbSN.Name = "cmbSN"; |
| | | cmbSN.Size = new Size(381, 28); |
| | | cmbSN.Size = new Size(369, 28); |
| | | cmbSN.TabIndex = 1; |
| | | cmbSN.SelectedIndexChanged += cmbSN_SelectedIndexChanged; |
| | | cmbSN.MouseDown += cmbSN_MouseDown; |
| | |
| | | label1.Location = new Point(4, 0); |
| | | label1.Margin = new Padding(4, 0, 4, 0); |
| | | label1.Name = "label1"; |
| | | label1.Size = new Size(56, 39); |
| | | label1.Size = new Size(54, 42); |
| | | label1.TabIndex = 2; |
| | | label1.Text = "品牌"; |
| | | label1.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | label2.Location = new Point(4, 0); |
| | | label2.Margin = new Padding(4, 0, 4, 0); |
| | | label2.Name = "label2"; |
| | | label2.Size = new Size(56, 39); |
| | | label2.Size = new Size(54, 42); |
| | | label2.TabIndex = 3; |
| | | label2.Text = "SN"; |
| | | label2.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | // |
| | | btnStartGrab.Dock = DockStyle.Fill; |
| | | btnStartGrab.ForeColor = SystemColors.ControlText; |
| | | btnStartGrab.Location = new Point(117, 4); |
| | | btnStartGrab.Location = new Point(113, 4); |
| | | btnStartGrab.Margin = new Padding(4); |
| | | btnStartGrab.Name = "btnStartGrab"; |
| | | btnStartGrab.Size = new Size(105, 31); |
| | | btnStartGrab.Size = new Size(101, 34); |
| | | btnStartGrab.TabIndex = 5; |
| | | btnStartGrab.Text = "连续采集"; |
| | | btnStartGrab.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | btnCloseGrab.Dock = DockStyle.Fill; |
| | | btnCloseGrab.ForeColor = SystemColors.Desktop; |
| | | btnCloseGrab.Location = new Point(230, 4); |
| | | btnCloseGrab.Location = new Point(222, 4); |
| | | btnCloseGrab.Margin = new Padding(4); |
| | | btnCloseGrab.Name = "btnCloseGrab"; |
| | | btnCloseGrab.Size = new Size(105, 31); |
| | | btnCloseGrab.Size = new Size(101, 34); |
| | | btnCloseGrab.TabIndex = 6; |
| | | btnCloseGrab.Text = "关闭采集"; |
| | | btnCloseGrab.UseVisualStyleBackColor = true; |
| | |
| | | btnGrabOnce.Location = new Point(4, 4); |
| | | btnGrabOnce.Margin = new Padding(4); |
| | | btnGrabOnce.Name = "btnGrabOnce"; |
| | | btnGrabOnce.Size = new Size(105, 31); |
| | | btnGrabOnce.Size = new Size(101, 34); |
| | | btnGrabOnce.TabIndex = 7; |
| | | btnGrabOnce.Text = "单张采集"; |
| | | btnGrabOnce.UseVisualStyleBackColor = true; |
| | |
| | | btnOpen.Location = new Point(4, 4); |
| | | btnOpen.Margin = new Padding(4); |
| | | btnOpen.Name = "btnOpen"; |
| | | btnOpen.Size = new Size(105, 31); |
| | | btnOpen.Size = new Size(101, 34); |
| | | btnOpen.TabIndex = 8; |
| | | btnOpen.Text = "打开"; |
| | | btnOpen.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | btnClose.Dock = DockStyle.Fill; |
| | | btnClose.ForeColor = SystemColors.ControlText; |
| | | btnClose.Location = new Point(117, 4); |
| | | btnClose.Location = new Point(113, 4); |
| | | btnClose.Margin = new Padding(4); |
| | | btnClose.Name = "btnClose"; |
| | | btnClose.Size = new Size(105, 31); |
| | | btnClose.Size = new Size(101, 34); |
| | | btnClose.TabIndex = 9; |
| | | btnClose.Text = "关闭"; |
| | | btnClose.UseVisualStyleBackColor = true; |
| | |
| | | label5.Location = new Point(4, 0); |
| | | label5.Margin = new Padding(4, 0, 4, 0); |
| | | label5.Name = "label5"; |
| | | label5.Size = new Size(146, 39); |
| | | label5.Size = new Size(142, 42); |
| | | label5.TabIndex = 15; |
| | | label5.Text = "取图数量:"; |
| | | label5.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | // |
| | | lblPicCount.AutoSize = true; |
| | | lblPicCount.Dock = DockStyle.Fill; |
| | | lblPicCount.Location = new Point(158, 0); |
| | | lblPicCount.Location = new Point(154, 0); |
| | | lblPicCount.Margin = new Padding(4, 0, 4, 0); |
| | | lblPicCount.Name = "lblPicCount"; |
| | | lblPicCount.Size = new Size(291, 39); |
| | | lblPicCount.Size = new Size(281, 42); |
| | | lblPicCount.TabIndex = 16; |
| | | lblPicCount.Text = "0"; |
| | | lblPicCount.TextAlign = ContentAlignment.MiddleLeft; |
| | |
| | | // txtGain |
| | | // |
| | | txtGain.Dock = DockStyle.Fill; |
| | | txtGain.Location = new Point(68, 4); |
| | | txtGain.Location = new Point(66, 4); |
| | | txtGain.Margin = new Padding(4); |
| | | txtGain.Name = "txtGain"; |
| | | txtGain.Size = new Size(381, 27); |
| | | txtGain.Size = new Size(369, 27); |
| | | txtGain.TabIndex = 21; |
| | | txtGain.TextChanged += txtGain_TextChanged; |
| | | // |
| | | // txtExp |
| | | // |
| | | txtExp.Dock = DockStyle.Fill; |
| | | txtExp.Location = new Point(68, 4); |
| | | txtExp.Location = new Point(66, 4); |
| | | txtExp.Margin = new Padding(4); |
| | | txtExp.Name = "txtExp"; |
| | | txtExp.Size = new Size(381, 27); |
| | | txtExp.Size = new Size(369, 27); |
| | | txtExp.TabIndex = 20; |
| | | txtExp.TextChanged += txtExp_TextChanged; |
| | | // |
| | |
| | | label4.Location = new Point(4, 0); |
| | | label4.Margin = new Padding(4, 0, 4, 0); |
| | | label4.Name = "label4"; |
| | | label4.Size = new Size(56, 39); |
| | | label4.Size = new Size(54, 42); |
| | | label4.TabIndex = 19; |
| | | label4.Text = "增益"; |
| | | label4.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | label3.Location = new Point(4, 0); |
| | | label3.Margin = new Padding(4, 0, 4, 0); |
| | | label3.Name = "label3"; |
| | | label3.Size = new Size(56, 39); |
| | | label3.Size = new Size(54, 42); |
| | | label3.TabIndex = 18; |
| | | label3.Text = "曝光"; |
| | | label3.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | groupBox1.Margin = new Padding(4); |
| | | groupBox1.Name = "groupBox1"; |
| | | groupBox1.Padding = new Padding(4); |
| | | groupBox1.Size = new Size(626, 695); |
| | | groupBox1.Size = new Size(610, 739); |
| | | groupBox1.TabIndex = 17; |
| | | groupBox1.TabStop = false; |
| | | groupBox1.Text = "实时采集"; |
| | |
| | | panel_Picture.Location = new Point(4, 24); |
| | | panel_Picture.Margin = new Padding(4); |
| | | panel_Picture.Name = "panel_Picture"; |
| | | panel_Picture.Size = new Size(618, 667); |
| | | panel_Picture.Size = new Size(602, 711); |
| | | panel_Picture.TabIndex = 0; |
| | | // |
| | | // radioButtonSoft |
| | | // |
| | | radioButtonSoft.AutoSize = true; |
| | | radioButtonSoft.Dock = DockStyle.Fill; |
| | | radioButtonSoft.Location = new Point(4, 145); |
| | | radioButtonSoft.Location = new Point(4, 154); |
| | | radioButtonSoft.Margin = new Padding(4); |
| | | radioButtonSoft.Name = "radioButtonSoft"; |
| | | radioButtonSoft.Size = new Size(453, 39); |
| | | radioButtonSoft.Size = new Size(439, 42); |
| | | radioButtonSoft.TabIndex = 23; |
| | | radioButtonSoft.TabStop = true; |
| | | radioButtonSoft.Text = "软触发"; |
| | |
| | | // |
| | | radioButtonHard.AutoSize = true; |
| | | radioButtonHard.Dock = DockStyle.Fill; |
| | | radioButtonHard.Location = new Point(4, 239); |
| | | radioButtonHard.Location = new Point(4, 254); |
| | | radioButtonHard.Margin = new Padding(4); |
| | | radioButtonHard.Name = "radioButtonHard"; |
| | | radioButtonHard.Size = new Size(453, 39); |
| | | radioButtonHard.Size = new Size(439, 42); |
| | | radioButtonHard.TabIndex = 24; |
| | | radioButtonHard.TabStop = true; |
| | | radioButtonHard.Text = "硬触发"; |
| | |
| | | // splitContainer1.Panel2 |
| | | // |
| | | splitContainer1.Panel2.Controls.Add(groupBox1); |
| | | splitContainer1.Size = new Size(1100, 695); |
| | | splitContainer1.SplitterDistance = 469; |
| | | splitContainer1.Size = new Size(1070, 739); |
| | | splitContainer1.SplitterDistance = 455; |
| | | splitContainer1.SplitterWidth = 5; |
| | | splitContainer1.TabIndex = 19; |
| | | // |
| | |
| | | groupBox2.ForeColor = SystemColors.Control; |
| | | groupBox2.Location = new Point(0, 0); |
| | | groupBox2.Margin = new Padding(4); |
| | | groupBox2.MinimumSize = new Size(336, 72); |
| | | groupBox2.MinimumSize = new Size(326, 76); |
| | | groupBox2.Name = "groupBox2"; |
| | | groupBox2.Padding = new Padding(4); |
| | | groupBox2.Size = new Size(469, 695); |
| | | groupBox2.Size = new Size(455, 739); |
| | | groupBox2.TabIndex = 0; |
| | | groupBox2.TabStop = false; |
| | | groupBox2.Text = "相机参数"; |
| | |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 7.14301062F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 7.143011F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 7.14086771F)); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); |
| | | tableLayoutPanel2.Size = new Size(461, 667); |
| | | tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 25F)); |
| | | tableLayoutPanel2.Size = new Size(447, 711); |
| | | tableLayoutPanel2.TabIndex = 25; |
| | | // |
| | | // tableLayoutPanel3 |
| | | // |
| | | tableLayoutPanel3.ColumnCount = 2; |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 64F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 62F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel3.Controls.Add(label1, 0, 0); |
| | | tableLayoutPanel3.Controls.Add(cmbBrand, 1, 0); |
| | |
| | | tableLayoutPanel3.Name = "tableLayoutPanel3"; |
| | | tableLayoutPanel3.RowCount = 1; |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel3.Size = new Size(453, 39); |
| | | tableLayoutPanel3.Size = new Size(439, 42); |
| | | tableLayoutPanel3.TabIndex = 0; |
| | | // |
| | | // tableLayoutPanel4 |
| | | // |
| | | tableLayoutPanel4.ColumnCount = 2; |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 64F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 62F)); |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel4.Controls.Add(label2, 0, 0); |
| | | tableLayoutPanel4.Controls.Add(cmbSN, 1, 0); |
| | | tableLayoutPanel4.Dock = DockStyle.Fill; |
| | | tableLayoutPanel4.Location = new Point(4, 51); |
| | | tableLayoutPanel4.Location = new Point(4, 54); |
| | | tableLayoutPanel4.Margin = new Padding(4); |
| | | tableLayoutPanel4.Name = "tableLayoutPanel4"; |
| | | tableLayoutPanel4.RowCount = 1; |
| | | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel4.Size = new Size(453, 39); |
| | | tableLayoutPanel4.Size = new Size(439, 42); |
| | | tableLayoutPanel4.TabIndex = 1; |
| | | // |
| | | // tableLayoutPanel5 |
| | |
| | | tableLayoutPanel5.Controls.Add(btnClose, 1, 0); |
| | | tableLayoutPanel5.Controls.Add(btnEdit, 3, 0); |
| | | tableLayoutPanel5.Dock = DockStyle.Fill; |
| | | tableLayoutPanel5.Location = new Point(4, 98); |
| | | tableLayoutPanel5.Location = new Point(4, 104); |
| | | tableLayoutPanel5.Margin = new Padding(4); |
| | | tableLayoutPanel5.Name = "tableLayoutPanel5"; |
| | | tableLayoutPanel5.RowCount = 1; |
| | | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel5.Size = new Size(453, 39); |
| | | tableLayoutPanel5.Size = new Size(439, 42); |
| | | tableLayoutPanel5.TabIndex = 2; |
| | | // |
| | | // btnEdit |
| | |
| | | btnEdit.Dock = DockStyle.Fill; |
| | | btnEdit.Enabled = false; |
| | | btnEdit.ForeColor = SystemColors.ControlText; |
| | | btnEdit.Location = new Point(343, 4); |
| | | btnEdit.Location = new Point(331, 4); |
| | | btnEdit.Margin = new Padding(4); |
| | | btnEdit.Name = "btnEdit"; |
| | | btnEdit.Size = new Size(106, 31); |
| | | btnEdit.Size = new Size(104, 34); |
| | | btnEdit.TabIndex = 10; |
| | | btnEdit.Text = "编辑"; |
| | | btnEdit.UseVisualStyleBackColor = true; |
| | |
| | | tableLayoutPanel6.Controls.Add(btnCloseGrab, 2, 0); |
| | | tableLayoutPanel6.Controls.Add(btnSaveImage, 3, 0); |
| | | tableLayoutPanel6.Dock = DockStyle.Fill; |
| | | tableLayoutPanel6.Location = new Point(4, 192); |
| | | tableLayoutPanel6.Location = new Point(4, 204); |
| | | tableLayoutPanel6.Margin = new Padding(4); |
| | | tableLayoutPanel6.Name = "tableLayoutPanel6"; |
| | | tableLayoutPanel6.RowCount = 1; |
| | | tableLayoutPanel6.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel6.Size = new Size(453, 39); |
| | | tableLayoutPanel6.Size = new Size(439, 42); |
| | | tableLayoutPanel6.TabIndex = 24; |
| | | // |
| | | // btnSaveImage |
| | | // |
| | | btnSaveImage.Dock = DockStyle.Fill; |
| | | btnSaveImage.ForeColor = SystemColors.Desktop; |
| | | btnSaveImage.Location = new Point(342, 2); |
| | | btnSaveImage.Margin = new Padding(3, 2, 3, 2); |
| | | btnSaveImage.Location = new Point(329, 2); |
| | | btnSaveImage.Margin = new Padding(2); |
| | | btnSaveImage.Name = "btnSaveImage"; |
| | | btnSaveImage.Size = new Size(108, 35); |
| | | btnSaveImage.Size = new Size(108, 38); |
| | | btnSaveImage.TabIndex = 8; |
| | | btnSaveImage.Text = "保存图片"; |
| | | btnSaveImage.UseVisualStyleBackColor = true; |
| | |
| | | // tableLayoutPanel7 |
| | | // |
| | | tableLayoutPanel7.ColumnCount = 2; |
| | | tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 64F)); |
| | | tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 62F)); |
| | | tableLayoutPanel7.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel7.Controls.Add(label3, 0, 0); |
| | | tableLayoutPanel7.Controls.Add(txtExp, 1, 0); |
| | | tableLayoutPanel7.Dock = DockStyle.Fill; |
| | | tableLayoutPanel7.Location = new Point(4, 333); |
| | | tableLayoutPanel7.Location = new Point(4, 354); |
| | | tableLayoutPanel7.Margin = new Padding(4); |
| | | tableLayoutPanel7.Name = "tableLayoutPanel7"; |
| | | tableLayoutPanel7.RowCount = 1; |
| | | tableLayoutPanel7.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel7.Size = new Size(453, 39); |
| | | tableLayoutPanel7.Size = new Size(439, 42); |
| | | tableLayoutPanel7.TabIndex = 25; |
| | | // |
| | | // tableLayoutPanel8 |
| | | // |
| | | tableLayoutPanel8.ColumnCount = 2; |
| | | tableLayoutPanel8.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 64F)); |
| | | tableLayoutPanel8.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 62F)); |
| | | tableLayoutPanel8.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel8.Controls.Add(label4, 0, 0); |
| | | tableLayoutPanel8.Controls.Add(txtGain, 1, 0); |
| | | tableLayoutPanel8.Dock = DockStyle.Fill; |
| | | tableLayoutPanel8.Location = new Point(4, 380); |
| | | tableLayoutPanel8.Location = new Point(4, 404); |
| | | tableLayoutPanel8.Margin = new Padding(4); |
| | | tableLayoutPanel8.Name = "tableLayoutPanel8"; |
| | | tableLayoutPanel8.RowCount = 1; |
| | | tableLayoutPanel8.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel8.Size = new Size(453, 39); |
| | | tableLayoutPanel8.Size = new Size(439, 42); |
| | | tableLayoutPanel8.TabIndex = 26; |
| | | // |
| | | // tableLayoutPanel1 |
| | |
| | | tableLayoutPanel1.Controls.Add(ckbUpParams, 1, 0); |
| | | tableLayoutPanel1.Controls.Add(ckbRegrab, 2, 0); |
| | | tableLayoutPanel1.Dock = DockStyle.Fill; |
| | | tableLayoutPanel1.Location = new Point(4, 286); |
| | | tableLayoutPanel1.Location = new Point(4, 304); |
| | | tableLayoutPanel1.Margin = new Padding(4); |
| | | tableLayoutPanel1.Name = "tableLayoutPanel1"; |
| | | tableLayoutPanel1.RowCount = 1; |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel1.Size = new Size(453, 39); |
| | | tableLayoutPanel1.Size = new Size(439, 42); |
| | | tableLayoutPanel1.TabIndex = 29; |
| | | // |
| | | // btnStartHard |
| | |
| | | btnStartHard.Location = new Point(4, 4); |
| | | btnStartHard.Margin = new Padding(4); |
| | | btnStartHard.Name = "btnStartHard"; |
| | | btnStartHard.Size = new Size(82, 31); |
| | | btnStartHard.Size = new Size(79, 34); |
| | | btnStartHard.TabIndex = 22; |
| | | btnStartHard.Text = "等待触发"; |
| | | btnStartHard.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | ckbUpParams.AutoSize = true; |
| | | ckbUpParams.Dock = DockStyle.Fill; |
| | | ckbUpParams.Location = new Point(94, 4); |
| | | ckbUpParams.Location = new Point(91, 4); |
| | | ckbUpParams.Margin = new Padding(4); |
| | | ckbUpParams.Name = "ckbUpParams"; |
| | | ckbUpParams.Size = new Size(173, 31); |
| | | ckbUpParams.Size = new Size(167, 34); |
| | | ckbUpParams.TabIndex = 23; |
| | | ckbUpParams.Text = "是否每次写入参数"; |
| | | ckbUpParams.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | ckbRegrab.AutoSize = true; |
| | | ckbRegrab.Dock = DockStyle.Fill; |
| | | ckbRegrab.Location = new Point(275, 4); |
| | | ckbRegrab.Location = new Point(266, 4); |
| | | ckbRegrab.Margin = new Padding(4); |
| | | ckbRegrab.Name = "ckbRegrab"; |
| | | ckbRegrab.Size = new Size(174, 31); |
| | | ckbRegrab.Size = new Size(169, 34); |
| | | ckbRegrab.TabIndex = 24; |
| | | ckbRegrab.Text = "是否失败重新取图"; |
| | | ckbRegrab.UseVisualStyleBackColor = true; |
| | |
| | | // tableLayoutPanel12 |
| | | // |
| | | tableLayoutPanel12.ColumnCount = 2; |
| | | tableLayoutPanel12.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 154F)); |
| | | tableLayoutPanel12.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 150F)); |
| | | tableLayoutPanel12.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel12.Controls.Add(lblCapTime, 1, 0); |
| | | tableLayoutPanel12.Controls.Add(label7, 0, 0); |
| | | tableLayoutPanel12.Dock = DockStyle.Fill; |
| | | tableLayoutPanel12.Location = new Point(4, 615); |
| | | tableLayoutPanel12.Location = new Point(4, 654); |
| | | tableLayoutPanel12.Margin = new Padding(4); |
| | | tableLayoutPanel12.Name = "tableLayoutPanel12"; |
| | | tableLayoutPanel12.RowCount = 1; |
| | | tableLayoutPanel12.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel12.Size = new Size(453, 48); |
| | | tableLayoutPanel12.Size = new Size(439, 53); |
| | | tableLayoutPanel12.TabIndex = 31; |
| | | // |
| | | // lblCapTime |
| | | // |
| | | lblCapTime.AutoSize = true; |
| | | lblCapTime.Dock = DockStyle.Fill; |
| | | lblCapTime.Location = new Point(158, 0); |
| | | lblCapTime.Location = new Point(154, 0); |
| | | lblCapTime.Margin = new Padding(4, 0, 4, 0); |
| | | lblCapTime.Name = "lblCapTime"; |
| | | lblCapTime.Size = new Size(291, 48); |
| | | lblCapTime.Size = new Size(281, 53); |
| | | lblCapTime.TabIndex = 16; |
| | | lblCapTime.Text = "0ms"; |
| | | lblCapTime.TextAlign = ContentAlignment.MiddleLeft; |
| | |
| | | label7.Location = new Point(4, 0); |
| | | label7.Margin = new Padding(4, 0, 4, 0); |
| | | label7.Name = "label7"; |
| | | label7.Size = new Size(146, 48); |
| | | label7.Size = new Size(142, 53); |
| | | label7.TabIndex = 15; |
| | | label7.Text = "取图时间:"; |
| | | label7.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | // tableLayoutPanel11 |
| | | // |
| | | tableLayoutPanel11.ColumnCount = 2; |
| | | tableLayoutPanel11.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 154F)); |
| | | tableLayoutPanel11.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 150F)); |
| | | tableLayoutPanel11.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel11.Controls.Add(label5, 0, 0); |
| | | tableLayoutPanel11.Controls.Add(lblPicCount, 1, 0); |
| | | tableLayoutPanel11.Dock = DockStyle.Fill; |
| | | tableLayoutPanel11.Location = new Point(4, 568); |
| | | tableLayoutPanel11.Location = new Point(4, 604); |
| | | tableLayoutPanel11.Margin = new Padding(4); |
| | | tableLayoutPanel11.Name = "tableLayoutPanel11"; |
| | | tableLayoutPanel11.RowCount = 1; |
| | | tableLayoutPanel11.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel11.Size = new Size(453, 39); |
| | | tableLayoutPanel11.Size = new Size(439, 42); |
| | | tableLayoutPanel11.TabIndex = 30; |
| | | // |
| | | // cmbImagesPath |
| | |
| | | cmbImagesPath.Dock = DockStyle.Fill; |
| | | cmbImagesPath.ForeColor = SystemColors.ControlText; |
| | | cmbImagesPath.FormattingEnabled = true; |
| | | cmbImagesPath.Location = new Point(4, 521); |
| | | cmbImagesPath.Location = new Point(4, 554); |
| | | cmbImagesPath.Margin = new Padding(4); |
| | | cmbImagesPath.Name = "cmbImagesPath"; |
| | | cmbImagesPath.Size = new Size(453, 28); |
| | | cmbImagesPath.Size = new Size(439, 28); |
| | | cmbImagesPath.TabIndex = 0; |
| | | cmbImagesPath.SelectedIndexChanged += cmbImagesPath_SelectedIndexChanged; |
| | | cmbImagesPath.MouseHover += cmbImagesPath_MouseHover; |
| | |
| | | tableLayoutPanel9.Controls.Add(btnAddImages, 1, 0); |
| | | tableLayoutPanel9.Controls.Add(btnLocalGrab, 2, 0); |
| | | tableLayoutPanel9.Dock = DockStyle.Fill; |
| | | tableLayoutPanel9.Location = new Point(4, 474); |
| | | tableLayoutPanel9.Location = new Point(4, 504); |
| | | tableLayoutPanel9.Margin = new Padding(4); |
| | | tableLayoutPanel9.Name = "tableLayoutPanel9"; |
| | | tableLayoutPanel9.RowCount = 1; |
| | | tableLayoutPanel9.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel9.Size = new Size(453, 39); |
| | | tableLayoutPanel9.Size = new Size(439, 42); |
| | | tableLayoutPanel9.TabIndex = 27; |
| | | // |
| | | // ckbLocalTest |
| | |
| | | ckbLocalTest.Location = new Point(4, 4); |
| | | ckbLocalTest.Margin = new Padding(4); |
| | | ckbLocalTest.Name = "ckbLocalTest"; |
| | | ckbLocalTest.Size = new Size(142, 31); |
| | | ckbLocalTest.Size = new Size(138, 34); |
| | | ckbLocalTest.TabIndex = 0; |
| | | ckbLocalTest.Text = "本地取图"; |
| | | ckbLocalTest.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | btnAddImages.Dock = DockStyle.Fill; |
| | | btnAddImages.ForeColor = SystemColors.Desktop; |
| | | btnAddImages.Location = new Point(154, 4); |
| | | btnAddImages.Location = new Point(150, 4); |
| | | btnAddImages.Margin = new Padding(4); |
| | | btnAddImages.Name = "btnAddImages"; |
| | | btnAddImages.Size = new Size(142, 31); |
| | | btnAddImages.Size = new Size(138, 34); |
| | | btnAddImages.TabIndex = 1; |
| | | btnAddImages.Text = "添加图片"; |
| | | btnAddImages.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | btnLocalGrab.Dock = DockStyle.Fill; |
| | | btnLocalGrab.ForeColor = SystemColors.Desktop; |
| | | btnLocalGrab.Location = new Point(304, 4); |
| | | btnLocalGrab.Location = new Point(296, 4); |
| | | btnLocalGrab.Margin = new Padding(4); |
| | | btnLocalGrab.Name = "btnLocalGrab"; |
| | | btnLocalGrab.Size = new Size(145, 31); |
| | | btnLocalGrab.Size = new Size(139, 34); |
| | | btnLocalGrab.TabIndex = 2; |
| | | btnLocalGrab.Text = "本地取图"; |
| | | btnLocalGrab.UseVisualStyleBackColor = true; |
| | |
| | | // tableLayoutPanel10 |
| | | // |
| | | tableLayoutPanel10.ColumnCount = 2; |
| | | tableLayoutPanel10.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 64F)); |
| | | tableLayoutPanel10.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 62F)); |
| | | tableLayoutPanel10.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel10.Controls.Add(label6, 0, 0); |
| | | tableLayoutPanel10.Controls.Add(txtTimeout, 1, 0); |
| | | tableLayoutPanel10.Dock = DockStyle.Fill; |
| | | tableLayoutPanel10.Location = new Point(4, 427); |
| | | tableLayoutPanel10.Location = new Point(4, 454); |
| | | tableLayoutPanel10.Margin = new Padding(4); |
| | | tableLayoutPanel10.Name = "tableLayoutPanel10"; |
| | | tableLayoutPanel10.RowCount = 1; |
| | | tableLayoutPanel10.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel10.Size = new Size(453, 39); |
| | | tableLayoutPanel10.Size = new Size(439, 42); |
| | | tableLayoutPanel10.TabIndex = 32; |
| | | // |
| | | // label6 |
| | |
| | | label6.Location = new Point(4, 0); |
| | | label6.Margin = new Padding(4, 0, 4, 0); |
| | | label6.Name = "label6"; |
| | | label6.Size = new Size(56, 39); |
| | | label6.Size = new Size(54, 42); |
| | | label6.TabIndex = 0; |
| | | label6.Text = "超时"; |
| | | label6.TextAlign = ContentAlignment.MiddleCenter; |
| | |
| | | // txtTimeout |
| | | // |
| | | txtTimeout.Dock = DockStyle.Fill; |
| | | txtTimeout.Location = new Point(68, 4); |
| | | txtTimeout.Location = new Point(66, 4); |
| | | txtTimeout.Margin = new Padding(4); |
| | | txtTimeout.Name = "txtTimeout"; |
| | | txtTimeout.Size = new Size(381, 27); |
| | | txtTimeout.Size = new Size(369, 27); |
| | | txtTimeout.TabIndex = 1; |
| | | // |
| | | // theme_2DCameraForm |
| | |
| | | theme_2DCameraForm.Location = new Point(0, 0); |
| | | theme_2DCameraForm.Margin = new Padding(4); |
| | | theme_2DCameraForm.Name = "theme_2DCameraForm"; |
| | | theme_2DCameraForm.Padding = new Padding(13, 82, 13, 11); |
| | | theme_2DCameraForm.Padding = new Padding(12, 88, 12, 11); |
| | | theme_2DCameraForm.RoundCorners = true; |
| | | theme_2DCameraForm.Sizable = true; |
| | | theme_2DCameraForm.Size = new Size(1138, 800); |
| | | theme_2DCameraForm.Size = new Size(1106, 850); |
| | | theme_2DCameraForm.SmartBounds = true; |
| | | theme_2DCameraForm.StartPosition = FormStartPosition.WindowsDefaultLocation; |
| | | theme_2DCameraForm.TabIndex = 20; |
| | |
| | | controlBox1.EnableMaximizeButton = false; |
| | | controlBox1.EnableMinimizeButton = false; |
| | | controlBox1.ForeColor = Color.FromArgb(155, 155, 155); |
| | | controlBox1.Location = new Point(1009, 18); |
| | | controlBox1.Location = new Point(981, 18); |
| | | controlBox1.Margin = new Padding(4); |
| | | controlBox1.MaximizeHoverColor = Color.FromArgb(74, 74, 74); |
| | | controlBox1.MinimizeHoverColor = Color.FromArgb(63, 63, 65); |
| | |
| | | panel_2DCameraForm.Controls.Add(splitContainer1); |
| | | panel_2DCameraForm.Dock = DockStyle.Fill; |
| | | panel_2DCameraForm.EdgeColor = Color.FromArgb(32, 41, 50); |
| | | panel_2DCameraForm.Location = new Point(13, 82); |
| | | panel_2DCameraForm.Location = new Point(12, 88); |
| | | panel_2DCameraForm.Margin = new Padding(4); |
| | | panel_2DCameraForm.Name = "panel_2DCameraForm"; |
| | | panel_2DCameraForm.Padding = new Padding(6); |
| | | panel_2DCameraForm.Size = new Size(1112, 707); |
| | | panel_2DCameraForm.Size = new Size(1082, 751); |
| | | panel_2DCameraForm.SmoothingType = System.Drawing.Drawing2D.SmoothingMode.HighQuality; |
| | | panel_2DCameraForm.TabIndex = 20; |
| | | panel_2DCameraForm.Text = "panel2"; |
| | | // |
| | | // CameraForm |
| | | // |
| | | AutoScaleDimensions = new SizeF(9F, 20F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(1138, 800); |
| | | AutoScaleDimensions = new SizeF(120F, 120F); |
| | | AutoScaleMode = AutoScaleMode.Dpi; |
| | | ClientSize = new Size(1106, 850); |
| | | Controls.Add(theme_2DCameraForm); |
| | | FormBorderStyle = FormBorderStyle.None; |
| | | Margin = new Padding(4); |
| | | MinimumSize = new Size(336, 72); |
| | | MinimumSize = new Size(326, 76); |
| | | Name = "CameraForm"; |
| | | Text = "2D相机设置界面"; |
| | | TransparencyKey = Color.Fuchsia; |