示例#1
0
 public ThanhToan()
 {
     InitializeComponent();
     service = new ThanhToanService();
     LoadData();
     ResetControls();
 }
 public ThanhToanController(
     IThanhToanService thanhToanService,
     ISachService sachService,
     INhaXuatBanService nxbService,
     ICtThanhToanService ctThanhToanService,
     ITinhTrangService tinhTrangService,
     ICongNoNXBService congNoNXBService,
     IPhieuNhapService phieuNhapService)
 {
     this.thanhToanService   = thanhToanService;
     this.sachService        = sachService;
     this.nxbService         = nxbService;
     this.ctThanhToanService = ctThanhToanService;
     this.tinhTrangService   = tinhTrangService;
     this.congNoNXBService   = congNoNXBService;
     this.phieuNhapService   = phieuNhapService;
 }