345 lines
16 KiB
C#
345 lines
16 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.tabControl1 = new System.Windows.Forms.TabControl();
|
|
this.tabPage1 = new System.Windows.Forms.TabPage();
|
|
this.delButton = new System.Windows.Forms.Button();
|
|
this.enableCBX = new System.Windows.Forms.CheckBox();
|
|
this.addButton = new System.Windows.Forms.Button();
|
|
this.tunnelListBox = new System.Windows.Forms.ListBox();
|
|
this.ipTB = new System.Windows.Forms.TextBox();
|
|
this.tunnelTypeLabelPort = new System.Windows.Forms.Label();
|
|
this.tunnelTypeCMB = new System.Windows.Forms.ComboBox();
|
|
this.tunnelTypeLabel = new System.Windows.Forms.Label();
|
|
this.portTB = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.tunnelNameTB = new System.Windows.Forms.TextBox();
|
|
this.subdomainLBL = new System.Windows.Forms.Label();
|
|
this.subdomainTB = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.tabPage2 = new System.Windows.Forms.TabPage();
|
|
this.tpCheckBox = new System.Windows.Forms.CheckBox();
|
|
this.notShowCB = new System.Windows.Forms.CheckBox();
|
|
this.autoStartCheckBox = new System.Windows.Forms.CheckBox();
|
|
this.saveButton = new System.Windows.Forms.Button();
|
|
this.tabControl1.SuspendLayout();
|
|
this.tabPage1.SuspendLayout();
|
|
this.tabPage2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// tabControl1
|
|
//
|
|
this.tabControl1.Controls.Add(this.tabPage1);
|
|
this.tabControl1.Controls.Add(this.tabPage2);
|
|
this.tabControl1.Location = new System.Drawing.Point(8, 2);
|
|
this.tabControl1.Name = "tabControl1";
|
|
this.tabControl1.SelectedIndex = 0;
|
|
this.tabControl1.Size = new System.Drawing.Size(327, 188);
|
|
this.tabControl1.TabIndex = 9;
|
|
//
|
|
// tabPage1
|
|
//
|
|
this.tabPage1.BackColor = System.Drawing.Color.White;
|
|
this.tabPage1.Controls.Add(this.delButton);
|
|
this.tabPage1.Controls.Add(this.enableCBX);
|
|
this.tabPage1.Controls.Add(this.addButton);
|
|
this.tabPage1.Controls.Add(this.tunnelListBox);
|
|
this.tabPage1.Controls.Add(this.ipTB);
|
|
this.tabPage1.Controls.Add(this.tunnelTypeLabelPort);
|
|
this.tabPage1.Controls.Add(this.tunnelTypeCMB);
|
|
this.tabPage1.Controls.Add(this.tunnelTypeLabel);
|
|
this.tabPage1.Controls.Add(this.portTB);
|
|
this.tabPage1.Controls.Add(this.label3);
|
|
this.tabPage1.Controls.Add(this.tunnelNameTB);
|
|
this.tabPage1.Controls.Add(this.subdomainLBL);
|
|
this.tabPage1.Controls.Add(this.subdomainTB);
|
|
this.tabPage1.Controls.Add(this.label5);
|
|
this.tabPage1.Controls.Add(this.label1);
|
|
this.tabPage1.Controls.Add(this.label2);
|
|
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
|
this.tabPage1.Name = "tabPage1";
|
|
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
|
this.tabPage1.Size = new System.Drawing.Size(319, 162);
|
|
this.tabPage1.TabIndex = 0;
|
|
this.tabPage1.Text = "通道配置";
|
|
//
|
|
// delButton
|
|
//
|
|
this.delButton.Location = new System.Drawing.Point(76, 131);
|
|
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);
|
|
//
|
|
// enableCBX
|
|
//
|
|
this.enableCBX.AutoSize = true;
|
|
this.enableCBX.Location = new System.Drawing.Point(195, 140);
|
|
this.enableCBX.Name = "enableCBX";
|
|
this.enableCBX.Size = new System.Drawing.Size(15, 14);
|
|
this.enableCBX.TabIndex = 10;
|
|
this.enableCBX.UseVisualStyleBackColor = true;
|
|
//
|
|
// addButton
|
|
//
|
|
this.addButton.Location = new System.Drawing.Point(6, 131);
|
|
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);
|
|
//
|
|
// 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, 6);
|
|
this.tunnelListBox.Name = "tunnelListBox";
|
|
this.tunnelListBox.Size = new System.Drawing.Size(120, 116);
|
|
this.tunnelListBox.TabIndex = 5;
|
|
this.tunnelListBox.SelectedIndexChanged += new System.EventHandler(this.tunnelListBox_SelectedValueChanged);
|
|
//
|
|
// ipTB
|
|
//
|
|
this.ipTB.Location = new System.Drawing.Point(195, 86);
|
|
this.ipTB.Name = "ipTB";
|
|
this.ipTB.Size = new System.Drawing.Size(92, 21);
|
|
this.ipTB.TabIndex = 9;
|
|
//
|
|
// tunnelTypeLabelPort
|
|
//
|
|
this.tunnelTypeLabelPort.AutoSize = true;
|
|
this.tunnelTypeLabelPort.Location = new System.Drawing.Point(136, 36);
|
|
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;
|
|
//
|
|
// tunnelTypeCMB
|
|
//
|
|
this.tunnelTypeCMB.FormattingEnabled = true;
|
|
this.tunnelTypeCMB.Items.AddRange(new object[] {
|
|
"TCP",
|
|
"HTTP"});
|
|
this.tunnelTypeCMB.Location = new System.Drawing.Point(195, 60);
|
|
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);
|
|
//
|
|
// tunnelTypeLabel
|
|
//
|
|
this.tunnelTypeLabel.AutoSize = true;
|
|
this.tunnelTypeLabel.Location = new System.Drawing.Point(136, 63);
|
|
this.tunnelTypeLabel.Name = "tunnelTypeLabel";
|
|
this.tunnelTypeLabel.Size = new System.Drawing.Size(53, 12);
|
|
this.tunnelTypeLabel.TabIndex = 7;
|
|
this.tunnelTypeLabel.Text = "通道类型";
|
|
//
|
|
// portTB
|
|
//
|
|
this.portTB.Location = new System.Drawing.Point(195, 113);
|
|
this.portTB.Name = "portTB";
|
|
this.portTB.Size = new System.Drawing.Size(92, 21);
|
|
this.portTB.TabIndex = 9;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(148, 89);
|
|
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地址";
|
|
//
|
|
// tunnelNameTB
|
|
//
|
|
this.tunnelNameTB.Location = new System.Drawing.Point(195, 6);
|
|
this.tunnelNameTB.Name = "tunnelNameTB";
|
|
this.tunnelNameTB.Size = new System.Drawing.Size(92, 21);
|
|
this.tunnelNameTB.TabIndex = 9;
|
|
//
|
|
// subdomainLBL
|
|
//
|
|
this.subdomainLBL.AutoSize = true;
|
|
this.subdomainLBL.Location = new System.Drawing.Point(148, 36);
|
|
this.subdomainLBL.Name = "subdomainLBL";
|
|
this.subdomainLBL.Size = new System.Drawing.Size(41, 12);
|
|
this.subdomainLBL.TabIndex = 8;
|
|
this.subdomainLBL.Text = "子域名";
|
|
this.subdomainLBL.Visible = false;
|
|
//
|
|
// subdomainTB
|
|
//
|
|
this.subdomainTB.Location = new System.Drawing.Point(195, 33);
|
|
this.subdomainTB.Name = "subdomainTB";
|
|
this.subdomainTB.Size = new System.Drawing.Size(92, 21);
|
|
this.subdomainTB.TabIndex = 9;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(160, 10);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(29, 12);
|
|
this.label5.TabIndex = 8;
|
|
this.label5.Text = "名称";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(160, 140);
|
|
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(160, 116);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(29, 12);
|
|
this.label2.TabIndex = 8;
|
|
this.label2.Text = "端口";
|
|
//
|
|
// tabPage2
|
|
//
|
|
this.tabPage2.BackColor = System.Drawing.Color.White;
|
|
this.tabPage2.Controls.Add(this.tpCheckBox);
|
|
this.tabPage2.Controls.Add(this.notShowCB);
|
|
this.tabPage2.Controls.Add(this.autoStartCheckBox);
|
|
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
|
this.tabPage2.Name = "tabPage2";
|
|
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
|
this.tabPage2.Size = new System.Drawing.Size(319, 162);
|
|
this.tabPage2.TabIndex = 1;
|
|
this.tabPage2.Text = "应用设置";
|
|
//
|
|
// tpCheckBox
|
|
//
|
|
this.tpCheckBox.AutoSize = true;
|
|
this.tpCheckBox.Location = new System.Drawing.Point(17, 62);
|
|
this.tpCheckBox.Name = "tpCheckBox";
|
|
this.tpCheckBox.Size = new System.Drawing.Size(108, 16);
|
|
this.tpCheckBox.TabIndex = 12;
|
|
this.tpCheckBox.Text = "退出隐藏到托盘";
|
|
this.tpCheckBox.UseVisualStyleBackColor = true;
|
|
//
|
|
// notShowCB
|
|
//
|
|
this.notShowCB.AutoSize = true;
|
|
this.notShowCB.Location = new System.Drawing.Point(17, 40);
|
|
this.notShowCB.Name = "notShowCB";
|
|
this.notShowCB.Size = new System.Drawing.Size(108, 16);
|
|
this.notShowCB.TabIndex = 12;
|
|
this.notShowCB.Text = "不显示运行窗口";
|
|
this.notShowCB.UseVisualStyleBackColor = true;
|
|
//
|
|
// autoStartCheckBox
|
|
//
|
|
this.autoStartCheckBox.AutoSize = true;
|
|
this.autoStartCheckBox.Location = new System.Drawing.Point(17, 18);
|
|
this.autoStartCheckBox.Name = "autoStartCheckBox";
|
|
this.autoStartCheckBox.Size = new System.Drawing.Size(72, 16);
|
|
this.autoStartCheckBox.TabIndex = 12;
|
|
this.autoStartCheckBox.Text = "自动启动";
|
|
this.autoStartCheckBox.UseVisualStyleBackColor = true;
|
|
//
|
|
// saveButton
|
|
//
|
|
this.saveButton.Location = new System.Drawing.Point(256, 196);
|
|
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(340, 225);
|
|
this.Controls.Add(this.tabControl1);
|
|
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.tabControl1.ResumeLayout(false);
|
|
this.tabPage1.ResumeLayout(false);
|
|
this.tabPage1.PerformLayout();
|
|
this.tabPage2.ResumeLayout(false);
|
|
this.tabPage2.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
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;
|
|
private System.Windows.Forms.TabControl tabControl1;
|
|
private System.Windows.Forms.TabPage tabPage1;
|
|
private System.Windows.Forms.TabPage tabPage2;
|
|
private System.Windows.Forms.CheckBox autoStartCheckBox;
|
|
private System.Windows.Forms.CheckBox notShowCB;
|
|
private System.Windows.Forms.CheckBox tpCheckBox;
|
|
}
|
|
} |