private void btnAdd_Click(object sender, EventArgs e)
        {
            FrmBankAccount form = new FrmBankAccount();

            form.ShowDialog();
            accountBancks.Add(form.Account);
        }
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (dtvBankAccount.CurrentCell != null)
     {
         Account        editAccount = (Account)dtvBankAccount.SelectedRows[0].DataBoundItem;
         FrmBankAccount form        = new FrmBankAccount();
         form.SetBankAccount(editAccount);
         if (form.ShowDialog() == DialogResult.OK)
         {
             accountBancks.Remove(editAccount);
             editAccount = form.GetAccount();
             ctr.Save(editAccount);
             accountBancks.Add(editAccount);
         }
     }
 }