public void Attach(ReportDesignerView viewContent) { if (viewContent == null) { throw new ArgumentNullException("viewContent"); } this.viewContent = viewContent; }
public void Attach(ReportDesignerView viewContent) { Console.WriteLine("ReportDesignerGenerator:Attach"); if (viewContent == null) { throw new ArgumentNullException("viewContent"); } this.viewContent = viewContent; }
void ActiveViewContentChanged(object source, EventArgs e) { ReportDesignerView vv = WorkbenchSingleton.Workbench.ActiveViewContent as ReportDesignerView; if (vv != null) { Console.WriteLine("Explorerpad:ActiveViewContentChanged {0}", vv.TitleName); } }
public IViewContent CreateContentForFile(OpenedFile file) { if (file.IsDirty) { ReportWizardCommand cmd = new ReportWizardCommand(file); cmd.Run(); if (cmd.Canceled) { return(null); } file.SetData(cmd.GeneratedReport.ToArray()); } ReportDesignerView view = ICSharpCode.Reports.Addin.Commands.StartViewCommand.SetupDesigner(file); return(view); }
public void Detach() { this.viewContent = null; }
public void Attach(ReportDesignerView viewContent) { this.view = viewContent; }