public PromptPassphrasesDialog(StartupWizard wizard, byte[] seed, bool restore) : base(wizard) { _seed = seed; _restore = restore; CreateWalletCommand = new DelegateCommand(CreateWallet); }
public CreateOrImportSeedDialog(StartupWizard wizard) : base(wizard) { _randomSeed = WalletSeed.GenerateRandomSeed(); ContinueCommand = new DelegateCommand(Continue); ContinueCommand.Executable = false; }
public ImportSeedDialog(StartupWizard wizard, PgpWordList pgpWordlist, ConnectionWizardDialog previousDialog) : base(wizard) { _previousDialog = previousDialog; _pgpWordList = pgpWordlist; BackCommand = new DelegateCommand(Back); ContinueCommand = new DelegateCommand(Continue); }
public CreateSeedDialog(StartupWizard wizard, PgpWordList pgpWordlist, ConnectionWizardDialog previousDialog) : base(wizard) { _previousDialog = previousDialog; _pgpWordList = pgpWordlist; BackCommand = new DelegateCommand(Back); ContinueCommand = new DelegateCommand(Continue); // false below and remove raise to require a selection. ContinueCommand.Executable = true; }
public ConfirmSeedBackupDialog(StartupWizard wizard, CreateOrImportSeedDialog previousDialog, byte[] seed, PgpWordList pgpWordlist) : base(wizard) { _previousDialog = previousDialog; _seed = seed; _pgpWordList = pgpWordlist; ConfirmSeedCommand = new DelegateCommand(ConfirmSeed); BackCommand = new DelegateCommand(Back); }
public ConsensusServerRpcConnectionDialog(StartupWizard wizard) : base(wizard) { ConnectCommand = new DelegateCommand(Connect); // Do not autofill local defaults if they don't exist. if (!File.Exists(ConsensusServerCertificateFile)) { ConsensusServerNetworkAddress = ""; ConsensusServerCertificateFile = ""; } }
public ConsensusServerRpcConnectionDialog(StartupWizard wizard, ConsensusServerRpcOptions csro = null) : base(wizard) { ConnectCommand = new DelegateCommand(Connect); // Apply any discovered RPC defaults. if (csro != null) { ConsensusServerNetworkAddress = csro.NetworkAddress; ConsensusServerRpcUsername = csro.RpcUser; ConsensusServerRpcPassword = csro.RpcPassword; ConsensusServerCertificateFile = csro.CertificatePath; } }
public ShellViewModel() { // Set the window title to the title in the resources assembly. // Append network name to window title if not running on mainnet. var activeNetwork = App.Current.ActiveNetwork; var productTitle = AssemblyResources.Title; if (activeNetwork == BlockChainIdentity.MainNet) { WindowTitle = productTitle; } else { WindowTitle = $"{productTitle} [{activeNetwork.Name}]"; } CreateAccountCommand = new DelegateCommand(CreateAccount); StartupWizard = new StartupWizard(this, App.Current.DefaultCSRPO); StartupWizardVisible = true; }
public RestoreActivityProgress(StartupWizard wizard, string privatePassphrase) : base(wizard) { _privatePassphrase = privatePassphrase; }
public CreateNewWalletActivityProgress(StartupWizard wizard) : base(wizard) { }
public PromptPublicPassphraseDialog(StartupWizard wizard) : base(wizard) { OpenWalletCommand = new DelegateCommand(OpenWallet); }
public ConnectionWizardDialog(StartupWizard wizard) : base(wizard) { Wizard = wizard; }
public ConfirmSeedBackupDialog(StartupWizard wizard, CreateSeedDialog previousDialog, byte[] seed, PgpWordList pgpWordlist) : base(wizard) { _previousDialog = previousDialog; _seed = seed; _pgpWordList = pgpWordlist; ConfirmSeedCommand = new DelegateCommand(ConfirmSeed); BackCommand = new DelegateCommand(Back); }
public PickCreateOrImportSeedDialog(StartupWizard wizard) : base(wizard) { CreateWalletCommand = new DelegateCommand(CreateWallet); RestoreWalletCommand = new DelegateCommand(RestoreWallet); }
public OpenExistingWalletActivityProgress(StartupWizard wizard) : base(wizard) { }
public ConnectionWizardDialog(StartupWizard wizard) : base(wizard.Shell, wizard) { Wizard = wizard; }