public frmDailySales(ISalesService salesService, ISalePaymentService salePaymentService) { InitializeComponent(); _salesService = salesService; _salePaymentService = salePaymentService; }
public frmPointOfSalePayment(ISalePaymentService posPaymentService, ISaleService pOSTransactionService, int transactionID, DateTime saleDate) { InitializeComponent(); _posPaymentService = posPaymentService; _pOSTransactionService = pOSTransactionService; _posTransactionID = transactionID; _saleDate = saleDate; }