示例#1
0
        private void btnaddmember_Click(object sender, EventArgs e)
        {
            FrmMembre fm = new FrmMembre();

            fm.Show();
            this.Hide();
        }
示例#2
0
 private void btnmodifymem_Click(object sender, EventArgs e)
 {
     if (guna2DataGridViewEvenement.SelectedRows.Count > 0)
     {
         for (int i = 0; i < guna2DataGridViewEvenement.SelectedRows.Count; i++)
         {
             FrmMembre fr = new FrmMembre
                            (
                 guna2DataGridViewEvenement.SelectedRows[i].DataBoundItem as Membre,
                 loadData
                            );
             fr.ShowDialog();
         }
     }
 }