상속: 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;
        }