Example #1
0
        private void olvSalarie_Click(object sender, EventArgs e)
        {
            if (gridView1.SelectedRowsCount != 1)
            {
                return;
            }
            F_Salarie       salaire = ((F_Salarie)(gridView1.GetRow(gridView1.FocusedRowHandle)));
            frmFicheSalarie frm     = new frmFicheSalarie(salaire);

            frm.ShowDialog();
        }
Example #2
0
 private void btNouveau_Click(object sender, EventArgs e)
 {
     try
     {
         frmFicheSalarie frm = new frmFicheSalarie();
         frm.ShowDialog();
         BindListe();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }