Example #1
0
 public bool ExecuteRestore(object aReferenceForm = null)
 {
     if (string.IsNullOrEmpty(FUsername) || string.IsNullOrEmpty(FEmail))
     {
         throw new Exception("Before executing restore wizard you must set username and email into Restore controller");
     }
     if (PasswordDialogCallMethod == null)
     {
         throw new Exception("You must set PasswordDialogCallMethod and PasswordHashCheckMethod before executing retore process");
     }
     FRestoreWindow.ParentWindow = aReferenceForm;
     return(FRestoreWindow.Execute());
 }