Exemplo n.º 1
0
 private void BtnSave_Click(object sender, RoutedEventArgs e)
 {
     if (tb_Employee.IsSelected)
     {
         employee.Save();
     }
     else if (tb_EmployeePD.IsSelected)
     {
         pd.Save();
     }
     else if (tb_EmployeeJI.IsSelected)
     {
         ji.Save();
     }
     else if (tb_EmployeeJS.IsSelected)
     {
         js.Save();
     }
 }
Exemplo n.º 2
0
 private void BtSave_Click(object sender, RoutedEventArgs e)
 {
     if (tb_Employee.IsSelected)
     {
         employee.Save();
     }
     else if (tb_EmployeePD.IsSelected)
     {
         pd.Save();
     }
     else if (tb_EmployeeJI.IsSelected)
     {
         ji.Save();
     }
     else if (tb_EmployeeJS.IsSelected)
     {
         js.Save();
     }
     else if (tb_EmployeeTD.IsSelected)
     {
         td.Save();
     }
     else if (tb_EmployeePC.IsSelected)
     {
         pc.Save();
     }
     else if (tb_EmployeeCDWD.IsSelected)
     {
         cdwd.Save();
     }
     else if (tb_EmployeeOC.IsSelected)
     {
         oc.Save();
     }
     else if (tb_EmployeeEIMWS.IsSelected)
     {
         eimws.Save();
     }
 }