private void editEmployeeBtn_Click(object sender, RoutedEventArgs e)
 {
     EmployeeInfo employeeToEdit = GetSelectedItem();
     if (employeeToEdit != null)
     {
         ECMS.AddEmployee AddEmployeeObj = new ECMS.AddEmployee(employeeToEdit);
         AddEmployeeObj.Show();
     }
 }
 private void addEmployeeBtn_Click(object sender, RoutedEventArgs e)
 {
     ECMS.AddEmployee AddEmployeeObj = new ECMS.AddEmployee(null);
     AddEmployeeObj.Show();
 }