-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMinesweeper.Designer.cs
214 lines (208 loc) · 11 KB
/
Minesweeper.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
namespace Minesweeper
{
partial class Minesweeper
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.gameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.newGameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.easyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.normalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.showMinesLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.startPanel = new System.Windows.Forms.Panel();
this.buttonStart = new System.Windows.Forms.Button();
this.richTextBoxTime = new System.Windows.Forms.RichTextBox();
this.richTextBoxMines = new System.Windows.Forms.RichTextBox();
this.fieldPanel = new System.Windows.Forms.Panel();
this.timer = new System.Windows.Forms.Timer(this.components);
this.menuStrip.SuspendLayout();
this.startPanel.SuspendLayout();
this.SuspendLayout();
//
// menuStrip
//
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.gameToolStripMenuItem,
this.showMinesLToolStripMenuItem});
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Size = new System.Drawing.Size(311, 24);
this.menuStrip.TabIndex = 0;
this.menuStrip.Text = "menuStrip";
//
// gameToolStripMenuItem
//
this.gameToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newGameToolStripMenuItem,
this.toolStripSeparator1,
this.easyToolStripMenuItem,
this.normalToolStripMenuItem,
this.hardToolStripMenuItem,
this.toolStripSeparator2,
this.exitToolStripMenuItem});
this.gameToolStripMenuItem.Name = "gameToolStripMenuItem";
this.gameToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
this.gameToolStripMenuItem.Text = "Game";
//
// newGameToolStripMenuItem
//
this.newGameToolStripMenuItem.Name = "newGameToolStripMenuItem";
this.newGameToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.newGameToolStripMenuItem.Text = "New Game";
this.newGameToolStripMenuItem.Click += new System.EventHandler(this.NewGameToolStripMenuItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(129, 6);
//
// easyToolStripMenuItem
//
this.easyToolStripMenuItem.Name = "easyToolStripMenuItem";
this.easyToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.easyToolStripMenuItem.Text = "Easy";
this.easyToolStripMenuItem.Click += new System.EventHandler(this.EasyToolStripMenuItem_Click);
//
// normalToolStripMenuItem
//
this.normalToolStripMenuItem.Name = "normalToolStripMenuItem";
this.normalToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.normalToolStripMenuItem.Text = "Normal";
this.normalToolStripMenuItem.Click += new System.EventHandler(this.NormalToolStripMenuItem_Click);
//
// hardToolStripMenuItem
//
this.hardToolStripMenuItem.Name = "hardToolStripMenuItem";
this.hardToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.hardToolStripMenuItem.Text = "Hard";
this.hardToolStripMenuItem.Click += new System.EventHandler(this.HardToolStripMenuItem_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(129, 6);
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(132, 22);
this.exitToolStripMenuItem.Text = "Exit";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click);
//
// showMinesLToolStripMenuItem
//
this.showMinesLToolStripMenuItem.Name = "showMinesLToolStripMenuItem";
this.showMinesLToolStripMenuItem.Size = new System.Drawing.Size(111, 20);
this.showMinesLToolStripMenuItem.Text = "Show/hide mines";
this.showMinesLToolStripMenuItem.Click += new System.EventHandler(this.ShowMinesLToolStripMenuItem_Click);
//
// startPanel
//
this.startPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.startPanel.Controls.Add(this.buttonStart);
this.startPanel.Controls.Add(this.richTextBoxTime);
this.startPanel.Controls.Add(this.richTextBoxMines);
this.startPanel.Location = new System.Drawing.Point(9, 27);
this.startPanel.Name = "startPanel";
this.startPanel.Size = new System.Drawing.Size(294, 46);
this.startPanel.TabIndex = 2;
//
// buttonStart
//
this.buttonStart.BackgroundImage = global::Minesweeper.Properties.Resources.start;
this.buttonStart.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
this.buttonStart.Location = new System.Drawing.Point(128, 2);
this.buttonStart.Name = "buttonStart";
this.buttonStart.Size = new System.Drawing.Size(41, 38);
this.buttonStart.TabIndex = 0;
this.buttonStart.UseVisualStyleBackColor = true;
this.buttonStart.Click += new System.EventHandler(this.ButtonStart_Click);
//
// richTextBoxTime
//
this.richTextBoxTime.BackColor = System.Drawing.SystemColors.InactiveCaption;
this.richTextBoxTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 17.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.richTextBoxTime.Location = new System.Drawing.Point(240, 4);
this.richTextBoxTime.MaxLength = 3;
this.richTextBoxTime.Name = "richTextBoxTime";
this.richTextBoxTime.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
this.richTextBoxTime.Size = new System.Drawing.Size(47, 36);
this.richTextBoxTime.TabIndex = 2;
this.richTextBoxTime.Text = "000";
//
// richTextBoxMines
//
this.richTextBoxMines.BackColor = System.Drawing.SystemColors.InactiveCaption;
this.richTextBoxMines.Font = new System.Drawing.Font("Microsoft Sans Serif", 17.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.richTextBoxMines.Location = new System.Drawing.Point(3, 3);
this.richTextBoxMines.MaxLength = 3;
this.richTextBoxMines.Name = "richTextBoxMines";
this.richTextBoxMines.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
this.richTextBoxMines.Size = new System.Drawing.Size(47, 36);
this.richTextBoxMines.TabIndex = 1;
this.richTextBoxMines.Text = "000";
//
// fieldPanel
//
this.fieldPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.fieldPanel.Location = new System.Drawing.Point(9, 79);
this.fieldPanel.Name = "fieldPanel";
this.fieldPanel.Size = new System.Drawing.Size(294, 294);
this.fieldPanel.TabIndex = 3;
//
// Minesweeper
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlDark;
this.ClientSize = new System.Drawing.Size(311, 376);
this.Controls.Add(this.fieldPanel);
this.Controls.Add(this.startPanel);
this.Controls.Add(this.menuStrip);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.MainMenuStrip = this.menuStrip;
this.MaximizeBox = false;
this.Name = "Minesweeper";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Minesweeper";
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
this.startPanel.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip;
private System.Windows.Forms.ToolStripMenuItem gameToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem newGameToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem easyToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem normalToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem hardToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.Panel startPanel;
private System.Windows.Forms.RichTextBox richTextBoxTime;
private System.Windows.Forms.RichTextBox richTextBoxMines;
private System.Windows.Forms.Button buttonStart;
private System.Windows.Forms.Panel fieldPanel;
private System.Windows.Forms.Timer timer;
private System.Windows.Forms.ToolStripMenuItem showMinesLToolStripMenuItem;
}
}