/// <summary>
 /// private void menuPrincipal_Click(object sender, EventArgs e)
 ///
 /// Cette fonction contrôle le bouton "Menu principal"
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void menuPrincipal_Click(object sender, EventArgs e)
 {
     _fenetre.Hide();
     NativeFunction.arreterSons();
     // Todo: vérifier transition
     //Program.afficherMenuPrincipal();
     EventManager.Instance.Notice(new EndGameEvent(EndGameType.Dead));
     Dispose();
 }
 public void HideWinform()
 {
     _integratedOpenGl.Hide();
 }
 /// <summary>
 /// private void menuPrincipal_Click(object sender, EventArgs e)
 ///
 /// Cette fonction contrôle le bouton "Menu principal"
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void menuPrincipal_Click(object sender, EventArgs e)
 {
     _fenetre.Hide();
     Dispose();
 }