-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathForm1.Designer.cs
117 lines (110 loc) · 4.64 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
namespace Game2048
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <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 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.btnRestart = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.lblScore = new System.Windows.Forms.Label();
this.Container = new Game2048.MyPanel();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.panel1.Controls.Add(this.btnRestart);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.lblScore);
this.panel1.Location = new System.Drawing.Point(12, 5);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(400, 46);
this.panel1.TabIndex = 1;
//
// btnRestart
//
this.btnRestart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRestart.Font = new System.Drawing.Font("宋体", 20F);
this.btnRestart.Location = new System.Drawing.Point(355, 3);
this.btnRestart.Name = "btnRestart";
this.btnRestart.Size = new System.Drawing.Size(42, 40);
this.btnRestart.TabIndex = 2;
this.btnRestart.Text = "🔃";
this.btnRestart.TextAlign = System.Drawing.ContentAlignment.TopCenter;
this.btnRestart.UseVisualStyleBackColor = true;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 30F);
this.label1.Location = new System.Drawing.Point(3, 3);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(137, 40);
this.label1.TabIndex = 1;
this.label1.Text = "SCORE:";
//
// lblScore
//
this.lblScore.AutoSize = true;
this.lblScore.Font = new System.Drawing.Font("宋体", 30F);
this.lblScore.Location = new System.Drawing.Point(141, 3);
this.lblScore.Name = "lblScore";
this.lblScore.Size = new System.Drawing.Size(37, 40);
this.lblScore.TabIndex = 0;
this.lblScore.Text = "0";
//
// Container
//
this.Container.BackColor = System.Drawing.Color.Turquoise;
this.Container.Location = new System.Drawing.Point(12, 55);
this.Container.Name = "Container";
this.Container.Size = new System.Drawing.Size(400, 400);
this.Container.TabIndex = 0;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.ClientSize = new System.Drawing.Size(424, 465);
this.Controls.Add(this.panel1);
this.Controls.Add(this.Container);
this.Name = "Form1";
this.Text = "2048";
this.Load += new System.EventHandler(this.Form1_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private MyPanel Container;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label lblScore;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnRestart;
}
}