namespace view { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { Canvas = new Panel(); btnStart = new Button(); panel1 = new Panel(); txtScore = new TextBox(); label1 = new Label(); Canvas.SuspendLayout(); panel1.SuspendLayout(); SuspendLayout(); // // Canvas // Canvas.BackColor = Color.White; Canvas.Controls.Add(btnStart); Canvas.Dock = DockStyle.Top; Canvas.Location = new Point(0, 0); Canvas.Name = "Canvas"; Canvas.Size = new Size(480, 480); Canvas.TabIndex = 0; // // btnStart // btnStart.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; btnStart.Location = new Point(193, 226); btnStart.Name = "btnStart"; btnStart.Size = new Size(94, 29); btnStart.TabIndex = 0; btnStart.Text = "START"; btnStart.UseVisualStyleBackColor = true; btnStart.Click += btnStart_Click; // // panel1 // panel1.Controls.Add(txtScore); panel1.Controls.Add(label1); panel1.Dock = DockStyle.Bottom; panel1.Location = new Point(0, 486); panel1.Name = "panel1"; panel1.Size = new Size(480, 94); panel1.TabIndex = 0; // // txtScore // txtScore.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; txtScore.Location = new Point(64, 9); txtScore.Name = "txtScore"; txtScore.ReadOnly = true; txtScore.Size = new Size(404, 27); txtScore.TabIndex = 1; txtScore.TabStop = false; // // label1 // label1.AutoSize = true; label1.Location = new Point(12, 12); label1.Name = "label1"; label1.Size = new Size(46, 20); label1.TabIndex = 0; label1.Text = "Score"; // // Form1 // AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(480, 580); Controls.Add(panel1); Controls.Add(Canvas); Name = "Form1"; Text = "Snake"; KeyDown += Form1_KeyDown; PreviewKeyDown += Form1_PreviewKeyDown; Canvas.ResumeLayout(false); panel1.ResumeLayout(false); panel1.PerformLayout(); ResumeLayout(false); } #endregion private Panel Canvas; private Panel panel1; private Label label1; private TextBox txtScore; private Button btnStart; } }