-
Notifications
You must be signed in to change notification settings - Fork 0
/
gameForm.Designer.cs
96 lines (90 loc) · 4.04 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
namespace SnakeEvo
{
partial class gameForm
{
/// <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.pbCanvas = new System.Windows.Forms.PictureBox();
this.scoreLabel = new System.Windows.Forms.Label();
this.gameStartButton = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.pbCanvas)).BeginInit();
this.SuspendLayout();
//
// pbCanvas
//
this.pbCanvas.BackColor = System.Drawing.Color.CornflowerBlue;
this.pbCanvas.Location = new System.Drawing.Point(28, 45);
this.pbCanvas.Margin = new System.Windows.Forms.Padding(4);
this.pbCanvas.Name = "pbCanvas";
this.pbCanvas.Size = new System.Drawing.Size(400, 400);
this.pbCanvas.TabIndex = 0;
this.pbCanvas.TabStop = false;
this.pbCanvas.Paint += new System.Windows.Forms.PaintEventHandler(this.pbCanvas_Paint);
//
// scoreLabel
//
this.scoreLabel.AutoSize = true;
this.scoreLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.scoreLabel.Location = new System.Drawing.Point(170, 461);
this.scoreLabel.Name = "scoreLabel";
this.scoreLabel.Size = new System.Drawing.Size(115, 31);
this.scoreLabel.TabIndex = 2;
this.scoreLabel.Text = "Score: 0";
//
// gameStartButton
//
this.gameStartButton.Location = new System.Drawing.Point(190, 517);
this.gameStartButton.Name = "gameStartButton";
this.gameStartButton.Size = new System.Drawing.Size(75, 23);
this.gameStartButton.TabIndex = 3;
this.gameStartButton.Text = "Game Start";
this.gameStartButton.UseVisualStyleBackColor = true;
this.gameStartButton.Click += new System.EventHandler(this.gameStartButton_Click);
//
// gameForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(452, 552);
this.Controls.Add(this.gameStartButton);
this.Controls.Add(this.scoreLabel);
this.Controls.Add(this.pbCanvas);
this.KeyPreview = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "gameForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "About";
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.formGame_KeyDown);
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.formGame_KeyUp);
((System.ComponentModel.ISupportInitialize)(this.pbCanvas)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pbCanvas;
private System.Windows.Forms.Label scoreLabel;
private System.Windows.Forms.Button gameStartButton;
}
}