public DesignService(IWorkspaceService workspaceService, CompilerService compilerService,Report report) { this.WorkspaceService = workspaceService; this.compilerService = compilerService; controlViewFactory = new ControlViewFactory (this); PixbufRepository = new PixbufRepository (){ Report = report}; IsDesign = true; Zoom = 1; Render = true; Report = report; }
public DesignService(IWorkspaceService workspaceService,ReportRenderer renderer,PixbufRepository pixbufRepository,CompilerService compilerService, Report report) { this.PixbufRepository = pixbufRepository; this.WorkspaceService = workspaceService; this.Compiler = compilerService; this.renderer = renderer; controlViewFactory = new ControlViewFactory (renderer); IsDesign = true; Report = report; Zoom = 1; Render = true; IsDirty = true; }