-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameForm.Designer.cs
238 lines (230 loc) · 11.5 KB
/
gameForm.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
namespace Running_game
{
partial class GameForm
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.ComponentModel.ComponentResourceManager resources;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form 디자이너에서 생성한 코드
/// <summary>
/// 디자이너 지원에 필요한 메서드입니다.
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
resources = new System.ComponentModel.ComponentResourceManager(typeof(GameForm));
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
this.PictureBox_Man = new System.Windows.Forms.PictureBox();
this.label = new System.Windows.Forms.Label();
this.label_hearts = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.PictureBox_Man)).BeginInit();
this.SuspendLayout();
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 10;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// pictureBox1
//
this.pictureBox1.BackColor = System.Drawing.Color.White;
this.pictureBox1.Location = new System.Drawing.Point(390, 30);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(20, 150);
this.pictureBox1.TabIndex = 3;
this.pictureBox1.TabStop = false;
//
// pictureBox2
//
this.pictureBox2.BackColor = System.Drawing.Color.White;
this.pictureBox2.Location = new System.Drawing.Point(390, 240);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(20, 150);
this.pictureBox2.TabIndex = 4;
this.pictureBox2.TabStop = false;
//
// pictureBox3
//
this.pictureBox3.BackColor = System.Drawing.Color.White;
this.pictureBox3.Location = new System.Drawing.Point(390, 450);
this.pictureBox3.Name = "pictureBox3";
this.pictureBox3.Size = new System.Drawing.Size(20, 150);
this.pictureBox3.TabIndex = 6;
this.pictureBox3.TabStop = false;
//
// pictureBox4
//
this.pictureBox4.BackColor = System.Drawing.Color.White;
this.pictureBox4.Location = new System.Drawing.Point(390, 660);
this.pictureBox4.Name = "pictureBox4";
this.pictureBox4.Size = new System.Drawing.Size(20, 150);
this.pictureBox4.TabIndex = 7;
this.pictureBox4.TabStop = false;
//
// pictureBox7
//
this.pictureBox7.BackColor = System.Drawing.Color.White;
this.pictureBox7.Location = new System.Drawing.Point(390, -180);
this.pictureBox7.Name = "pictureBox7";
this.pictureBox7.Size = new System.Drawing.Size(20, 150);
this.pictureBox7.TabIndex = 6;
this.pictureBox7.TabStop = false;
//
// PictureBox_Man
//
this.PictureBox_Man.BackColor = System.Drawing.Color.Transparent;
this.PictureBox_Man.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox_Man.Image")));
this.PictureBox_Man.Location = new System.Drawing.Point(340, 670);
this.PictureBox_Man.Name = "PictureBox_Man";
this.PictureBox_Man.Size = new System.Drawing.Size(90, 130);
this.PictureBox_Man.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.PictureBox_Man.TabIndex = 12;
this.PictureBox_Man.TabStop = false;
//
// label
//
this.label.AutoSize = true;
this.label.BackColor = System.Drawing.Color.Red;
this.label.Font = new System.Drawing.Font("굴림", 70F, System.Drawing.FontStyle.Bold);
this.label.ForeColor = System.Drawing.Color.Yellow;
this.label.Location = new System.Drawing.Point(145, 183);
this.label.Name = "label";
this.label.Size = new System.Drawing.Size(540, 94);
this.label.TabIndex = 15;
this.label.Text = "Game Over";
this.label.Visible = false;
//
// label_hearts
//
this.label_hearts.AutoSize = true;
this.label_hearts.BackColor = System.Drawing.Color.White;
this.label_hearts.Font = new System.Drawing.Font("굴림", 15F);
this.label_hearts.ForeColor = System.Drawing.Color.Fuchsia;
this.label_hearts.Location = new System.Drawing.Point(12, 18);
this.label_hearts.Name = "label_hearts";
this.label_hearts.Size = new System.Drawing.Size(60, 20);
this.label_hearts.TabIndex = 17;
this.label_hearts.Text = "♥ = 0";
//
// button1
//
this.button1.BackColor = System.Drawing.Color.Black;
this.button1.Font = new System.Drawing.Font("굴림", 50F, System.Drawing.FontStyle.Bold);
this.button1.ForeColor = System.Drawing.Color.Yellow;
this.button1.Location = new System.Drawing.Point(212, 447);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(416, 81);
this.button1.TabIndex = 18;
this.button1.Text = "RESTART";
this.button1.UseVisualStyleBackColor = false;
this.button1.Visible = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.BackColor = System.Drawing.Color.Black;
this.button2.Font = new System.Drawing.Font("굴림", 50F, System.Drawing.FontStyle.Bold);
this.button2.ForeColor = System.Drawing.Color.Yellow;
this.button2.Location = new System.Drawing.Point(212, 559);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(416, 76);
this.button2.TabIndex = 19;
this.button2.Text = "CLOSE";
this.button2.UseVisualStyleBackColor = false;
this.button2.Visible = false;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.BackColor = System.Drawing.Color.Black;
this.button3.Font = new System.Drawing.Font("굴림", 50F, System.Drawing.FontStyle.Bold);
this.button3.ForeColor = System.Drawing.Color.Yellow;
this.button3.Location = new System.Drawing.Point(212, 329);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(416, 81);
this.button3.TabIndex = 20;
this.button3.Text = "RANK";
this.button3.UseVisualStyleBackColor = false;
this.button3.Visible = false;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
//
// GameForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.ClientSize = new System.Drawing.Size(784, 801);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.label_hearts);
this.Controls.Add(this.PictureBox_Man);
this.Controls.Add(this.label);
this.Controls.Add(this.pictureBox4);
this.Controls.Add(this.pictureBox7);
this.Controls.Add(this.pictureBox3);
this.Controls.Add(this.pictureBox2);
this.Controls.Add(this.pictureBox1);
this.Name = "GameForm";
this.Text = "Running_Game";
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gameForm_KeyDown);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.PictureBox_Man)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.PictureBox pictureBox3;
private System.Windows.Forms.PictureBox pictureBox4;
private System.Windows.Forms.PictureBox pictureBox7;
private System.Windows.Forms.PictureBox PictureBox_Man;
private System.Windows.Forms.Label label;
private System.Windows.Forms.Label label_hearts;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
}
}