public AbstractPreviewCommand(ReportModel model, ICSharpCode.Reports.Core.ReportViewer.PreviewControl reportViewer) { if (model == null) { throw new ArgumentNullException ("model"); } if (reportViewer == null) { throw new ArgumentNullException("reportViewer"); } this.model = model; this.reportViewer = reportViewer; }
public ReportViewerSecondaryView(ReportDesignerLoader designerLoader,IViewContent content):base(content) { if (designerLoader == null) { throw new ArgumentNullException("designerLoader"); } if (content == null) { throw new ArgumentNullException("content"); } this.designerLoader = designerLoader; this.control = new ICSharpCode.Reports.Core.ReportViewer.PreviewControl(); this.control.Messages = new ReportViewerMessages(); this.control.PreviewLayoutChanged += OnPreviewLayoutChanged; base.TabPageText = ResourceService.GetString("SharpReport.ReportViewer"); }
public AbstractPreviewCommand(ReportModel model, ICSharpCode.Reports.Core.ReportViewer.PreviewControl reportViewer) { if (model == null) { throw new ArgumentNullException("model"); } if (reportViewer == null) { throw new ArgumentNullException("reportViewer"); } this.model = model; this.reportViewer = reportViewer; }
public ReportViewerSecondaryView(ReportDesignerLoader designerLoader, IViewContent content) : base(content) { if (designerLoader == null) { throw new ArgumentNullException("designerLoader"); } if (content == null) { throw new ArgumentNullException("content"); } this.designerLoader = designerLoader; this.control = new ICSharpCode.Reports.Core.ReportViewer.PreviewControl(); this.control.Messages = new ReportViewerMessages(); this.control.PreviewLayoutChanged += OnPreviewLayoutChanged; base.TabPageText = ResourceService.GetString("SharpReport.ReportViewer"); }
public AsyncPushModelPreviewCommand(ReportModel model, ICSharpCode.Reports.Core.ReportViewer.PreviewControl reportViewer) : base(model, reportViewer) { }