Ejemplo n.º 1
0
 protected void OpenLoginWindow()
 {
     try
     {
         this.command.Enabled = false;
         LoginWindow loginWindow = viewLocator.LoadWindow <LoginWindow>(this.WindowManager, "UI/Logins/Login");
         loginWindow.OnLoginFinished += OnLoginFinished;
         loginWindow.Create();
         loginWindow.Show();
     }
     catch (Exception e)
     {
         if (log.IsWarnEnabled)
         {
             log.Warn(e.StackTrace);
         }
     }
 }