276 lines
13 KiB
C#
276 lines
13 KiB
C#
namespace Ultron.Ngrok
|
|
{
|
|
partial class SettingForm
|
|
{
|
|
/// <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()
|
|
{
|
|
this.TunnelConfigGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.enableCBX = new System.Windows.Forms.CheckBox();
|
|
this.ipTB = new System.Windows.Forms.TextBox();
|
|
this.delButton = new System.Windows.Forms.Button();
|
|
this.addButton = new System.Windows.Forms.Button();
|
|
this.portTB = new System.Windows.Forms.TextBox();
|
|
this.tunnelNameTB = new System.Windows.Forms.TextBox();
|
|
this.subdomainTB = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.tunnelTypeLabelPort = new System.Windows.Forms.Label();
|
|
this.subdomainLBL = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.tunnelTypeLabel = new System.Windows.Forms.Label();
|
|
this.tunnelTypeCMB = new System.Windows.Forms.ComboBox();
|
|
this.tunnelListBox = new System.Windows.Forms.ListBox();
|
|
this.saveButton = new System.Windows.Forms.Button();
|
|
this.TunnelConfigGroupBox.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// TunnelConfigGroupBox
|
|
//
|
|
this.TunnelConfigGroupBox.Controls.Add(this.enableCBX);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.ipTB);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.delButton);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.addButton);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.portTB);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.tunnelNameTB);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.subdomainTB);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.label1);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.label2);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.label5);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.tunnelTypeLabelPort);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.subdomainLBL);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.label3);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.tunnelTypeLabel);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.tunnelTypeCMB);
|
|
this.TunnelConfigGroupBox.Controls.Add(this.tunnelListBox);
|
|
this.TunnelConfigGroupBox.Location = new System.Drawing.Point(12, 12);
|
|
this.TunnelConfigGroupBox.Name = "TunnelConfigGroupBox";
|
|
this.TunnelConfigGroupBox.Size = new System.Drawing.Size(291, 201);
|
|
this.TunnelConfigGroupBox.TabIndex = 8;
|
|
this.TunnelConfigGroupBox.TabStop = false;
|
|
this.TunnelConfigGroupBox.Text = "通道配置";
|
|
//
|
|
// enableCBX
|
|
//
|
|
this.enableCBX.AutoSize = true;
|
|
this.enableCBX.Location = new System.Drawing.Point(193, 154);
|
|
this.enableCBX.Name = "enableCBX";
|
|
this.enableCBX.Size = new System.Drawing.Size(15, 14);
|
|
this.enableCBX.TabIndex = 10;
|
|
this.enableCBX.UseVisualStyleBackColor = true;
|
|
//
|
|
// ipTB
|
|
//
|
|
this.ipTB.Location = new System.Drawing.Point(193, 100);
|
|
this.ipTB.Name = "ipTB";
|
|
this.ipTB.Size = new System.Drawing.Size(92, 21);
|
|
this.ipTB.TabIndex = 9;
|
|
//
|
|
// delButton
|
|
//
|
|
this.delButton.Location = new System.Drawing.Point(76, 172);
|
|
this.delButton.Name = "delButton";
|
|
this.delButton.Size = new System.Drawing.Size(50, 23);
|
|
this.delButton.TabIndex = 1;
|
|
this.delButton.Text = "删除";
|
|
this.delButton.UseVisualStyleBackColor = true;
|
|
this.delButton.Click += new System.EventHandler(this.delButton_Click);
|
|
//
|
|
// addButton
|
|
//
|
|
this.addButton.Location = new System.Drawing.Point(6, 172);
|
|
this.addButton.Name = "addButton";
|
|
this.addButton.Size = new System.Drawing.Size(50, 23);
|
|
this.addButton.TabIndex = 1;
|
|
this.addButton.Text = "新增";
|
|
this.addButton.UseVisualStyleBackColor = true;
|
|
this.addButton.Click += new System.EventHandler(this.addButton_Click);
|
|
//
|
|
// portTB
|
|
//
|
|
this.portTB.Location = new System.Drawing.Point(193, 127);
|
|
this.portTB.Name = "portTB";
|
|
this.portTB.Size = new System.Drawing.Size(92, 21);
|
|
this.portTB.TabIndex = 9;
|
|
//
|
|
// tunnelNameTB
|
|
//
|
|
this.tunnelNameTB.Location = new System.Drawing.Point(193, 20);
|
|
this.tunnelNameTB.Name = "tunnelNameTB";
|
|
this.tunnelNameTB.Size = new System.Drawing.Size(92, 21);
|
|
this.tunnelNameTB.TabIndex = 9;
|
|
//
|
|
// subdomainTB
|
|
//
|
|
this.subdomainTB.Location = new System.Drawing.Point(193, 47);
|
|
this.subdomainTB.Name = "subdomainTB";
|
|
this.subdomainTB.Size = new System.Drawing.Size(92, 21);
|
|
this.subdomainTB.TabIndex = 9;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(158, 154);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(29, 12);
|
|
this.label1.TabIndex = 8;
|
|
this.label1.Text = "启用";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(158, 130);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(29, 12);
|
|
this.label2.TabIndex = 8;
|
|
this.label2.Text = "端口";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(158, 24);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(29, 12);
|
|
this.label5.TabIndex = 8;
|
|
this.label5.Text = "名称";
|
|
//
|
|
// tunnelTypeLabelPort
|
|
//
|
|
this.tunnelTypeLabelPort.AutoSize = true;
|
|
this.tunnelTypeLabelPort.Location = new System.Drawing.Point(134, 50);
|
|
this.tunnelTypeLabelPort.Name = "tunnelTypeLabelPort";
|
|
this.tunnelTypeLabelPort.Size = new System.Drawing.Size(53, 12);
|
|
this.tunnelTypeLabelPort.TabIndex = 8;
|
|
this.tunnelTypeLabelPort.Text = "远程端口";
|
|
this.tunnelTypeLabelPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.tunnelTypeLabelPort.Visible = false;
|
|
//
|
|
// subdomainLBL
|
|
//
|
|
this.subdomainLBL.AutoSize = true;
|
|
this.subdomainLBL.Location = new System.Drawing.Point(146, 50);
|
|
this.subdomainLBL.Name = "subdomainLBL";
|
|
this.subdomainLBL.Size = new System.Drawing.Size(41, 12);
|
|
this.subdomainLBL.TabIndex = 8;
|
|
this.subdomainLBL.Text = "子域名";
|
|
this.subdomainLBL.Visible = false;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(146, 103);
|
|
this.label3.Name = "label3";
|
|
this.label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
|
this.label3.Size = new System.Drawing.Size(41, 12);
|
|
this.label3.TabIndex = 7;
|
|
this.label3.Text = "IP地址";
|
|
//
|
|
// tunnelTypeLabel
|
|
//
|
|
this.tunnelTypeLabel.AutoSize = true;
|
|
this.tunnelTypeLabel.Location = new System.Drawing.Point(134, 77);
|
|
this.tunnelTypeLabel.Name = "tunnelTypeLabel";
|
|
this.tunnelTypeLabel.Size = new System.Drawing.Size(53, 12);
|
|
this.tunnelTypeLabel.TabIndex = 7;
|
|
this.tunnelTypeLabel.Text = "通道类型";
|
|
//
|
|
// tunnelTypeCMB
|
|
//
|
|
this.tunnelTypeCMB.FormattingEnabled = true;
|
|
this.tunnelTypeCMB.Items.AddRange(new object[] {
|
|
"TCP",
|
|
"HTTP"});
|
|
this.tunnelTypeCMB.Location = new System.Drawing.Point(193, 74);
|
|
this.tunnelTypeCMB.Name = "tunnelTypeCMB";
|
|
this.tunnelTypeCMB.Size = new System.Drawing.Size(92, 20);
|
|
this.tunnelTypeCMB.TabIndex = 6;
|
|
this.tunnelTypeCMB.SelectedIndexChanged += new System.EventHandler(this.tunnelTypeCMB_SelectedIndexChanged);
|
|
//
|
|
// tunnelListBox
|
|
//
|
|
this.tunnelListBox.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.tunnelListBox.FormattingEnabled = true;
|
|
this.tunnelListBox.ItemHeight = 14;
|
|
this.tunnelListBox.Location = new System.Drawing.Point(6, 20);
|
|
this.tunnelListBox.Name = "tunnelListBox";
|
|
this.tunnelListBox.Size = new System.Drawing.Size(120, 144);
|
|
this.tunnelListBox.TabIndex = 5;
|
|
this.tunnelListBox.SelectedIndexChanged += new System.EventHandler(this.tunnelListBox_SelectedValueChanged);
|
|
//
|
|
// saveButton
|
|
//
|
|
this.saveButton.Location = new System.Drawing.Point(228, 219);
|
|
this.saveButton.Name = "saveButton";
|
|
this.saveButton.Size = new System.Drawing.Size(75, 23);
|
|
this.saveButton.TabIndex = 1;
|
|
this.saveButton.Text = "保存";
|
|
this.saveButton.UseVisualStyleBackColor = true;
|
|
this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
|
|
//
|
|
// SettingForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(309, 247);
|
|
this.Controls.Add(this.TunnelConfigGroupBox);
|
|
this.Controls.Add(this.saveButton);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "SettingForm";
|
|
this.ShowIcon = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "设置";
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.SettingForm_FormClosed);
|
|
this.TunnelConfigGroupBox.ResumeLayout(false);
|
|
this.TunnelConfigGroupBox.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox TunnelConfigGroupBox;
|
|
private System.Windows.Forms.CheckBox enableCBX;
|
|
private System.Windows.Forms.TextBox ipTB;
|
|
private System.Windows.Forms.Button delButton;
|
|
private System.Windows.Forms.Button addButton;
|
|
private System.Windows.Forms.Button saveButton;
|
|
private System.Windows.Forms.TextBox portTB;
|
|
private System.Windows.Forms.TextBox tunnelNameTB;
|
|
private System.Windows.Forms.TextBox subdomainTB;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label subdomainLBL;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label tunnelTypeLabel;
|
|
private System.Windows.Forms.ComboBox tunnelTypeCMB;
|
|
private System.Windows.Forms.ListBox tunnelListBox;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label tunnelTypeLabelPort;
|
|
}
|
|
} |