-
Notifications
You must be signed in to change notification settings - Fork 0
/
Form1.Designer.cs
380 lines (373 loc) · 19.7 KB
/
Form1.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
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
namespace ticTacToe_Game
{
partial class Form1
{
/// <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()
{
this.panel1 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.btnNewGame = new System.Windows.Forms.Button();
this.btnExit = new System.Windows.Forms.Button();
this.btnReset = new System.Windows.Forms.Button();
this.panel4 = new System.Windows.Forms.Panel();
this.playerO = new System.Windows.Forms.Label();
this.lblPlayerX = new System.Windows.Forms.Label();
this.payerO = new System.Windows.Forms.Label();
this.PayerX = new System.Windows.Forms.Label();
this.panel3 = new System.Windows.Forms.Panel();
this.btnTic9 = new System.Windows.Forms.Button();
this.btnTic8 = new System.Windows.Forms.Button();
this.btnTic7 = new System.Windows.Forms.Button();
this.btnTic6 = new System.Windows.Forms.Button();
this.btnTic5 = new System.Windows.Forms.Button();
this.btnTic4 = new System.Windows.Forms.Button();
this.btnTic3 = new System.Windows.Forms.Button();
this.btnTic2 = new System.Windows.Forms.Button();
this.btnTic1 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel6.SuspendLayout();
this.panel5.SuspendLayout();
this.panel4.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel1.Controls.Add(this.label1);
this.panel1.Location = new System.Drawing.Point(12, 12);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1264, 124);
this.panel1.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.Red;
this.label1.Location = new System.Drawing.Point(102, 30);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(1099, 82);
this.label1.TabIndex = 0;
this.label1.Text = "visual C# Advanced Tic Tac Toe";
//
// panel2
//
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel2.Controls.Add(this.panel6);
this.panel2.Controls.Add(this.panel3);
this.panel2.Location = new System.Drawing.Point(12, 152);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1264, 521);
this.panel2.TabIndex = 1;
this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
//
// panel6
//
this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel6.Controls.Add(this.panel5);
this.panel6.Controls.Add(this.panel4);
this.panel6.Location = new System.Drawing.Point(626, 15);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(614, 471);
this.panel6.TabIndex = 2;
//
// panel5
//
this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel5.Controls.Add(this.btnNewGame);
this.panel5.Controls.Add(this.btnExit);
this.panel5.Controls.Add(this.btnReset);
this.panel5.Location = new System.Drawing.Point(21, 221);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(573, 231);
this.panel5.TabIndex = 3;
//
// btnNewGame
//
this.btnNewGame.BackColor = System.Drawing.Color.Yellow;
this.btnNewGame.Font = new System.Drawing.Font("Microsoft Sans Serif", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnNewGame.Location = new System.Drawing.Point(18, 9);
this.btnNewGame.Name = "btnNewGame";
this.btnNewGame.Size = new System.Drawing.Size(532, 97);
this.btnNewGame.TabIndex = 11;
this.btnNewGame.Text = "New Game";
this.btnNewGame.UseVisualStyleBackColor = false;
this.btnNewGame.Click += new System.EventHandler(this.btnNewGame_Click);
//
// btnExit
//
this.btnExit.BackColor = System.Drawing.Color.Yellow;
this.btnExit.Font = new System.Drawing.Font("Microsoft Sans Serif", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnExit.Location = new System.Drawing.Point(292, 112);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(258, 103);
this.btnExit.TabIndex = 10;
this.btnExit.Text = "Exit";
this.btnExit.UseVisualStyleBackColor = false;
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// btnReset
//
this.btnReset.BackColor = System.Drawing.Color.Yellow;
this.btnReset.Font = new System.Drawing.Font("Microsoft Sans Serif", 40F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnReset.Location = new System.Drawing.Point(18, 112);
this.btnReset.Name = "btnReset";
this.btnReset.Size = new System.Drawing.Size(268, 103);
this.btnReset.TabIndex = 9;
this.btnReset.Text = "reset";
this.btnReset.UseVisualStyleBackColor = false;
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// panel4
//
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel4.Controls.Add(this.playerO);
this.panel4.Controls.Add(this.lblPlayerX);
this.panel4.Controls.Add(this.payerO);
this.panel4.Controls.Add(this.PayerX);
this.panel4.Location = new System.Drawing.Point(16, 24);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(578, 191);
this.panel4.TabIndex = 2;
//
// playerO
//
this.playerO.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
this.playerO.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.playerO.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.playerO.ForeColor = System.Drawing.Color.Maroon;
this.playerO.Location = new System.Drawing.Point(321, 82);
this.playerO.Name = "playerO";
this.playerO.Size = new System.Drawing.Size(237, 82);
this.playerO.TabIndex = 4;
this.playerO.Text = "0";
this.playerO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.playerO.Click += new System.EventHandler(this.playerO_Click);
//
// lblPlayerX
//
this.lblPlayerX.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
this.lblPlayerX.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.lblPlayerX.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblPlayerX.ForeColor = System.Drawing.Color.Maroon;
this.lblPlayerX.Location = new System.Drawing.Point(321, 0);
this.lblPlayerX.Name = "lblPlayerX";
this.lblPlayerX.Size = new System.Drawing.Size(237, 82);
this.lblPlayerX.TabIndex = 3;
this.lblPlayerX.Text = "0";
this.lblPlayerX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lblPlayerX.Click += new System.EventHandler(this.lblPlayerX_Click);
//
// payerO
//
this.payerO.AutoSize = true;
this.payerO.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.payerO.ForeColor = System.Drawing.Color.Maroon;
this.payerO.Location = new System.Drawing.Point(3, 0);
this.payerO.Name = "payerO";
this.payerO.Size = new System.Drawing.Size(326, 82);
this.payerO.TabIndex = 2;
this.payerO.Text = "Payer O:";
this.payerO.Click += new System.EventHandler(this.payerO_Click);
//
// PayerX
//
this.PayerX.AutoSize = true;
this.PayerX.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.PayerX.ForeColor = System.Drawing.Color.Maroon;
this.PayerX.Location = new System.Drawing.Point(9, 82);
this.PayerX.Name = "PayerX";
this.PayerX.Size = new System.Drawing.Size(318, 82);
this.PayerX.TabIndex = 1;
this.PayerX.Text = "Payer X:";
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel3.Controls.Add(this.btnTic9);
this.panel3.Controls.Add(this.btnTic8);
this.panel3.Controls.Add(this.btnTic7);
this.panel3.Controls.Add(this.btnTic6);
this.panel3.Controls.Add(this.btnTic5);
this.panel3.Controls.Add(this.btnTic4);
this.panel3.Controls.Add(this.btnTic3);
this.panel3.Controls.Add(this.btnTic2);
this.panel3.Controls.Add(this.btnTic1);
this.panel3.Location = new System.Drawing.Point(21, 15);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(588, 471);
this.panel3.TabIndex = 1;
//
// btnTic9
//
this.btnTic9.BackColor = System.Drawing.Color.Yellow;
this.btnTic9.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic9.Location = new System.Drawing.Point(383, 312);
this.btnTic9.Name = "btnTic9";
this.btnTic9.Size = new System.Drawing.Size(176, 129);
this.btnTic9.TabIndex = 8;
this.btnTic9.UseVisualStyleBackColor = false;
this.btnTic9.Click += new System.EventHandler(this.btnTic9_Click);
//
// btnTic8
//
this.btnTic8.BackColor = System.Drawing.Color.Yellow;
this.btnTic8.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic8.Location = new System.Drawing.Point(201, 314);
this.btnTic8.Name = "btnTic8";
this.btnTic8.Size = new System.Drawing.Size(176, 129);
this.btnTic8.TabIndex = 7;
this.btnTic8.UseVisualStyleBackColor = false;
this.btnTic8.Click += new System.EventHandler(this.btnTic8_Click);
//
// btnTic7
//
this.btnTic7.BackColor = System.Drawing.Color.Yellow;
this.btnTic7.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic7.Location = new System.Drawing.Point(19, 314);
this.btnTic7.Name = "btnTic7";
this.btnTic7.Size = new System.Drawing.Size(176, 129);
this.btnTic7.TabIndex = 6;
this.btnTic7.UseVisualStyleBackColor = false;
this.btnTic7.Click += new System.EventHandler(this.btnTic7_Click);
//
// btnTic6
//
this.btnTic6.BackColor = System.Drawing.Color.Yellow;
this.btnTic6.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic6.Location = new System.Drawing.Point(383, 164);
this.btnTic6.Name = "btnTic6";
this.btnTic6.Size = new System.Drawing.Size(176, 129);
this.btnTic6.TabIndex = 5;
this.btnTic6.UseVisualStyleBackColor = false;
this.btnTic6.Click += new System.EventHandler(this.btnTic6_Click);
//
// btnTic5
//
this.btnTic5.BackColor = System.Drawing.Color.Yellow;
this.btnTic5.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic5.Location = new System.Drawing.Point(201, 164);
this.btnTic5.Name = "btnTic5";
this.btnTic5.Size = new System.Drawing.Size(176, 129);
this.btnTic5.TabIndex = 4;
this.btnTic5.UseVisualStyleBackColor = false;
this.btnTic5.Click += new System.EventHandler(this.btnTic5_Click);
//
// btnTic4
//
this.btnTic4.BackColor = System.Drawing.Color.Yellow;
this.btnTic4.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic4.Location = new System.Drawing.Point(19, 164);
this.btnTic4.Name = "btnTic4";
this.btnTic4.Size = new System.Drawing.Size(176, 129);
this.btnTic4.TabIndex = 3;
this.btnTic4.UseVisualStyleBackColor = false;
this.btnTic4.Click += new System.EventHandler(this.btnTic4_Click);
//
// btnTic3
//
this.btnTic3.BackColor = System.Drawing.Color.Yellow;
this.btnTic3.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic3.Location = new System.Drawing.Point(383, 13);
this.btnTic3.Name = "btnTic3";
this.btnTic3.Size = new System.Drawing.Size(176, 129);
this.btnTic3.TabIndex = 2;
this.btnTic3.UseVisualStyleBackColor = false;
this.btnTic3.Click += new System.EventHandler(this.btnTic3_Click);
//
// btnTic2
//
this.btnTic2.BackColor = System.Drawing.Color.Yellow;
this.btnTic2.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic2.Location = new System.Drawing.Point(201, 13);
this.btnTic2.Name = "btnTic2";
this.btnTic2.Size = new System.Drawing.Size(176, 129);
this.btnTic2.TabIndex = 1;
this.btnTic2.UseVisualStyleBackColor = false;
this.btnTic2.Click += new System.EventHandler(this.btnTic2_Click);
//
// btnTic1
//
this.btnTic1.BackColor = System.Drawing.Color.Yellow;
this.btnTic1.Font = new System.Drawing.Font("Microsoft Sans Serif", 55F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnTic1.Location = new System.Drawing.Point(19, 13);
this.btnTic1.Name = "btnTic1";
this.btnTic1.Size = new System.Drawing.Size(176, 129);
this.btnTic1.TabIndex = 0;
this.btnTic1.Tag = "";
this.btnTic1.UseVisualStyleBackColor = false;
this.btnTic1.Click += new System.EventHandler(this.btnTic1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
this.ClientSize = new System.Drawing.Size(1290, 749);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Name = "Form1";
this.Text = "Tic Tac Toe";
this.Load += new System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel6.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel4.ResumeLayout(false);
this.panel4.PerformLayout();
this.panel3.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnTic1;
private System.Windows.Forms.Button btnTic9;
private System.Windows.Forms.Button btnTic8;
private System.Windows.Forms.Button btnTic7;
private System.Windows.Forms.Button btnTic6;
private System.Windows.Forms.Button btnTic5;
private System.Windows.Forms.Button btnTic4;
private System.Windows.Forms.Button btnTic3;
private System.Windows.Forms.Button btnTic2;
private System.Windows.Forms.Button btnNewGame;
private System.Windows.Forms.Button btnExit;
private System.Windows.Forms.Button btnReset;
private System.Windows.Forms.Label playerO;
private System.Windows.Forms.Label lblPlayerX;
private System.Windows.Forms.Label payerO;
private System.Windows.Forms.Label PayerX;
}
}