private void splashBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { this.Hide(); var walletWindow = new wallet(walletPath, walletPassword, (Process)e.Result); walletWindow.Closed += (s, args) => this.Close(); walletWindow.Show(); }
private void SplashBackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { if (Program.jumpBack) { Utilities.Close(this); } else { Utilities.Hide(this); var walletWindow = new wallet(WalletPath, WalletPassword, (Process)e.Result); walletWindow.Closed += (s, args) => Utilities.Close(this); walletWindow.Show(); } }