修改更新界面
This commit is contained in:
121
DHSoftware/Views/CamConfigFrm.Designer.cs
generated
121
DHSoftware/Views/CamConfigFrm.Designer.cs
generated
@ -2,6 +2,7 @@
|
||||
{
|
||||
partial class CamConfigFrm
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
@ -28,17 +29,135 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
AntdUI.Tabs.StyleLine styleLine1 = new AntdUI.Tabs.StyleLine();
|
||||
tabs1 = new AntdUI.Tabs();
|
||||
tabPage1 = new AntdUI.TabPage();
|
||||
label1 = new Label();
|
||||
btnRefreshCamList = new Button();
|
||||
dgvCams = new DataGridView();
|
||||
CamName = new DataGridViewTextBoxColumn();
|
||||
Serinum = new DataGridViewTextBoxColumn();
|
||||
IP = new DataGridViewTextBoxColumn();
|
||||
COMBO_DEVICES = new ComboBox();
|
||||
btnsubmit = new Button();
|
||||
tabs1.SuspendLayout();
|
||||
tabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)dgvCams).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// tabs1
|
||||
//
|
||||
tabs1.Controls.Add(tabPage1);
|
||||
tabs1.Dock = DockStyle.Fill;
|
||||
tabs1.Location = new Point(0, 0);
|
||||
tabs1.Name = "tabs1";
|
||||
tabs1.Pages.Add(tabPage1);
|
||||
tabs1.Size = new Size(391, 407);
|
||||
tabs1.Style = styleLine1;
|
||||
tabs1.TabIndex = 0;
|
||||
tabs1.Text = "tabs1";
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
tabPage1.Controls.Add(btnsubmit);
|
||||
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.TabIndex = 0;
|
||||
tabPage1.Text = "相机配置";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(38, 15);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(56, 17);
|
||||
label1.TabIndex = 3;
|
||||
label1.Text = "相机类型";
|
||||
//
|
||||
// btnRefreshCamList
|
||||
//
|
||||
btnRefreshCamList.Location = new Point(36, 43);
|
||||
btnRefreshCamList.Name = "btnRefreshCamList";
|
||||
btnRefreshCamList.Size = new Size(286, 33);
|
||||
btnRefreshCamList.TabIndex = 2;
|
||||
btnRefreshCamList.Text = "刷新相机列表";
|
||||
btnRefreshCamList.UseVisualStyleBackColor = true;
|
||||
btnRefreshCamList.Click += btnRefreshCamList_Click;
|
||||
//
|
||||
// dgvCams
|
||||
//
|
||||
dgvCams.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
||||
dgvCams.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dgvCams.Columns.AddRange(new DataGridViewColumn[] { CamName, Serinum, IP });
|
||||
dgvCams.Location = new Point(38, 82);
|
||||
dgvCams.Name = "dgvCams";
|
||||
dgvCams.Size = new Size(284, 206);
|
||||
dgvCams.TabIndex = 1;
|
||||
//
|
||||
// CamName
|
||||
//
|
||||
CamName.HeaderText = "相机名";
|
||||
CamName.Name = "CamName";
|
||||
//
|
||||
// Serinum
|
||||
//
|
||||
Serinum.HeaderText = "序列号";
|
||||
Serinum.Name = "Serinum";
|
||||
//
|
||||
// IP
|
||||
//
|
||||
IP.HeaderText = "相机IP";
|
||||
IP.Name = "IP";
|
||||
//
|
||||
// COMBO_DEVICES
|
||||
//
|
||||
COMBO_DEVICES.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
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.TabIndex = 0;
|
||||
//
|
||||
// btnsubmit
|
||||
//
|
||||
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;
|
||||
//
|
||||
// CamConfigFrm
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 17F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
Controls.Add(tabs1);
|
||||
Name = "CamConfigFrm";
|
||||
Size = new Size(869, 521);
|
||||
Size = new Size(391, 407);
|
||||
tabs1.ResumeLayout(false);
|
||||
tabPage1.ResumeLayout(false);
|
||||
tabPage1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)dgvCams).EndInit();
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private AntdUI.Tabs tabs1;
|
||||
private AntdUI.TabPage tabPage1;
|
||||
private ComboBox COMBO_DEVICES;
|
||||
private Button btnRefreshCamList;
|
||||
private DataGridView dgvCams;
|
||||
private Label label1;
|
||||
private DataGridViewTextBoxColumn CamName;
|
||||
private DataGridViewTextBoxColumn Serinum;
|
||||
private DataGridViewTextBoxColumn IP;
|
||||
private Button btnsubmit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user