Esempio n. 1
0
 public DocTemplateListPresenter(iApplicationContext oContext, IViewDocTemplateList view)
     : base(oContext, view)
 {
     this.ServiceManagement = new Templ.Business.DocTemplateVersManagementService(oContext);
     InitService();
     this.ServiceGeneric = new Templ.Business.DocTemplateVersService(oContext);
     //this.Service = new DomainModel.DocTemplate.Business.DocTemplateService(oContext);
     //this.CurrentManager = new BaseModuleManager(oContext);
 }
 public DocTemplateEditPresenter(iApplicationContext oContext, IViewDocTemplateEdit view)
     : base(oContext, view)
 {
     this.ServiceManagement                = new Templ.Business.DocTemplateVersManagementService(oContext);
     this.ServiceManagement.FileCopy      += new Templ.Business.DocTemplateVersManagementService.FileCopyEventHandler(HandleCopyEvent);
     this.ServiceManagement.FileCopyBlock += new Templ.Business.DocTemplateVersManagementService.FileCopyBlockEventHandler(HandleCopyBlockEvent);
     this.ServiceManagement.FileDelete    += new Templ.Business.DocTemplateVersManagementService.FileDeleteEventHandler(HandleDeleteEvent);
     this.ServiceManagement.FileRemTmp    += new Templ.Business.DocTemplateVersManagementService.FileRemTmpEventHandler(HandleRemTmpEvent);
     this.ServiceManagement.FileRecCopy   += new Templ.Business.DocTemplateVersManagementService.FileRecoverCopyEventHandler(HandleRecCopyEvent);
     //this.ServiceGeneric = new Templ.Business.DocTemplateVersService(oContext);
     //this.Service = new Templ.Business.DocTemplateVersService(oContext);
     //this.CurrentManager = new BaseModuleManager(oContext);
 }