private void AddEmployee()
        {
            AddEmployee addEmployee = new AddEmployee(dictDepartments);

            if (addEmployee.ShowDialog() == true)
            {
                string[] d = addEmployee.GetData;
            }
        }
 // Add employee
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     ae = new AddEmployee();
     ae.Show();
     ae.Closing += new CancelEventHandler(UpdateEmployeeGridFormClose);
 }