/// <summary> /// call the methods paint each 100ms /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tmr_Tick(object sender, EventArgs e) { /*if (!gameInProgress) this.CreateCendre();*/ if (!gameInProgress && this.gameover == null) this.gameover = new GameOver(this); Invalidate(); }