Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 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();
     }
 }