Exemple #1
0
        /// <summary>
        /// Creates a new ReportDesignerView object
        /// </summary>

        public ReportDesignerView(OpenedFile openedFile, IDesignerGenerator generator) : base(openedFile)
        {
            if (openedFile == null)
            {
                throw new ArgumentNullException("opendFile");
            }
            if (generator == null)
            {
                throw new ArgumentNullException("generator");
            }
            this.generator = generator;
            this.generator.Attach(this);
            base.TabPageText = ResourceService.GetString("SharpReport.Design");
            ReportingSideTabProvider.AddViewContent(this);
        }
Exemple #2
0
//		private Encoding defaultEncoding = Encoding.UTF8;

        #region Constructor

        /// <summary>
        /// Creates a new ReportDesignerView object
        /// </summary>

        public ReportDesignerView(OpenedFile openedFile, IDesignerGenerator generator) : base(openedFile)
        {
            if (openedFile == null)
            {
                throw new ArgumentNullException("opendFile");
            }
            if (generator == null)
            {
                throw new ArgumentNullException("generator");
            }
            this.generator = generator;
            this.generator.Attach(this);
            base.TabPageText     = ResourceService.GetString("SharpReport.Design");
            this.panel.Dock      = DockStyle.Fill;
            this.panel.BackColor = System.Drawing.Color.LightBlue;
            ReportingSideTabProvider.AddViewContent(this);
        }