public void Attach(ReportDesignerView viewContent)
		{
			if (viewContent == null) {
				throw new ArgumentNullException("viewContent");
			}
			this.viewContent = viewContent;
		}
 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;
		}
Esempio n. 4
0
        void ActiveViewContentChanged(object source, EventArgs e)
        {
            ReportDesignerView vv = WorkbenchSingleton.Workbench.ActiveViewContent as ReportDesignerView;

            if (vv != null)
            {
                Console.WriteLine("Explorerpad:ActiveViewContentChanged {0}", vv.TitleName);
            }
        }
Esempio n. 5
0
 public void Attach(ReportDesignerView viewContent)
 {
     Console.WriteLine("ReportDesignerGenerator:Attach");
     if (viewContent == null)
     {
         throw new ArgumentNullException("viewContent");
     }
     this.viewContent = viewContent;
 }
        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 Detach()
		{
			this.viewContent = null;
		}
		public void Attach(ReportDesignerView viewContent)
		{
			this.view = viewContent;
		}