/// <summary>
        /// Show dialog for new wallet name. Open new wallet.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnNew_Click(object sender, RoutedEventArgs e)
        {
            var createForm = new CreateWallet(existingWallets);
            createForm.Height = Height;
            createForm.Owner = this;

            if (createForm.ShowDialog() == true)
            {
                string fullWalletPath = System.IO.Path.Combine(walletPath, createForm.WalletName + ".bin");
                OpenMain(fullWalletPath, true);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Show dialog for new wallet name. Open new wallet.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnNew_Click(object sender, RoutedEventArgs e)
        {
            var createForm = new CreateWallet(existingWallets);

            createForm.Height = Height;
            createForm.Owner  = this;

            if (createForm.ShowDialog() == true)
            {
                string fullWalletPath = System.IO.Path.Combine(walletPath, createForm.WalletName + ".bin");
                OpenMain(fullWalletPath, true);
            }
        }