private void AddAccountHead_Click(object sender, EventArgs e)
        {
            AddAccountLedger frmAddOthersAcHead = new AddAccountLedger();

            frmAddOthersAcHead.OnClose += new Action <string>(frmAddOthersAcHead_OnClose);
            frmAddOthersAcHead.Show();
        }
        private void btnEditAccountHead_Click(object sender, EventArgs e)
        {
            if (dgvLedgerAccount.SelectedCells.Count > 0)
            {
                string ledgerID = dgvLedgerAccount.CurrentRow.Cells["LedgerID"].Value.ToString();

                if (!ledgerID.ISNullOrWhiteSpace())
                {
                    AddAccountLedger editAcHead = new AddAccountLedger(ledgerID);
                    editAcHead.OnClose += new Action <string>(frmAddOthersAcHead_OnClose);
                    editAcHead.Show();
                }
            }
        }