Try add forms for settings
This commit is contained in:
58
DD2Switcher/Form1.Designer.cs
generated
58
DD2Switcher/Form1.Designer.cs
generated
@@ -26,11 +26,67 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent() {
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
|
||||
this.trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.settingsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.separatorMenuItem = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exitMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.trayMenu.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// notifyIcon
|
||||
//
|
||||
this.notifyIcon.ContextMenuStrip = this.trayMenu;
|
||||
this.notifyIcon.Text = "DD2Switcher";
|
||||
this.notifyIcon.Visible = true;
|
||||
this.notifyIcon.MouseDoubleClick +=
|
||||
new System.Windows.Forms.MouseEventHandler(this.notifyIcon_MouseDoubleClick);
|
||||
//
|
||||
// trayMenu
|
||||
//
|
||||
this.trayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.settingsMenuItem, this.separatorMenuItem, this.exitMenuItem
|
||||
});
|
||||
this.trayMenu.Name = "trayMenu";
|
||||
this.trayMenu.Size = new System.Drawing.Size(120, 54);
|
||||
//
|
||||
// settingsMenuItem
|
||||
//
|
||||
this.settingsMenuItem.Name = "settingsMenuItem";
|
||||
this.settingsMenuItem.Size = new System.Drawing.Size(119, 22);
|
||||
this.settingsMenuItem.Text = "Settings";
|
||||
this.settingsMenuItem.Click += new System.EventHandler(this.settingsMenuItem_Click);
|
||||
//
|
||||
// separatorMenuItem
|
||||
//
|
||||
this.separatorMenuItem.Name = "separatorMenuItem";
|
||||
this.separatorMenuItem.Size = new System.Drawing.Size(116, 6);
|
||||
//
|
||||
// exitMenuItem
|
||||
//
|
||||
this.exitMenuItem.Name = "exitMenuItem";
|
||||
this.exitMenuItem.Size = new System.Drawing.Size(119, 22);
|
||||
this.exitMenuItem.Text = "Exit";
|
||||
this.exitMenuItem.Click += new System.EventHandler(this.exitMenuItem_Click);
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Text = "Form1";
|
||||
this.Text = "DD2Switcher";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
|
||||
this.ShowInTaskbar = false;
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
||||
this.trayMenu.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.NotifyIcon notifyIcon;
|
||||
private System.Windows.Forms.ContextMenuStrip trayMenu;
|
||||
private System.Windows.Forms.ToolStripMenuItem settingsMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator separatorMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem exitMenuItem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user