示例#1
0
        //Bouton NouvellePartie
        private void BTN_NouvellePartie_Click(object sender, EventArgs e)
        {
            PlacerBateaux form = new PlacerBateaux();

            if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                FillDGV(form.dgv);
                Place = true;
            }
        }
示例#2
0
 //Bouton NouvellePartie
 private void BTN_NouvellePartie_Click(object sender, EventArgs e)
 {
     PlacerBateaux form = new PlacerBateaux();
     if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         FillDGV(form.dgv);
         Place = true;
     }
 }