private void panel1_Paint(object sender, PaintEventArgs e) { Graphics pass = panel1.CreateGraphics(); shp = new Shape(pass); game = new Game(); game.Board(); changeLabel(); }