Beispiel #1
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            frmCreerEcole f = new frmCreerEcole(loadData);

            //Close();
            f.Show();
        }
Beispiel #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count > 0)
     {
         for (int i = 0; i < dataGridView1.SelectedRows.Count; i++)
         {
             Form f = new frmCreerEcole
                      (
                 dataGridView1.SelectedRows[i].DataBoundItem as Ecole,
                 loadData
                      );
             f.ShowDialog();
         }
     }
 }