修改逻辑

This commit is contained in:
2025-03-13 19:27:31 +08:00
parent 7828ca663f
commit 9a330c01f8
5 changed files with 222 additions and 208 deletions

View File

@ -39,7 +39,8 @@
Serinum = new DataGridViewTextBoxColumn();
IP = new DataGridViewTextBoxColumn();
COMBO_DEVICES = new ComboBox();
btnsubmit = new Button();
label2 = new Label();
inputNumber1 = new AntdUI.InputNumber();
tabs1.SuspendLayout();
tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)dgvCams).BeginInit();
@ -52,21 +53,22 @@
tabs1.Location = new Point(0, 0);
tabs1.Name = "tabs1";
tabs1.Pages.Add(tabPage1);
tabs1.Size = new Size(391, 407);
tabs1.Size = new Size(489, 563);
tabs1.Style = styleLine1;
tabs1.TabIndex = 0;
tabs1.Text = "tabs1";
//
// tabPage1
//
tabPage1.Controls.Add(btnsubmit);
tabPage1.Controls.Add(inputNumber1);
tabPage1.Controls.Add(label2);
tabPage1.Controls.Add(label1);
tabPage1.Controls.Add(btnRefreshCamList);
tabPage1.Controls.Add(dgvCams);
tabPage1.Controls.Add(COMBO_DEVICES);
tabPage1.Location = new Point(3, 28);
tabPage1.Name = "tabPage1";
tabPage1.Size = new Size(385, 376);
tabPage1.Size = new Size(483, 532);
tabPage1.TabIndex = 0;
tabPage1.Text = "相机配置";
//
@ -83,7 +85,7 @@
//
btnRefreshCamList.Location = new Point(36, 43);
btnRefreshCamList.Name = "btnRefreshCamList";
btnRefreshCamList.Size = new Size(286, 33);
btnRefreshCamList.Size = new Size(423, 33);
btnRefreshCamList.TabIndex = 2;
btnRefreshCamList.Text = "刷新相机列表";
btnRefreshCamList.UseVisualStyleBackColor = true;
@ -96,7 +98,7 @@
dgvCams.Columns.AddRange(new DataGridViewColumn[] { CamName, Serinum, IP });
dgvCams.Location = new Point(38, 82);
dgvCams.Name = "dgvCams";
dgvCams.Size = new Size(284, 206);
dgvCams.Size = new Size(421, 206);
dgvCams.TabIndex = 1;
//
// CamName
@ -120,18 +122,25 @@
COMBO_DEVICES.FormattingEnabled = true;
COMBO_DEVICES.Location = new Point(100, 12);
COMBO_DEVICES.Name = "COMBO_DEVICES";
COMBO_DEVICES.Size = new Size(222, 25);
COMBO_DEVICES.Size = new Size(359, 25);
COMBO_DEVICES.TabIndex = 0;
//
// btnsubmit
// label2
//
btnsubmit.Location = new Point(236, 312);
btnsubmit.Name = "btnsubmit";
btnsubmit.Size = new Size(86, 37);
btnsubmit.TabIndex = 4;
btnsubmit.Text = "确定";
btnsubmit.UseVisualStyleBackColor = true;
btnsubmit.Click += btnsubmit_Click;
label2.AutoSize = true;
label2.Location = new Point(36, 321);
label2.Name = "label2";
label2.Size = new Size(68, 17);
label2.TabIndex = 5;
label2.Text = "工位配置数";
//
// inputNumber1
//
inputNumber1.Location = new Point(100, 309);
inputNumber1.Name = "inputNumber1";
inputNumber1.Size = new Size(141, 39);
inputNumber1.TabIndex = 6;
inputNumber1.Text = "inputNumber1";
//
// CamConfigFrm
//
@ -139,7 +148,7 @@
AutoScaleMode = AutoScaleMode.Font;
Controls.Add(tabs1);
Name = "CamConfigFrm";
Size = new Size(391, 407);
Size = new Size(489, 563);
tabs1.ResumeLayout(false);
tabPage1.ResumeLayout(false);
tabPage1.PerformLayout();
@ -158,6 +167,7 @@
private DataGridViewTextBoxColumn CamName;
private DataGridViewTextBoxColumn Serinum;
private DataGridViewTextBoxColumn IP;
private Button btnsubmit;
private AntdUI.InputNumber inputNumber1;
private Label label2;
}
}