예제 #1
0
		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;
 }
예제 #3
0
		public void Attach(ReportDesignerView viewContent)
		{
			Console.WriteLine("ReportDesignerGenerator:Attach");
			if (viewContent == null) {
				throw new ArgumentNullException("viewContent");
			}
			this.viewContent = viewContent;
		}
예제 #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);
            }
        }
예제 #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;
 }
예제 #8
0
		public void Detach()
		{
			this.viewContent = null;
		}
예제 #9
0
		public void Attach(ReportDesignerView viewContent)
		{
			this.view = viewContent;
		}