Beispiel #1
0
 private void btnModifier_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count > 0)
     {
         for (int i = 0; i < dataGridView1.SelectedRows.Count; i++)
         {
             Form f = new FrmListeEtudiant
                      (
                 dataGridView1.SelectedRows[i].DataBoundItem as Etudiant,
                 loadData
                      );
             this.Hide();
             f.Show();
             f.WindowState = FormWindowState.Maximized;
         }
     }
 }
Beispiel #2
0
        private void listeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f = new FrmListeEtudiant();

            f.Show();
        }