private void previouswindowButton_Click(object sender, RoutedEventArgs e)
        {
            NewDepartmentEntryWindow main = new NewDepartmentEntryWindow();
            main.Show();
            this.Close();

        }
 private void NewDepartmentEntry_Click(object sender, RoutedEventArgs e)
 {
     NewDepartmentEntryWindow main = new NewDepartmentEntryWindow();
     main.Show();
     //this.Close();
 }