Ejemplo n.º 1
0
        private void bCommit_Click(object sender, EventArgs e)
        {
            AccountList accountList = AccountList.GetAccountList();

            if (accountList.Commit(Convert.ToInt32(tbNumber.Text), Convert.ToInt32(tbAmount.Text)) == 0)
            {
                //TODO: Logger
                MessageBox.Show("There is no account with this number ");
            }
        }