Beispiel #1
0
 private void BtnAdd_Click(object sender, RoutedEventArgs e)
 {
     if (tb_Employee.IsSelected)
     {
         employee.Add();
     }
     else if (tb_EmployeePD.IsSelected)
     {
         pd.Add();
     }
     else if (tb_EmployeeJI.IsSelected)
     {
         ji.Add();
     }
     else if (tb_EmployeeJS.IsSelected)
     {
         js.Add();
     }
 }
Beispiel #2
0
 private void BtAdd_Click(object sender, RoutedEventArgs e)
 {
     if (tb_Employee.IsSelected)
     {
         employee.Add();
     }
     else if (tb_EmployeePD.IsSelected)
     {
         pd.Add();
     }
     else if (tb_EmployeeJI.IsSelected)
     {
         ji.Add();
     }
     else if (tb_EmployeeJS.IsSelected)
     {
         js.Add();
     }
     else if (tb_EmployeeTD.IsSelected)
     {
         td.Add();
     }
     else if (tb_EmployeePC.IsSelected)
     {
         pc.Add();
     }
     else if (tb_EmployeeCDWD.IsSelected)
     {
         cdwd.Add();
     }
     else if (tb_EmployeeOC.IsSelected)
     {
         oc.Add();
     }
     else if (tb_EmployeeEIMWS.IsSelected)
     {
         eimws.Add();
     }
 }