-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathMainForm.Designer.cs
352 lines (350 loc) · 16.3 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
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
/*
* Created by SharpDevelop.
* User: user
* Date: 08.10.2013
* Time: 2:46
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace Tetris
{
partial class MainForm
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.играToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.новаяИграToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.паузапродолжитьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.таблицаРекордовToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.выходToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.справкаToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.правилаToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.обИгреToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.GameFieldPictureBox = new System.Windows.Forms.PictureBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.ElapsedTimeLabel = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.ScoreLabel = new System.Windows.Forms.Label();
this.FiguresLabel = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.NextFigurePictureBox = new System.Windows.Forms.PictureBox();
this.TipsCheckBox = new System.Windows.Forms.CheckBox();
this.GameTimer = new System.Windows.Forms.Timer(this.components);
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.AdviceLabel = new System.Windows.Forms.Label();
this.menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.GameFieldPictureBox)).BeginInit();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NextFigurePictureBox)).BeginInit();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.играToolStripMenuItem,
this.справкаToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(444, 24);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
// играToolStripMenuItem
//
this.играToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.новаяИграToolStripMenuItem,
this.паузапродолжитьToolStripMenuItem,
this.toolStripSeparator2,
this.таблицаРекордовToolStripMenuItem,
this.toolStripSeparator1,
this.выходToolStripMenuItem});
this.играToolStripMenuItem.Name = "играToolStripMenuItem";
this.играToolStripMenuItem.Size = new System.Drawing.Size(46, 20);
this.играToolStripMenuItem.Text = "Игра";
//
// новаяИграToolStripMenuItem
//
this.новаяИграToolStripMenuItem.Name = "новаяИграToolStripMenuItem";
this.новаяИграToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F2;
this.новаяИграToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.новаяИграToolStripMenuItem.Text = "Новая игра";
this.новаяИграToolStripMenuItem.Click += new System.EventHandler(this.НоваяИграToolStripMenuItemClick);
//
// паузапродолжитьToolStripMenuItem
//
this.паузапродолжитьToolStripMenuItem.Name = "паузапродолжитьToolStripMenuItem";
this.паузапродолжитьToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3;
this.паузапродолжитьToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.паузапродолжитьToolStripMenuItem.Text = "Пауза/продолжить";
this.паузапродолжитьToolStripMenuItem.Click += new System.EventHandler(this.ПаузапродолжитьToolStripMenuItemClick);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(195, 6);
//
// таблицаРекордовToolStripMenuItem
//
this.таблицаРекордовToolStripMenuItem.Name = "таблицаРекордовToolStripMenuItem";
this.таблицаРекордовToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.таблицаРекордовToolStripMenuItem.Text = "Таблица рекордов...";
this.таблицаРекордовToolStripMenuItem.Click += new System.EventHandler(this.ТаблицаРекордовToolStripMenuItemClick);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(195, 6);
//
// выходToolStripMenuItem
//
this.выходToolStripMenuItem.Name = "выходToolStripMenuItem";
this.выходToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));
this.выходToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.выходToolStripMenuItem.Text = "Выход";
this.выходToolStripMenuItem.Click += new System.EventHandler(this.ВыходToolStripMenuItemClick);
//
// справкаToolStripMenuItem
//
this.справкаToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.правилаToolStripMenuItem,
this.обИгреToolStripMenuItem});
this.справкаToolStripMenuItem.Name = "справкаToolStripMenuItem";
this.справкаToolStripMenuItem.Size = new System.Drawing.Size(65, 20);
this.справкаToolStripMenuItem.Text = "Справка";
//
// правилаToolStripMenuItem
//
this.правилаToolStripMenuItem.Name = "правилаToolStripMenuItem";
this.правилаToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1;
this.правилаToolStripMenuItem.Size = new System.Drawing.Size(149, 22);
this.правилаToolStripMenuItem.Text = "Правила";
this.правилаToolStripMenuItem.Click += new System.EventHandler(this.ПравилаToolStripMenuItemClick);
//
// обИгреToolStripMenuItem
//
this.обИгреToolStripMenuItem.Name = "обИгреToolStripMenuItem";
this.обИгреToolStripMenuItem.Size = new System.Drawing.Size(149, 22);
this.обИгреToolStripMenuItem.Text = "О программе";
this.обИгреToolStripMenuItem.Click += new System.EventHandler(this.ОбИгреToolStripMenuItemClick);
//
// GameFieldPictureBox
//
this.GameFieldPictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.GameFieldPictureBox.BackColor = System.Drawing.Color.White;
this.GameFieldPictureBox.Location = new System.Drawing.Point(182, 27);
this.GameFieldPictureBox.Name = "GameFieldPictureBox";
this.GameFieldPictureBox.Size = new System.Drawing.Size(250, 370);
this.GameFieldPictureBox.TabIndex = 1;
this.GameFieldPictureBox.TabStop = false;
this.GameFieldPictureBox.Paint += new System.Windows.Forms.PaintEventHandler(this.GameFieldPictureBoxPaint);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.ElapsedTimeLabel);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.ScoreLabel);
this.groupBox1.Controls.Add(this.FiguresLabel);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(12, 27);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(164, 87);
this.groupBox1.TabIndex = 2;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Счёт";
//
// ElapsedTimeLabel
//
this.ElapsedTimeLabel.Location = new System.Drawing.Point(108, 62);
this.ElapsedTimeLabel.Name = "ElapsedTimeLabel";
this.ElapsedTimeLabel.Size = new System.Drawing.Size(50, 23);
this.ElapsedTimeLabel.TabIndex = 5;
this.ElapsedTimeLabel.Text = "14:25";
//
// label5
//
this.label5.Location = new System.Drawing.Point(6, 62);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(96, 23);
this.label5.TabIndex = 4;
this.label5.Text = "Времени прошло:";
this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// ScoreLabel
//
this.ScoreLabel.Location = new System.Drawing.Point(108, 39);
this.ScoreLabel.Name = "ScoreLabel";
this.ScoreLabel.Size = new System.Drawing.Size(50, 23);
this.ScoreLabel.TabIndex = 3;
this.ScoreLabel.Text = "0";
//
// FiguresLabel
//
this.FiguresLabel.Location = new System.Drawing.Point(108, 16);
this.FiguresLabel.Name = "FiguresLabel";
this.FiguresLabel.Size = new System.Drawing.Size(50, 23);
this.FiguresLabel.TabIndex = 2;
this.FiguresLabel.Text = "396";
//
// label2
//
this.label2.Location = new System.Drawing.Point(6, 39);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(96, 23);
this.label2.TabIndex = 1;
this.label2.Text = "Очки:";
this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label1
//
this.label1.Location = new System.Drawing.Point(6, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(96, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Фигур сброшено:";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.NextFigurePictureBox);
this.groupBox2.Location = new System.Drawing.Point(12, 120);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(164, 122);
this.groupBox2.TabIndex = 3;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Следующая фигура";
//
// NextFigurePictureBox
//
this.NextFigurePictureBox.Location = new System.Drawing.Point(35, 19);
this.NextFigurePictureBox.Name = "NextFigurePictureBox";
this.NextFigurePictureBox.Size = new System.Drawing.Size(96, 96);
this.NextFigurePictureBox.TabIndex = 0;
this.NextFigurePictureBox.TabStop = false;
this.NextFigurePictureBox.Paint += new System.Windows.Forms.PaintEventHandler(this.NextFigurePictureBoxPaint);
//
// TipsCheckBox
//
this.TipsCheckBox.Checked = true;
this.TipsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
this.TipsCheckBox.Location = new System.Drawing.Point(12, 248);
this.TipsCheckBox.Name = "TipsCheckBox";
this.TipsCheckBox.Size = new System.Drawing.Size(164, 24);
this.TipsCheckBox.TabIndex = 4;
this.TipsCheckBox.TabStop = false;
this.TipsCheckBox.Text = "Подсказки";
this.TipsCheckBox.UseVisualStyleBackColor = true;
this.TipsCheckBox.CheckedChanged += new System.EventHandler(this.TipsCheckBoxCheckedChanged);
//
// GameTimer
//
this.GameTimer.Interval = 700;
this.GameTimer.Tick += new System.EventHandler(this.GameTimerTick);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.AdviceLabel);
this.groupBox3.Location = new System.Drawing.Point(12, 289);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(164, 108);
this.groupBox3.TabIndex = 5;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Совет";
//
// AdviceLabel
//
this.AdviceLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.AdviceLabel.Location = new System.Drawing.Point(6, 16);
this.AdviceLabel.Name = "AdviceLabel";
this.AdviceLabel.Size = new System.Drawing.Size(152, 89);
this.AdviceLabel.TabIndex = 0;
this.AdviceLabel.Text = "Используйте клавишу Q, чтобы отложить фигуру и воспользоваться следующей";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(444, 409);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.TipsCheckBox);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.GameFieldPictureBox);
this.Controls.Add(this.menuStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.MainMenuStrip = this.menuStrip1;
this.Name = "MainForm";
this.Text = "Tetris";
this.Load += new System.EventHandler(this.MainFormLoad);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainFormKeyDown);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.GameFieldPictureBox)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.NextFigurePictureBox)).EndInit();
this.groupBox3.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.Label AdviceLabel;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.ToolStripMenuItem таблицаРекордовToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.Timer GameTimer;
private System.Windows.Forms.CheckBox TipsCheckBox;
private System.Windows.Forms.PictureBox NextFigurePictureBox;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label FiguresLabel;
private System.Windows.Forms.Label ScoreLabel;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label ElapsedTimeLabel;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.PictureBox GameFieldPictureBox;
private System.Windows.Forms.ToolStripMenuItem обИгреToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem правилаToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem справкаToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem выходToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem паузапродолжитьToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem новаяИграToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem играToolStripMenuItem;
private System.Windows.Forms.MenuStrip menuStrip1;
}
}