private void button1_Click(object sender, EventArgs e)
 {
     if (Accounts.CheckNames(txtDescription.Text))
     {
         Accounts.InsertChartOfAccounts(txtDescription.Text, ddlAccount.Text, DateTime.Now);
         grdVoucher.DataSource = Accounts.ShowChartOfAccounts();
         txtDescription.Clear();
     }
 }
 private void COA_Load(object sender, EventArgs e)
 {
     ddlAccount.DataSource = Accounts.ShowLedgerTypes();
     grdVoucher.DataSource = Accounts.ShowChartOfAccounts();
 }