public PayablePaymentUI(MainUI frmMain) { this.frmMain = frmMain; payablePaymentRepository = ServiceLocator.GetObject <IPayablePaymentRepository>(); payablePaymentItemRepository = ServiceLocator.GetObject <IPayablePaymentItemRepository>(); salesRepository = ServiceLocator.GetObject <ISalesRepository>(); userAccessRepository = ServiceLocator.GetObject <IUserAccessRepository>(); InitializeComponent(); }
public PayablePaymentHistoryUI(PayablePaymentUI frmPayablePayment) { payablePaymentRepository = ServiceLocator.GetObject <IPayablePaymentRepository>(); this.frmPayablePayment = frmPayablePayment; InitializeComponent(); }