private void addAccount() { AddAccounts addAccounts = new AddAccounts(); addAccounts.ShowDialog(); refreshAccountGrid(); }
private void displayAccount() { AddAccounts addAccounts = new AddAccounts(); addAccounts.lbl_AccountID.Text = dg_AccountDB.CurrentRow.Cells[2].Value.ToString(); addAccounts.txt_Account.Text = dg_AccountDB.CurrentRow.Cells[1].Value.ToString(); addAccounts.ShowDialog(); refreshAccountGrid(); }