示例#1
0
        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();
        }
示例#2
0
 public AccountsController(IAccountsBL accountsBL)
 {
     _accountsBL = accountsBL as AccountsBL;
 }