예제 #1
0
파일: Startup.cs 프로젝트: pvandyk-tmt/ITS
 public void Show(Kapsch.ITS.App.Common.Models.AuthenticatedUser authenticatedUser)
 {
     AuthenticatedUser = authenticatedUser;
     try
     {
         var mainWindow = new MainWindow();
         mainWindow.ShowDialog();
     }
     catch (Exception ex)
     {
         //go back to main window
     }
 }
예제 #2
0
파일: App.cs 프로젝트: pvandyk-tmt/ITS
 public bool HasAccess(Kapsch.ITS.App.Common.Models.AuthenticatedUser authenticatedUser)
 {
     AuthenticatedUser = authenticatedUser;
     return(authenticatedUser.IsInRole("IMS Work Station: iApps - iLog"));
     //return true;
 }