|
@@ -45,7 +45,9 @@ |
|
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
this.ConfigItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.ConfigItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.QuitItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.QuitItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
|
this.panel1.SuspendLayout();
|
|
|
this.panel1.SuspendLayout();
|
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
@@ -175,7 +177,7 @@ |
|
|
this.button2.TabIndex = 1;
|
|
|
this.button2.TabIndex = 1;
|
|
|
this.button2.Text = "Cancel";
|
|
|
this.button2.Text = "Cancel";
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
|
|
|
|
|
|
this.button2.Click += new System.EventHandler(this.cancelButton_Click);
|
|
|
//
|
|
|
//
|
|
|
// button1
|
|
|
// button1
|
|
|
//
|
|
|
//
|
|
@@ -186,39 +188,54 @@ |
|
|
this.button1.TabIndex = 0;
|
|
|
this.button1.TabIndex = 0;
|
|
|
this.button1.Text = "OK";
|
|
|
this.button1.Text = "OK";
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
|
|
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.OKButton_Click);
|
|
|
//
|
|
|
//
|
|
|
// notifyIcon1
|
|
|
// notifyIcon1
|
|
|
//
|
|
|
//
|
|
|
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
|
|
|
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
|
|
|
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
|
|
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
|
|
this.notifyIcon1.Text = "notifyIcon1";
|
|
|
|
|
|
|
|
|
this.notifyIcon1.Text = "shadowsocks";
|
|
|
this.notifyIcon1.Visible = true;
|
|
|
this.notifyIcon1.Visible = true;
|
|
|
|
|
|
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
|
|
//
|
|
|
//
|
|
|
// contextMenuStrip1
|
|
|
// contextMenuStrip1
|
|
|
//
|
|
|
//
|
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
this.ConfigItem,
|
|
|
this.ConfigItem,
|
|
|
|
|
|
this.aboutToolStripMenuItem,
|
|
|
|
|
|
this.toolStripSeparator2,
|
|
|
this.QuitItem});
|
|
|
this.QuitItem});
|
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
|
this.contextMenuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
|
|
this.contextMenuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
|
|
this.contextMenuStrip1.ShowImageMargin = false;
|
|
|
|
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(86, 48);
|
|
|
|
|
|
|
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(111, 76);
|
|
|
//
|
|
|
//
|
|
|
// ConfigItem
|
|
|
// ConfigItem
|
|
|
//
|
|
|
//
|
|
|
|
|
|
this.ConfigItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
|
|
|
this.ConfigItem.Name = "ConfigItem";
|
|
|
this.ConfigItem.Name = "ConfigItem";
|
|
|
this.ConfigItem.Size = new System.Drawing.Size(85, 22);
|
|
|
|
|
|
|
|
|
this.ConfigItem.Size = new System.Drawing.Size(110, 22);
|
|
|
this.ConfigItem.Text = "Config";
|
|
|
this.ConfigItem.Text = "Config";
|
|
|
this.ConfigItem.Click += new System.EventHandler(this.Config_Click);
|
|
|
this.ConfigItem.Click += new System.EventHandler(this.Config_Click);
|
|
|
//
|
|
|
//
|
|
|
|
|
|
// aboutToolStripMenuItem
|
|
|
|
|
|
//
|
|
|
|
|
|
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
|
|
|
|
|
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(110, 22);
|
|
|
|
|
|
this.aboutToolStripMenuItem.Text = "About";
|
|
|
|
|
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
|
|
|
|
|
//
|
|
|
// QuitItem
|
|
|
// QuitItem
|
|
|
//
|
|
|
//
|
|
|
this.QuitItem.Name = "QuitItem";
|
|
|
this.QuitItem.Name = "QuitItem";
|
|
|
this.QuitItem.Size = new System.Drawing.Size(85, 22);
|
|
|
|
|
|
|
|
|
this.QuitItem.Size = new System.Drawing.Size(110, 22);
|
|
|
this.QuitItem.Text = "Quit";
|
|
|
this.QuitItem.Text = "Quit";
|
|
|
this.QuitItem.Click += new System.EventHandler(this.Quit_Click);
|
|
|
this.QuitItem.Click += new System.EventHandler(this.Quit_Click);
|
|
|
//
|
|
|
//
|
|
|
|
|
|
// toolStripSeparator2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
|
|
|
|
this.toolStripSeparator2.Size = new System.Drawing.Size(107, 6);
|
|
|
|
|
|
//
|
|
|
// Form1
|
|
|
// Form1
|
|
|
//
|
|
|
//
|
|
|
this.AcceptButton = this.button1;
|
|
|
this.AcceptButton = this.button1;
|
|
@@ -233,6 +250,7 @@ |
|
|
this.Name = "Form1";
|
|
|
this.Name = "Form1";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
this.Text = "Shadowsocks";
|
|
|
this.Text = "Shadowsocks";
|
|
|
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
|
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
@@ -261,6 +279,8 @@ |
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
|
private System.Windows.Forms.ToolStripMenuItem ConfigItem;
|
|
|
private System.Windows.Forms.ToolStripMenuItem ConfigItem;
|
|
|
private System.Windows.Forms.ToolStripMenuItem QuitItem;
|
|
|
private System.Windows.Forms.ToolStripMenuItem QuitItem;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
|
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|