Exemple #1
0
 private void EP3_Edit(object sender, EventArgs e)
 {
     try
     {
         if (LB.SelectedIndex != -1)
         {
             Employee_Taxes em = new Employee_Taxes(LB.SelectedValue, 2, ((DataRowView)Bonus_DG.SelectedItem)["emh_id"]);
             em.ShowDialog();
             Fill_DG_Bonus();
         }
     }
     catch
     {
     }
 }
Exemple #2
0
 private void EP3_Add(object sender, EventArgs e)
 {
     try
     {
         if (LB.SelectedIndex != -1)
         {
             Employee_Taxes em = new Employee_Taxes(LB.SelectedValue, 2);
             em.ShowDialog();
             Fill_DG_Bonus();
         }
     }
     catch
     {
     }
 }