|
|
@@ -28,9 +28,10 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
|
|
|
- this.提示 = new System.Windows.Forms.NotifyIcon();
|
|
|
- this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip();
|
|
|
+ this.提示 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
|
+ this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
this.打开根目录ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
|
@@ -49,19 +50,19 @@
|
|
|
this.打开根目录ToolStripMenuItem,
|
|
|
this.退出ToolStripMenuItem});
|
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
|
- this.contextMenuStrip1.Size = new System.Drawing.Size(153, 70);
|
|
|
+ this.contextMenuStrip1.Size = new System.Drawing.Size(137, 48);
|
|
|
//
|
|
|
// 打开根目录ToolStripMenuItem
|
|
|
//
|
|
|
this.打开根目录ToolStripMenuItem.Name = "打开根目录ToolStripMenuItem";
|
|
|
- this.打开根目录ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
|
|
+ this.打开根目录ToolStripMenuItem.Size = new System.Drawing.Size(136, 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(152, 22);
|
|
|
+ this.退出ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
|
|
|
this.退出ToolStripMenuItem.Text = "退出";
|
|
|
this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
|
|
|
//
|
|
|
@@ -74,7 +75,9 @@
|
|
|
this.ShowInTaskbar = false;
|
|
|
this.Text = "Form2";
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
|
|
|
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form2_FormClosing);
|
|
|
this.Load += new System.EventHandler(this.Form2_Load);
|
|
|
+ this.Shown += new System.EventHandler(this.Form2_Shown);
|
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
|
this.ResumeLayout(false);
|
|
|
|