-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainForm.Designer.cs
137 lines (132 loc) · 5.89 KB
/
mainForm.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
namespace WindowTool
{
partial class MainForm
{
/// <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()
{
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
mainMenuStrip = new System.Windows.Forms.MenuStrip();
aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
notifyIcon = new System.Windows.Forms.NotifyIcon(components);
notifyMenuStrip = new System.Windows.Forms.ContextMenuStrip(components);
settingsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
clampMenuItem = new System.Windows.Forms.ToolStripMenuItem();
iconMenuItem = new System.Windows.Forms.ToolStripMenuItem();
exitMenuItem = new System.Windows.Forms.ToolStripMenuItem();
mainMenuStrip.SuspendLayout();
notifyMenuStrip.SuspendLayout();
SuspendLayout();
//
// mainMenuStrip
//
mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { aboutToolStripMenuItem });
mainMenuStrip.Location = new System.Drawing.Point(0, 0);
mainMenuStrip.Name = "mainMenuStrip";
mainMenuStrip.Size = new System.Drawing.Size(620, 24);
mainMenuStrip.TabIndex = 0;
mainMenuStrip.Text = "menuStrip1";
//
// aboutToolStripMenuItem
//
aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
aboutToolStripMenuItem.Size = new System.Drawing.Size(52, 20);
aboutToolStripMenuItem.Text = "About";
//
// notifyIcon
//
notifyIcon.ContextMenuStrip = notifyMenuStrip;
notifyIcon.Icon = (System.Drawing.Icon)resources.GetObject("notifyIcon.Icon");
notifyIcon.Text = "Window Tool";
notifyIcon.Visible = true;
notifyIcon.MouseDoubleClick += notifyIcon_MouseDoubleClick;
//
// notifyMenuStrip
//
notifyMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { settingsMenuItem, clampMenuItem, iconMenuItem, exitMenuItem });
notifyMenuStrip.Name = "notifyMenuStrip";
notifyMenuStrip.Size = new System.Drawing.Size(161, 92);
//
// settingsMenuItem
//
settingsMenuItem.Name = "settingsMenuItem";
settingsMenuItem.Size = new System.Drawing.Size(160, 22);
settingsMenuItem.Text = "Settings";
settingsMenuItem.Visible = false;
settingsMenuItem.Click += settingsMenuItem_Click;
//
// clampMenuItem
//
clampMenuItem.CheckOnClick = true;
clampMenuItem.Name = "clampMenuItem";
clampMenuItem.Size = new System.Drawing.Size(160, 22);
clampMenuItem.Text = "Clamp to screen";
clampMenuItem.Click += clampMenuItem_Click;
//
// iconMenuItem
//
iconMenuItem.CheckOnClick = true;
iconMenuItem.Name = "iconMenuItem";
iconMenuItem.Size = new System.Drawing.Size(160, 22);
iconMenuItem.Text = "Alternate icon";
iconMenuItem.Click += iconMenuItem_Click;
//
// exitMenuItem
//
exitMenuItem.Name = "exitMenuItem";
exitMenuItem.Size = new System.Drawing.Size(160, 22);
exitMenuItem.Text = "Exit";
exitMenuItem.Click += exitMenuItem_Click;
//
// MainForm
//
AutoScaleDimensions = new System.Drawing.SizeF(11F, 25F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
ClientSize = new System.Drawing.Size(620, 406);
Controls.Add(mainMenuStrip);
Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
MainMenuStrip = mainMenuStrip;
Margin = new System.Windows.Forms.Padding(5);
MaximizeBox = false;
MinimizeBox = false;
Name = "MainForm";
Text = "WindowTool";
FormClosing += mainForm_FormClosing;
mainMenuStrip.ResumeLayout(false);
mainMenuStrip.PerformLayout();
notifyMenuStrip.ResumeLayout(false);
ResumeLayout(false);
PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip mainMenuStrip;
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
private System.Windows.Forms.NotifyIcon notifyIcon;
private System.Windows.Forms.ContextMenuStrip notifyMenuStrip;
private System.Windows.Forms.ToolStripMenuItem exitMenuItem;
private System.Windows.Forms.ToolStripMenuItem settingsMenuItem;
private System.Windows.Forms.ToolStripMenuItem clampMenuItem;
private System.Windows.Forms.ToolStripMenuItem iconMenuItem;
}
}