//private readonly WMSServiceClient service; public InventoryTaskPresenter(IUnityContainer container, IInventoryTaskView view) { View = view; this.container = container; //this.service = new WMSServiceClient(); View.Model = this.container.Resolve <InventoryTaskModel>(); View.ShowRepAndPack += new EventHandler <EventArgs>(this.OnShowRepAndPack); View.InvenroryAdj += new EventHandler <EventArgs>(View_InvenroryAdj); View.ErpConciliation += new EventHandler <EventArgs>(View_ErpConciliation); //LoadRepAndPack(); LoadInventoryAdj(); }
//private readonly WMSServiceClient service; public InventoryTaskPresenter(IUnityContainer container, IInventoryTaskView view) { View = view; this.container = container; //this.service = new WMSServiceClient(); View.Model = this.container.Resolve<InventoryTaskModel>(); View.ShowRepAndPack += new EventHandler<EventArgs>(this.OnShowRepAndPack); View.InvenroryAdj += new EventHandler<EventArgs>(View_InvenroryAdj); View.ErpConciliation += new EventHandler<EventArgs>(View_ErpConciliation); //LoadRepAndPack(); LoadInventoryAdj(); }