示例#1
0
 private void btnCommencer_Click(object sender, EventArgs e)
 {
     try {
         ViewConfig vc = new ViewConfig(connexion);
         vc.Show();
     } catch (Exception ex) {
         throw ex;
     }
 }
示例#2
0
 private void dgvProchainsMatchs_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     try {
         int      index = e.RowIndex;
         string[] tab   = list.ElementAt(index);
         Model.ProchainePartieDAO ppdao  = new Model.ProchainePartieDAO(connexion);
         Model.ProchainePartie    partie = ppdao.Select("WHERE id='" + tab[0] + "'").First();
         ViewConfig vc = new ViewConfig(connexion, partie);
         vc.Show();
     } catch (Exception ex) {
         throw ex;
     }
 }