2025-03-12 17:18:39 +08:00
|
|
|
|
namespace DHSoftware.Views
|
|
|
|
|
{
|
|
|
|
|
partial class CamConfigFrm
|
|
|
|
|
{
|
2025-03-13 18:54:05 +08:00
|
|
|
|
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// <summary>
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// 必需的设计器变量
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// 清理所有正在使用的资源
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// </summary>
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false </param>
|
2025-03-12 17:18:39 +08:00
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
2025-03-18 14:20:11 +08:00
|
|
|
|
/// 使用代码编辑器修改此方法的内容
|
2025-03-12 17:18:39 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2025-03-13 18:54:05 +08:00
|
|
|
|
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();
|
|
|
|
|
tabs1.SuspendLayout();
|
|
|
|
|
tabPage1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dgvCams).BeginInit();
|
2025-03-12 17:18:39 +08:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
2025-03-13 18:54:05 +08:00
|
|
|
|
// tabs1
|
|
|
|
|
//
|
|
|
|
|
tabs1.Controls.Add(tabPage1);
|
|
|
|
|
tabs1.Dock = DockStyle.Fill;
|
|
|
|
|
tabs1.Location = new Point(0, 0);
|
|
|
|
|
tabs1.Name = "tabs1";
|
|
|
|
|
tabs1.Pages.Add(tabPage1);
|
2025-03-13 19:27:31 +08:00
|
|
|
|
tabs1.Size = new Size(489, 563);
|
2025-03-13 18:54:05 +08:00
|
|
|
|
tabs1.Style = styleLine1;
|
|
|
|
|
tabs1.TabIndex = 0;
|
|
|
|
|
tabs1.Text = "tabs1";
|
|
|
|
|
//
|
|
|
|
|
// tabPage1
|
|
|
|
|
//
|
|
|
|
|
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";
|
2025-03-13 19:27:31 +08:00
|
|
|
|
tabPage1.Size = new Size(483, 532);
|
2025-03-13 18:54:05 +08:00
|
|
|
|
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";
|
2025-03-13 19:27:31 +08:00
|
|
|
|
btnRefreshCamList.Size = new Size(423, 33);
|
2025-03-13 18:54:05 +08:00
|
|
|
|
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";
|
2025-03-13 19:27:31 +08:00
|
|
|
|
dgvCams.Size = new Size(421, 206);
|
2025-03-13 18:54:05 +08:00
|
|
|
|
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";
|
2025-03-13 19:27:31 +08:00
|
|
|
|
COMBO_DEVICES.Size = new Size(359, 25);
|
2025-03-13 18:54:05 +08:00
|
|
|
|
COMBO_DEVICES.TabIndex = 0;
|
|
|
|
|
//
|
2025-03-12 17:18:39 +08:00
|
|
|
|
// CamConfigFrm
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2025-03-13 18:54:05 +08:00
|
|
|
|
Controls.Add(tabs1);
|
2025-03-12 17:18:39 +08:00
|
|
|
|
Name = "CamConfigFrm";
|
2025-03-13 19:27:31 +08:00
|
|
|
|
Size = new Size(489, 563);
|
2025-03-13 18:54:05 +08:00
|
|
|
|
tabs1.ResumeLayout(false);
|
|
|
|
|
tabPage1.ResumeLayout(false);
|
|
|
|
|
tabPage1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dgvCams).EndInit();
|
2025-03-12 17:18:39 +08:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2025-03-13 18:54:05 +08:00
|
|
|
|
|
|
|
|
|
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;
|
2025-03-12 17:18:39 +08:00
|
|
|
|
}
|
|
|
|
|
}
|