private void RestoreDialog_OnRestoreBtnClick(object sender, EventArgs e) { RestoreDialog.Restored = RestoreWizard.Execute(); if (RestoreDialog.Restored) { WalletCreationProcess(!string.IsNullOrEmpty(FPasscode)); StartupExchangeProcess(); } }
public bool ExecuteRestore() { if (OnRestoreInformationFromFile == null) { throw new InvalidOperationException("You must set the property OnRestoreInformationFromFile first"); } if (OnRestoreInformationFromFile == null) { throw new InvalidOperationException("You must set the property OnPasscodeEntropyFromWords first"); } return(RestoreWizard.Execute()); //if (RestoreDialog.Restored) //{ // WalletCreationProcess(!string.IsNullOrEmpty(FPasscode)); // StartupExchangeProcess(); //} }