-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainForm.Designer.cs
217 lines (209 loc) · 9.45 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
using System.Drawing;
namespace Chess_Game
{
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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.newGame = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.player1 = new System.Windows.Forms.TextBox();
this.player2 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.Minute = new System.Windows.Forms.NumericUpDown();
this.Seconds = new System.Windows.Forms.NumericUpDown();
this.label4 = new System.Windows.Forms.Label();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.boardSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.lightColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.darkColorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
((System.ComponentModel.ISupportInitialize)(this.Minute)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Seconds)).BeginInit();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// newGame
//
this.newGame.Location = new System.Drawing.Point(130, 181);
this.newGame.Name = "newGame";
this.newGame.Size = new System.Drawing.Size(75, 23);
this.newGame.TabIndex = 0;
this.newGame.Text = "New Game";
this.newGame.UseVisualStyleBackColor = true;
this.newGame.Click += new System.EventHandler(this.NewGame_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(59, 45);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(45, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Player 1";
//
// player1
//
this.player1.Location = new System.Drawing.Point(119, 42);
this.player1.Name = "player1";
this.player1.Size = new System.Drawing.Size(100, 20);
this.player1.TabIndex = 2;
this.player1.Text = "Player 1";
//
// player2
//
this.player2.Location = new System.Drawing.Point(119, 84);
this.player2.Name = "player2";
this.player2.Size = new System.Drawing.Size(100, 20);
this.player2.TabIndex = 4;
this.player2.Text = "Player 2";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(59, 87);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(45, 13);
this.label2.TabIndex = 3;
this.label2.Text = "Player 2";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(59, 135);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(54, 13);
this.label3.TabIndex = 5;
this.label3.Text = "Time Limit";
this.label3.Click += new System.EventHandler(this.label3_Click);
//
// Minute
//
this.Minute.Location = new System.Drawing.Point(119, 133);
this.Minute.Name = "Minute";
this.Minute.Size = new System.Drawing.Size(40, 20);
this.Minute.TabIndex = 6;
this.Minute.Value = new decimal(new int[] {
1,
0,
0,
0});
//
// Seconds
//
this.Seconds.Location = new System.Drawing.Point(237, 133);
this.Seconds.Name = "Seconds";
this.Seconds.Size = new System.Drawing.Size(40, 20);
this.Seconds.TabIndex = 8;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(177, 135);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(54, 13);
this.label4.TabIndex = 7;
this.label4.Text = "Increment";
this.label4.Click += new System.EventHandler(this.label4_Click);
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.boardSettingsToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(336, 24);
this.menuStrip1.TabIndex = 9;
this.menuStrip1.Text = "menuStrip1";
//
// boardSettingsToolStripMenuItem
//
this.boardSettingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lightColorToolStripMenuItem,
this.darkColorToolStripMenuItem});
this.boardSettingsToolStripMenuItem.Name = "boardSettingsToolStripMenuItem";
this.boardSettingsToolStripMenuItem.Size = new System.Drawing.Size(95, 20);
this.boardSettingsToolStripMenuItem.Text = "Board Settings";
//
// lightColorToolStripMenuItem
//
this.lightColorToolStripMenuItem.Name = "lightColorToolStripMenuItem";
this.lightColorToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.lightColorToolStripMenuItem.Text = "Light Color";
this.lightColorToolStripMenuItem.Click += new System.EventHandler(this.LightColor_Click);
//
// darkColorToolStripMenuItem
//
this.darkColorToolStripMenuItem.Name = "darkColorToolStripMenuItem";
this.darkColorToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.darkColorToolStripMenuItem.Text = "Dark Color";
this.darkColorToolStripMenuItem.Click += new System.EventHandler(this.DarkColor_Click);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(336, 249);
this.Controls.Add(this.Seconds);
this.Controls.Add(this.label4);
this.Controls.Add(this.Minute);
this.Controls.Add(this.label3);
this.Controls.Add(this.player2);
this.Controls.Add(this.label2);
this.Controls.Add(this.player1);
this.Controls.Add(this.label1);
this.Controls.Add(this.newGame);
this.Controls.Add(this.menuStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.Name = "MainForm";
this.Text = "Chess";
((System.ComponentModel.ISupportInitialize)(this.Minute)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Seconds)).EndInit();
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button newGame;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox player1;
private System.Windows.Forms.TextBox player2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown Minute;
private System.Windows.Forms.NumericUpDown Seconds;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem boardSettingsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem lightColorToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem darkColorToolStripMenuItem;
private System.Windows.Forms.ColorDialog colorDialog1;
private Color LightColor;
private Color DarkColor;
}
}