Пример #1
0
 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();
     }
 }
Пример #2
0
 private void COA_Load(object sender, EventArgs e)
 {
     ddlAccount.DataSource = Accounts.ShowLedgerTypes();
     grdVoucher.DataSource = Accounts.ShowChartOfAccounts();
 }