namespace Snake { 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() { components = new System.ComponentModel.Container(); gamearea = new PictureBox(); timer = new System.Windows.Forms.Timer(components); ((System.ComponentModel.ISupportInitialize)gamearea).BeginInit(); SuspendLayout(); // // gamearea // gamearea.Location = new Point(200, 25); gamearea.Name = "gamearea"; gamearea.Size = new Size(400, 400); gamearea.TabIndex = 0; gamearea.TabStop = false; // // timer // timer.Enabled = true; timer.Interval = 200; timer.Tick += timer_Tick; // // Form1 // AutoScaleDimensions = new SizeF(10F, 25F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(800, 688); Controls.Add(gamearea); Name = "Form1"; Text = "Form1"; Load += Form1_Load; KeyDown += Form1_KeyDown; ((System.ComponentModel.ISupportInitialize)gamearea).EndInit(); ResumeLayout(false); } #endregion public PictureBox gamearea; public System.Windows.Forms.Timer timer; } }