Пример #1
0
 private void departJouer(object sender, EventArgs e)
 {
     if (MessageBox.Show("Attention la progression ne sera pas sauvegarder", "recommencer ?", MessageBoxButtons.YesNo) == DialogResult.Yes)
     {
         PlateauSimulation pS = new PlateauSimulation(0);
         this.Close();
         pS.Show();
     }
 }
Пример #2
0
        private void choix_case_depart_click(object sender, EventArgs e)
        {
            PlateauSimulation ps = new PlateauSimulation(0);


            ps.grille[ps.ii - 1, ps.jj - 1].modifEtat(1);
            ps.modif_case_echec(i, j, 1);
            ps.k = 2;
            this.Close();
            ps.Show();
        }
Пример #3
0
        private void click_simulation(object sender, EventArgs e)
        {
            PlateauSimulation pS = new PlateauSimulation(0);

            pS.Show();
        }