namespace Spaceshooter { 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(); player = new PictureBox(); gameTimer = new System.Windows.Forms.Timer(components); ((System.ComponentModel.ISupportInitialize)player).BeginInit(); SuspendLayout(); // // player // player.BackColor = Color.OrangeRed; player.Location = new Point(33, 135); player.Name = "player"; player.Size = new Size(100, 50); player.TabIndex = 0; player.TabStop = false; player.Click += player_Click; // // gameTimer // gameTimer.Enabled = true; gameTimer.Interval = 20; gameTimer.Tick += gameTimer_Tick; // // Form1 // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(800, 450); Controls.Add(player); Name = "Form1"; Text = "Form1"; Load += Form1_Load; KeyDown += Form1_KeyDown; KeyUp += Form1_KeyUp; ((System.ComponentModel.ISupportInitialize)player).EndInit(); ResumeLayout(false); } #endregion private PictureBox player; private System.Windows.Forms.Timer gameTimer; } }