Inheritance: System.Windows.Forms.Form
Exemple #1
0
        private void cmdAccounts_SelectedIndexChanged(object sender, EventArgs e)
        {
            AccountIndex = cmdAccounts.SelectedIndex;
            var account = Accounts[AccountIndex];

            if (!account.Unlocked)
            {
                var frm = new FrmUnlock(account.Address, EthereumService);
                frm.ShowDialog();
                LoadAccounts();
            }

            CurrentAccount = account.Address;
        }
        private void cmdAccounts_SelectedIndexChanged(object sender, EventArgs e)
        {
            AccountIndex = cmdAccounts.SelectedIndex;
            var account = Accounts[AccountIndex];
            if (!account.Unlocked)
            {
                var frm = new FrmUnlock(account.Address, EthereumService);
                frm.ShowDialog();
                LoadAccounts();
            }

            CurrentAccount = account.Address;
        }