Наследование: System.Windows.Forms.Form
Пример #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;
        }
Пример #2
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;
        }