Esempio n. 1
0
 private void SetupSecondaryView()
 {
     xmlView = new XmlView(generator, this);
     SecondaryViewContents.Add(xmlView);
     preview = new ReportPreview(loader, this);
     SecondaryViewContents.Add(preview);
     reportViewer = new ReportViewerSecondaryView(loader, this);
     SecondaryViewContents.Add(reportViewer);
 }
Esempio n. 2
0
 void SetupSecondaryView()
 {
     if (!SecondaryViewContents.OfType <XmlView>().Any())
     {
         var xmlView = new XmlView(generator, this);
         SecondaryViewContents.Add(xmlView);
     }
     if (!SecondaryViewContents.OfType <WpfPreview>().Any())
     {
         var preview = new WpfPreview(loader, this);
         SecondaryViewContents.Add(preview);
     }
 }
Esempio n. 3
0
        private void SetupSecondaryView()
        {
            LoggingService.Info("Form Designer: SetupSecondaryView ");
            xmlView = new XmlView(generator, this);
            SecondaryViewContents.Add(xmlView);

            reportPreview = new ReportPreview(loader, this);
            SecondaryViewContents.Add(reportPreview);

            reportViewer = new ReportViewerSecondaryView(loader, this);
            SecondaryViewContents.Add(reportViewer);

            var wpfViewer = new WPFReportPreview(loader, this);

            SecondaryViewContents.Add(wpfViewer);

//			testView = new TestWPFReportPreview(loader,this);
//			SecondaryViewContents.Add(testView);
        }