private void Btn_ReturnToAdminShiftMenu_Click(object sender, RoutedEventArgs e)
        {
            AdminRegisterShift AdminshiftMenu = new AdminRegisterShift();

            AdminshiftMenu.Show();
            this.Close();
        }
Beispiel #2
0
 private void Btn_ShiftWindow_Click(object sender, RoutedEventArgs e)
 {
     if (_Controller.LoginCredentials == "hofi353" || _Controller.LoginCredentials == "hofi0")
     {
         AdminRegisterShift _AdminRegisterShift = new AdminRegisterShift();
         _AdminRegisterShift.Show();
         this.Close();
     }
     else
     {
         RegisterShift _ShiftWindow = new RegisterShift();
         _ShiftWindow.Show();
         this.Close();
     }
 }