private void FormForGame_Load(object sender, EventArgs e) { Init(); Plate.AdImage(Properties.ResourceGameSpace.platform); Player.AddPlayer(Properties.ResourceGameSpace.man_spaceleft); timer1 = new Timer(); timer1.Interval = 15; timer1.Tick += new EventHandler(Update); timer1.Start(); this.KeyDown += new KeyEventHandler(OnKeyboardPressed); this.KeyUp += new KeyEventHandler(OnKeyboardUp); this.BackgroundImage = Properties.ResourceGameSpace.space_back; this.Height = 600; this.Width = 330; this.Paint += new PaintEventHandler(OnRepaint); }