public POReceiptPresenter(IPOReceiptView view) { _view = view; _repository = new POReceiptSrv(); _repoProj = new ProjectSrv(); _repoPurchase = new PurchasingSrv(); _repoTrans = new ItemTransactionSrv(); _repoOnhand = new ItemOnhandSrv(); _repoItem = new ItemMasterSrv(); _view.Form_Load += Form_Load; _view.Filter_Click += Filter_Click; _view.New_Click += New_Click; _view.Find_Vendor += Find_Vendor; _view.Save_Click += Save_Click; _view.GenerateGRN += GenerateGRN; _view.GetPO += GetPO; _view.Seleted_RCV += Seleted_RCV; //_view.Refresh_Click += Refresh_Click; _view.Seleted_Line += Seleted_Line; _view.Confirm_QC += Confirm_QC; _view.Received_Click += Received_Click; _view.Delete_Row += Delete_Row; _view.Test_Object += Test_Object; _view.Print_Received += Print_Received; _view.Method_Change += Method_Change; _view.Get_GRN += Get_GRN; }
public MaterialReturnEntryPresenter(IMaterialReturnEntryView view) { _view = view; _repository = new ItemTransactionSrv(); _view.Form_Load += Form_Load; _view.OK_Click += OK_Click; _view.Cancel_Click += Cancel_Click; }
public MaterialIssueEntryPresenter(IMaterialIssueEntryView view) { _view = view; _repoOnhand = new ItemOnhandSrv(); _repoTrans = new ItemTransactionSrv(); _view.Form_Load += Form_Load; _view.GenerateNumber += GenerateNumber; _view.Save_Click += Save_Click; _view.Validate_Lines += Validate_Lines; }
public MaterialReturnPresenter(IMaterialReturnView view) { _view = view; _repoOnhand = new ItemOnhandSrv(); _repoTrans = new ItemTransactionSrv(); //_view.Form_Load += Form_Load; _view.Filter_Click += Filter_Click; _view.Find_Project += Find_Project; _view.AddLine_Click += AddLine_Click; _view.Delete_Click += Delete_Click; _view.Save_Click += Save_Click; }