protected override void DeleteRecord()
        {
            try
            {
                Data_BankAccount bankAccount = Utils.GetCurrentRecord <Data_BankAccount>(bsRecords);

                if (bankAccount != null)
                {
                    if (Utils.AskQuestion(String.Format("Are you sure you want to delete Bank Account {0}?", bankAccount.BankAccountCode)) == DialogResult.Yes)
                    {
                        Data_BankAccount.DeleteBankAccount(bankAccount.BankAccountCode);
                        GetRecords();
                    }
                }
            }
            catch (Exception ex)
            {
                Utils.ShowException(ex);
            }
        }