📄 form1.designer.cs
字号:
namespace SNMPApp_bookExample
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.hostTextBox = new System.Windows.Forms.TextBox();
this.comTextBox = new System.Windows.Forms.TextBox();
this.resultListBox = new System.Windows.Forms.ListBox();
this.nameBtn = new System.Windows.Forms.Button();
this.addBtn = new System.Windows.Forms.Button();
this.runtimeBtn = new System.Windows.Forms.Button();
this.ipAddBtn = new System.Windows.Forms.Button();
this.clearBtn = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 12);
this.label1.TabIndex = 0;
this.label1.Text = "host:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 36);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(65, 12);
this.label2.TabIndex = 1;
this.label2.Text = "community:";
//
// hostTextBox
//
this.hostTextBox.Location = new System.Drawing.Point(96, 9);
this.hostTextBox.Name = "hostTextBox";
this.hostTextBox.Size = new System.Drawing.Size(195, 21);
this.hostTextBox.TabIndex = 2;
//
// comTextBox
//
this.comTextBox.Location = new System.Drawing.Point(96, 33);
this.comTextBox.Name = "comTextBox";
this.comTextBox.Size = new System.Drawing.Size(195, 21);
this.comTextBox.TabIndex = 3;
//
// resultListBox
//
this.resultListBox.FormattingEnabled = true;
this.resultListBox.ItemHeight = 12;
this.resultListBox.Location = new System.Drawing.Point(14, 112);
this.resultListBox.Name = "resultListBox";
this.resultListBox.Size = new System.Drawing.Size(481, 208);
this.resultListBox.TabIndex = 4;
//
// nameBtn
//
this.nameBtn.Location = new System.Drawing.Point(14, 70);
this.nameBtn.Name = "nameBtn";
this.nameBtn.Size = new System.Drawing.Size(75, 23);
this.nameBtn.TabIndex = 5;
this.nameBtn.Text = "主机名";
this.nameBtn.UseVisualStyleBackColor = true;
this.nameBtn.Click += new System.EventHandler(this.nameBtn_Click);
//
// addBtn
//
this.addBtn.Location = new System.Drawing.Point(142, 70);
this.addBtn.Name = "addBtn";
this.addBtn.Size = new System.Drawing.Size(75, 23);
this.addBtn.TabIndex = 6;
this.addBtn.Text = "主机位置";
this.addBtn.UseVisualStyleBackColor = true;
this.addBtn.Click += new System.EventHandler(this.addBtn_Click);
//
// runtimeBtn
//
this.runtimeBtn.Location = new System.Drawing.Point(257, 70);
this.runtimeBtn.Name = "runtimeBtn";
this.runtimeBtn.Size = new System.Drawing.Size(75, 23);
this.runtimeBtn.TabIndex = 7;
this.runtimeBtn.Text = "运行时间";
this.runtimeBtn.UseVisualStyleBackColor = true;
this.runtimeBtn.Click += new System.EventHandler(this.runtimeBtn_Click);
//
// ipAddBtn
//
this.ipAddBtn.Location = new System.Drawing.Point(368, 70);
this.ipAddBtn.Name = "ipAddBtn";
this.ipAddBtn.Size = new System.Drawing.Size(110, 23);
this.ipAddBtn.TabIndex = 8;
this.ipAddBtn.Text = "主机IP地址表";
this.ipAddBtn.UseVisualStyleBackColor = true;
this.ipAddBtn.Click += new System.EventHandler(this.ipAddBtn_Click);
//
// clearBtn
//
this.clearBtn.Location = new System.Drawing.Point(381, 25);
this.clearBtn.Name = "clearBtn";
this.clearBtn.Size = new System.Drawing.Size(75, 23);
this.clearBtn.TabIndex = 9;
this.clearBtn.Text = "清空文本框";
this.clearBtn.UseVisualStyleBackColor = true;
this.clearBtn.Click += new System.EventHandler(this.clearBtn_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(517, 332);
this.Controls.Add(this.clearBtn);
this.Controls.Add(this.ipAddBtn);
this.Controls.Add(this.runtimeBtn);
this.Controls.Add(this.addBtn);
this.Controls.Add(this.nameBtn);
this.Controls.Add(this.resultListBox);
this.Controls.Add(this.comTextBox);
this.Controls.Add(this.hostTextBox);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "Form1";
this.Text = "SNMP App";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox hostTextBox;
private System.Windows.Forms.TextBox comTextBox;
private System.Windows.Forms.ListBox resultListBox;
private System.Windows.Forms.Button nameBtn;
private System.Windows.Forms.Button addBtn;
private System.Windows.Forms.Button runtimeBtn;
private System.Windows.Forms.Button ipAddBtn;
private System.Windows.Forms.Button clearBtn;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -