public ModEmployeeWindow(MainWindow mWindow, Employee oldEmployee, List<int> IDList)
 {
     this.mWindow = mWindow;
     this.modEmployee = new Employee()
     {
         EmployeeID = oldEmployee.EmployeeID,
         FirstName = oldEmployee.FirstName,
         LastName = oldEmployee.LastName,
         BirthDate = oldEmployee.BirthDate,
         HireDate = oldEmployee.HireDate,
         Address = oldEmployee.Address,
         PostalCode = oldEmployee.PostalCode,
         City = oldEmployee.City,
         Country = oldEmployee.Country,
         Region = oldEmployee.Region,
         ReportsTo = oldEmployee.ReportsTo,
         EmployeeTerritories = oldEmployee.EmployeeTerritories,
         Extension = oldEmployee.Extension,
         HomePhone = oldEmployee.HomePhone,
         Notes = oldEmployee.Notes,
         Photo = oldEmployee.Photo,
         PhotoPath = oldEmployee.PhotoPath,
         Title = oldEmployee.Title,
         TitleOfCourtesy = oldEmployee.TitleOfCourtesy
     };
     this.IDList = IDList;
     this.Register(this.mWindow);
     InitializeComponent();
     FillFieldsDefault();
     this.Show();
 }
 public DelEmployeeWindow(MainWindow mWindow)
 {
     this.mWindow = mWindow;
     this.Register(this.mWindow);
     InitializeComponent();
     this.Show();
 }
 private void Unregister(MainWindow mWindow)
 {
     ModEmployeeEvent -= this.mWindow.HandleModEmp;
 }
 private void Register(MainWindow mWindow)
 {
     ModEmployeeEvent += new EventHandler<ModEmpEventArgs>(this.mWindow.HandleModEmp);
 }