/// <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, EventArgs e) { var createForm = new CreateWallet(existingWallets); createForm.Height = Height; createForm.Owner = this; if (createForm.ShowDialog() == DialogResult.OK) { string fullWalletPath = System.IO.Path.Combine(WalletPath, createForm.WalletName + ".bin"); OpenMain(fullWalletPath, true); } }