186 lines
9.0 KiB
C#
186 lines
9.0 KiB
C#
namespace Ultron.Ngrok
|
||
{
|
||
partial class FormMain
|
||
{
|
||
/// <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.components = new System.ComponentModel.Container();
|
||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
|
||
this.cmdLogTextArea = new System.Windows.Forms.TextBox();
|
||
this.startBtn = new System.Windows.Forms.Button();
|
||
this.endBtn = new System.Windows.Forms.Button();
|
||
this.topMenuStrip = new System.Windows.Forms.MenuStrip();
|
||
this.设置ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||
this.帮助ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||
this.关于ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
||
this.notifyMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||
this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||
this.显示ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||
this.topMenuStrip.SuspendLayout();
|
||
this.notifyMenuStrip.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// cmdLogTextArea
|
||
//
|
||
this.cmdLogTextArea.BackColor = System.Drawing.SystemColors.Window;
|
||
this.cmdLogTextArea.ForeColor = System.Drawing.SystemColors.InfoText;
|
||
this.cmdLogTextArea.Location = new System.Drawing.Point(12, 28);
|
||
this.cmdLogTextArea.Multiline = true;
|
||
this.cmdLogTextArea.Name = "cmdLogTextArea";
|
||
this.cmdLogTextArea.ReadOnly = true;
|
||
this.cmdLogTextArea.Size = new System.Drawing.Size(339, 129);
|
||
this.cmdLogTextArea.TabIndex = 0;
|
||
//
|
||
// startBtn
|
||
//
|
||
this.startBtn.Location = new System.Drawing.Point(12, 163);
|
||
this.startBtn.Name = "startBtn";
|
||
this.startBtn.Size = new System.Drawing.Size(75, 23);
|
||
this.startBtn.TabIndex = 1;
|
||
this.startBtn.Text = "启动";
|
||
this.startBtn.UseVisualStyleBackColor = true;
|
||
this.startBtn.Click += new System.EventHandler(this.startBtn_Click);
|
||
//
|
||
// endBtn
|
||
//
|
||
this.endBtn.Enabled = false;
|
||
this.endBtn.Location = new System.Drawing.Point(276, 163);
|
||
this.endBtn.Name = "endBtn";
|
||
this.endBtn.Size = new System.Drawing.Size(75, 23);
|
||
this.endBtn.TabIndex = 2;
|
||
this.endBtn.Text = "结束";
|
||
this.endBtn.UseVisualStyleBackColor = true;
|
||
this.endBtn.Click += new System.EventHandler(this.endBtn_Click);
|
||
//
|
||
// topMenuStrip
|
||
//
|
||
this.topMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||
this.设置ToolStripMenuItem,
|
||
this.帮助ToolStripMenuItem,
|
||
this.关于ToolStripMenuItem});
|
||
this.topMenuStrip.Location = new System.Drawing.Point(0, 0);
|
||
this.topMenuStrip.Name = "topMenuStrip";
|
||
this.topMenuStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
||
this.topMenuStrip.Size = new System.Drawing.Size(362, 25);
|
||
this.topMenuStrip.TabIndex = 4;
|
||
this.topMenuStrip.Text = "menuStrip1";
|
||
//
|
||
// 设置ToolStripMenuItem
|
||
//
|
||
this.设置ToolStripMenuItem.Name = "设置ToolStripMenuItem";
|
||
this.设置ToolStripMenuItem.Size = new System.Drawing.Size(44, 21);
|
||
this.设置ToolStripMenuItem.Text = "设置";
|
||
this.设置ToolStripMenuItem.Click += new System.EventHandler(this.设置ToolStripMenuItem_Click);
|
||
//
|
||
// 帮助ToolStripMenuItem
|
||
//
|
||
this.帮助ToolStripMenuItem.Name = "帮助ToolStripMenuItem";
|
||
this.帮助ToolStripMenuItem.Size = new System.Drawing.Size(44, 21);
|
||
this.帮助ToolStripMenuItem.Text = "帮助";
|
||
this.帮助ToolStripMenuItem.Click += new System.EventHandler(this.帮助ToolStripMenuItem_Click);
|
||
//
|
||
// 关于ToolStripMenuItem
|
||
//
|
||
this.关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
|
||
this.关于ToolStripMenuItem.Size = new System.Drawing.Size(44, 21);
|
||
this.关于ToolStripMenuItem.Text = "关于";
|
||
this.关于ToolStripMenuItem.Click += new System.EventHandler(this.关于ToolStripMenuItem_Click);
|
||
//
|
||
// notifyIcon
|
||
//
|
||
this.notifyIcon.ContextMenuStrip = this.notifyMenuStrip;
|
||
this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
|
||
this.notifyIcon.Text = Program.FormName;
|
||
this.notifyIcon.Visible = true;
|
||
this.notifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.NotifyIcon_MouseDoubleClick);
|
||
//
|
||
// notifyMenuStrip
|
||
//
|
||
this.notifyMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||
this.显示ToolStripMenuItem,
|
||
this.退出ToolStripMenuItem});
|
||
this.notifyMenuStrip.Name = "notifyMenuStrip";
|
||
this.notifyMenuStrip.Size = new System.Drawing.Size(181, 70);
|
||
//
|
||
// 退出ToolStripMenuItem
|
||
//
|
||
this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
|
||
this.退出ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||
this.退出ToolStripMenuItem.Text = "退出";
|
||
this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
|
||
//
|
||
// 显示ToolStripMenuItem
|
||
//
|
||
this.显示ToolStripMenuItem.Name = "显示ToolStripMenuItem";
|
||
this.显示ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||
this.显示ToolStripMenuItem.Text = "显示";
|
||
this.显示ToolStripMenuItem.Click += new System.EventHandler(this.显示ToolStripMenuItem_Click);
|
||
//
|
||
// FormMain
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(362, 194);
|
||
this.Controls.Add(this.endBtn);
|
||
this.Controls.Add(this.startBtn);
|
||
this.Controls.Add(this.cmdLogTextArea);
|
||
this.Controls.Add(this.topMenuStrip);
|
||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||
this.MainMenuStrip = this.topMenuStrip;
|
||
this.MaximizeBox = false;
|
||
this.Name = "FormMain";
|
||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
this.Text = Program.FormName;
|
||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormMain_FormClosing);
|
||
this.Load += new System.EventHandler(this.FormMain_Load);
|
||
this.topMenuStrip.ResumeLayout(false);
|
||
this.topMenuStrip.PerformLayout();
|
||
this.notifyMenuStrip.ResumeLayout(false);
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
public System.Windows.Forms.TextBox cmdLogTextArea;
|
||
private System.Windows.Forms.Button startBtn;
|
||
private System.Windows.Forms.Button endBtn;
|
||
private System.Windows.Forms.MenuStrip topMenuStrip;
|
||
private System.Windows.Forms.ToolStripMenuItem 帮助ToolStripMenuItem;
|
||
private System.Windows.Forms.ToolStripMenuItem 关于ToolStripMenuItem;
|
||
private System.Windows.Forms.ToolStripMenuItem 设置ToolStripMenuItem;
|
||
private System.Windows.Forms.NotifyIcon notifyIcon;
|
||
private System.Windows.Forms.ContextMenuStrip notifyMenuStrip;
|
||
private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
|
||
private System.Windows.Forms.ToolStripMenuItem 显示ToolStripMenuItem;
|
||
}
|
||
}
|
||
|