public gameForm(Form _MyMainUI) { this.DoubleBuffered = true; InitializeComponent(); MyMainUI = _MyMainUI; myPlateau = new Plateau(gamePanel); MyImagesManager = new ImagesManager(gamePanel); MyClient = new Client(this.gamePanel, this.listBox2, this, MyMainUI); MyAnim = new Animation(this.gamePanel); }
private void gamePanel_Paint(object sender, PaintEventArgs e) { Plateau.PaintEventForm1(gamePanel.Width, gamePanel.Height, e); }