private void buttonEmployees_Click(object sender, RoutedEventArgs e) { var wnd = new EmployeesWindow(); wnd.Owner = this; wnd.Show(); }