コード例 #1
0
        //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();
        }
コード例 #2
0
        //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();

        }