Ejemplo n.º 1
0
        /// <summary>
        /// Show login window. Login to wallet when login is entered. If users cancels, close application.
        /// </summary>
        private void ShowLogin()
        {
            var loginPrompt = new LoginPrompt(this);

            if (loginPrompt.ShowDialog() == true)
            {
                Wallet.Login(loginPrompt.Password);
            }
            else
            {
                Close();
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Show login window. Login to wallet when login is entered. If users cancels, close application.
        /// </summary>
        private void ShowLogin()
        {
            var loginPrompt = new LoginPrompt();

            if (loginPrompt.ShowDialog(this) == DialogResult.OK)
            {
                Wallet.Login(loginPrompt.Password);
            }
            else
            {
                Close();
            }
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Show login window. Login to wallet when login is entered. If users cancels, close application.
 /// </summary>
 private void ShowLogin()
 {
     var loginPrompt = new LoginPrompt(this);
     if (loginPrompt.ShowDialog() == true)
     {
         Wallet.Login(loginPrompt.Password);
     }
     else
     {
         Close();
     }
 }