private void AccountingFrm_Load(object sender, EventArgs e) { AccountsBL bl = new AccountsBL(); lblBankSales.Text = bl.GetCashInBankForSales().ToString(); lblBankService.Text = bl.GetCashInBankForService().ToString(); lblCashSales.Text = bl.GetCashInHandForSales().ToString(); lblCashService.Text = bl.GetCashInHandForService().ToString(); lblCashDebitSalespending.Text = bl.GetCashInHandForSalesDebitPending().ToString(); lblCashSalesCreditPending.Text = bl.GetCashInHandForSalesCreditPending().ToString(); lblCashServiceCreditPending.Text = bl.GetCashInHandForServiceCreditPending().ToString(); lblCashServiceDebitPending.Text = bl.GetCashInHandForServiceDebitPending().ToString(); }
public AccountsController(IAccountsBL accountsBL) { _accountsBL = accountsBL as AccountsBL; }