230 lines
8.0 KiB
C#
230 lines
8.0 KiB
C#
namespace SwitchDahua
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
groupBox1 = new GroupBox();
|
|
button1 = new Button();
|
|
comboBox1 = new ComboBox();
|
|
statusConnect = new Label();
|
|
label3 = new Label();
|
|
label2 = new Label();
|
|
label1 = new Label();
|
|
textBox3 = new TextBox();
|
|
textBox2 = new TextBox();
|
|
tabControl1 = new TabControl();
|
|
tabPage1 = new TabPage();
|
|
textBox4 = new TextBox();
|
|
tabPage2 = new TabPage();
|
|
textBox5 = new TextBox();
|
|
groupBox1.SuspendLayout();
|
|
tabControl1.SuspendLayout();
|
|
tabPage1.SuspendLayout();
|
|
tabPage2.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Controls.Add(button1);
|
|
groupBox1.Controls.Add(comboBox1);
|
|
groupBox1.Controls.Add(statusConnect);
|
|
groupBox1.Controls.Add(label3);
|
|
groupBox1.Controls.Add(label2);
|
|
groupBox1.Controls.Add(label1);
|
|
groupBox1.Controls.Add(textBox3);
|
|
groupBox1.Controls.Add(textBox2);
|
|
groupBox1.Location = new Point(12, 12);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(713, 60);
|
|
groupBox1.TabIndex = 0;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "groupBox1";
|
|
//
|
|
// button1
|
|
//
|
|
button1.Location = new Point(571, 18);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(96, 23);
|
|
button1.TabIndex = 3;
|
|
button1.Text = "Подключиться";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// comboBox1
|
|
//
|
|
comboBox1.FormattingEnabled = true;
|
|
comboBox1.Items.AddRange(new object[] { "172.22.10.2\t", "172.22.10.3\t", "172.22.10.6\t", "172.22.10.7\t", "172.22.10.8\t", "172.22.10.9\t", "172.22.10.12\t", "172.22.10.13\t" });
|
|
comboBox1.Location = new Point(32, 20);
|
|
comboBox1.Name = "comboBox1";
|
|
comboBox1.Size = new Size(147, 21);
|
|
comboBox1.TabIndex = 2;
|
|
comboBox1.Text = "172.16.48.9\tkr0-1-sw1";
|
|
comboBox1.SelectedIndexChanged += comboBox1_SelectedIndexChanged;
|
|
//
|
|
// statusConnect
|
|
//
|
|
statusConnect.AutoSize = true;
|
|
statusConnect.Location = new Point(673, 23);
|
|
statusConnect.Name = "statusConnect";
|
|
statusConnect.Size = new Size(31, 13);
|
|
statusConnect.TabIndex = 2;
|
|
statusConnect.Text = "✅❎";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(370, 23);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(48, 13);
|
|
label3.TabIndex = 2;
|
|
label3.Text = "Пароль:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(185, 23);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(37, 13);
|
|
label2.TabIndex = 2;
|
|
label2.Text = "Логин";
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(6, 23);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(21, 13);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "IP:";
|
|
//
|
|
// textBox3
|
|
//
|
|
textBox3.Location = new Point(422, 20);
|
|
textBox3.Name = "textBox3";
|
|
textBox3.PasswordChar = '#';
|
|
textBox3.Size = new Size(127, 21);
|
|
textBox3.TabIndex = 0;
|
|
textBox3.Text = "4NUDZhJ7";
|
|
//
|
|
// textBox2
|
|
//
|
|
textBox2.Location = new Point(226, 20);
|
|
textBox2.Name = "textBox2";
|
|
textBox2.Size = new Size(127, 21);
|
|
textBox2.TabIndex = 0;
|
|
textBox2.Text = "admin";
|
|
//
|
|
// tabControl1
|
|
//
|
|
tabControl1.Controls.Add(tabPage1);
|
|
tabControl1.Controls.Add(tabPage2);
|
|
tabControl1.Font = new Font("Tahoma", 12F);
|
|
tabControl1.Location = new Point(12, 78);
|
|
tabControl1.Name = "tabControl1";
|
|
tabControl1.SelectedIndex = 0;
|
|
tabControl1.Size = new Size(713, 690);
|
|
tabControl1.TabIndex = 1;
|
|
//
|
|
// tabPage1
|
|
//
|
|
tabPage1.Controls.Add(textBox4);
|
|
tabPage1.Location = new Point(4, 22);
|
|
tabPage1.Name = "tabPage1";
|
|
tabPage1.Padding = new Padding(3);
|
|
tabPage1.Size = new Size(705, 664);
|
|
tabPage1.TabIndex = 0;
|
|
tabPage1.Text = "LLDP";
|
|
tabPage1.UseVisualStyleBackColor = true;
|
|
//
|
|
// textBox4
|
|
//
|
|
textBox4.Font = new Font("Tahoma", 12F);
|
|
textBox4.Location = new Point(6, 6);
|
|
textBox4.Multiline = true;
|
|
textBox4.Name = "textBox4";
|
|
textBox4.ScrollBars = ScrollBars.Vertical;
|
|
textBox4.Size = new Size(693, 652);
|
|
textBox4.TabIndex = 0;
|
|
//
|
|
// tabPage2
|
|
//
|
|
tabPage2.Controls.Add(textBox5);
|
|
tabPage2.Location = new Point(4, 28);
|
|
tabPage2.Name = "tabPage2";
|
|
tabPage2.Padding = new Padding(3);
|
|
tabPage2.Size = new Size(705, 658);
|
|
tabPage2.TabIndex = 1;
|
|
tabPage2.Text = "MAC";
|
|
tabPage2.UseVisualStyleBackColor = true;
|
|
//
|
|
// textBox5
|
|
//
|
|
textBox5.Location = new Point(6, 6);
|
|
textBox5.Multiline = true;
|
|
textBox5.Name = "textBox5";
|
|
textBox5.Size = new Size(693, 397);
|
|
textBox5.TabIndex = 0;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(6F, 13F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(734, 780);
|
|
Controls.Add(tabControl1);
|
|
Controls.Add(groupBox1);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
groupBox1.ResumeLayout(false);
|
|
groupBox1.PerformLayout();
|
|
tabControl1.ResumeLayout(false);
|
|
tabPage1.ResumeLayout(false);
|
|
tabPage1.PerformLayout();
|
|
tabPage2.ResumeLayout(false);
|
|
tabPage2.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private GroupBox groupBox1;
|
|
private Label label1;
|
|
private Button button1;
|
|
private Label label3;
|
|
private Label label2;
|
|
private TextBox textBox3;
|
|
private TextBox textBox2;
|
|
private Label statusConnect;
|
|
private TabControl tabControl1;
|
|
private TabPage tabPage1;
|
|
private TextBox textBox4;
|
|
private TabPage tabPage2;
|
|
private TextBox textBox5;
|
|
private ComboBox comboBox1;
|
|
}
|
|
}
|