コード例 #1
0
 public RefillingReturnPaymentPresenter(IRefillReturnPaymentView m_view)
 {
     this.m_view = m_view;
     m_customerDao = new CustomerDao();
     m_refillDao = new RefillDao();
     m_refillReportDao = new RefillReportDao();
     m_custInvDao = new RefillCustomerInventoryDao();
     m_daysummaryDao = new RefillDaySummaryDao();
     m_invDao = new RefillInventoryDao();
     customer = new CustomerDataEntity();
     custInv = new RefillCustInventoryHeaderDataEntity();
 }
コード例 #2
0
        public RefillingView()
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
            m_refillDao = new RefillDao();
            m_presenter = new RefillingViewPresenter(this, m_refillDao);
        }
コード例 #3
0
 public RefillingViewPresenter(IRefillingView p_view, IRefillDao p_refillDao)
 {
     this.m_view = p_view;
     this.m_refillDao = p_refillDao;
     this.m_transTypeDao = new RefillTransactionTypeDao();
     this.m_customerDao = new CustomerDao();
     this.m_productDao = new RefillProductTypeDao();
     m_summaryDao = new RefillDaySummaryDao();
     m_customerInvDao = new RefillCustomerInventoryDao();
     m_refillInvDao = new RefillInventoryDao();
     m_refillInvDetailDao = new RefillInventoryDetailDao();
     m_printerDao = new PrinterDao();
     m_companyDao = new CompanyDao();
 }