-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForm1.Designer.cs
More file actions
173 lines (168 loc) · 9.06 KB
/
Form1.Designer.cs
File metadata and controls
173 lines (168 loc) · 9.06 KB
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
namespace _2048_Application
{
partial class Form1
{
/// <summary>
/// Wymagana zmienna projektanta.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Wyczyść wszystkie używane zasoby.
/// </summary>
/// <param name="disposing">prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Kod generowany przez Projektanta formularzy systemu Windows
/// <summary>
/// Metoda wymagana do obsługi projektanta — nie należy modyfikować
/// jej zawartości w edytorze kodu.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.label2 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label2
//
this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(31)))), ((int)(((byte)(31)))));
this.label2.Location = new System.Drawing.Point(0, -2);
this.label2.Margin = new System.Windows.Forms.Padding(0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(626, 35);
this.label2.TabIndex = 1;
this.label2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.label2_MouseDown);
//
// pictureBox1
//
this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(173)))), ((int)(((byte)(159)))));
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(562, 4);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(54, 22);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 2;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
this.pictureBox1.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave);
this.pictureBox1.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Clear Sans", 64F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(110)))), ((int)(((byte)(101)))));
this.label1.Location = new System.Drawing.Point(30, 43);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(260, 120);
this.label1.TabIndex = 3;
this.label1.Text = "2048";
this.label1.Click += new System.EventHandler(this.label1_Click);
this.label1.MouseEnter += new System.EventHandler(this.label1_MouseEnter);
this.label1.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
//
// label3
//
this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(173)))), ((int)(((byte)(160)))));
this.label3.Font = new System.Drawing.Font("Clear Sans", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(228)))), ((int)(((byte)(218)))));
this.label3.Location = new System.Drawing.Point(306, 76);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(150, 29);
this.label3.TabIndex = 4;
this.label3.Text = "SCORE";
this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label4
//
this.label4.Font = new System.Drawing.Font("Clear Sans", 15.75F, System.Drawing.FontStyle.Bold);
this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(228)))), ((int)(((byte)(218)))));
this.label4.Location = new System.Drawing.Point(462, 76);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 29);
this.label4.TabIndex = 5;
this.label4.Text = "BEST";
this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label5
//
this.label5.BackColor = System.Drawing.Color.Transparent;
this.label5.Font = new System.Drawing.Font("Clear Sans", 11.75F, System.Drawing.FontStyle.Bold);
this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(110)))), ((int)(((byte)(101)))));
this.label5.Location = new System.Drawing.Point(172, 53);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(91, 20);
this.label5.TabIndex = 6;
this.label5.Text = "NEW GAME";
//
// label6
//
this.label6.Font = new System.Drawing.Font("Clear Sans", 16F, System.Drawing.FontStyle.Bold);
this.label6.ForeColor = System.Drawing.Color.White;
this.label6.Location = new System.Drawing.Point(345, 105);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(71, 31);
this.label6.TabIndex = 7;
this.label6.Text = "0";
this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label7
//
this.label7.Font = new System.Drawing.Font("Clear Sans", 16F, System.Drawing.FontStyle.Bold);
this.label7.ForeColor = System.Drawing.Color.White;
this.label7.Location = new System.Drawing.Point(476, 105);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(71, 31);
this.label7.TabIndex = 8;
this.label7.Text = "0";
this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter;
this.label7.Click += new System.EventHandler(this.label7_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(173)))), ((int)(((byte)(159)))));
this.ClientSize = new System.Drawing.Size(619, 759);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label1);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.label2);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Form1";
this.Text = "2048";
this.Load += new System.EventHandler(this.Form1_Load);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label2;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
}
}