Example #1
0
 public void OnDialogOpened(IDialogParameters parameters)
 {
     try
     {
         Username           = parameters.GetUsername();
         Password           = parameters.GetPassword().ToSecuredString();
         IsRememberPassword = parameters.GetRememberPassword();
         Title = parameters.GetTitle();
     }
     catch (Exception ex)
     {
         Log.Debug(ex, "Failed to get values from restored session");
     }
 }