public ZoomTo(RdlViewer.RdlViewer viewer) { // // Required for Windows Form Designer support // InitializeComponent(); _Viewer = viewer; // set the intial value for magnification if (_Viewer.ZoomMode == ZoomEnum.FitPage) cbMagnify.Text = "Fit Page"; else if (_Viewer.ZoomMode == ZoomEnum.FitWidth) cbMagnify.Text = "Fit Width"; else if (_Viewer.Zoom == 1) cbMagnify.Text = "Actual Size"; else { string formatted = string.Format("{0:#0.##}", _Viewer.Zoom * 100); if (formatted[formatted.Length-1] == '.') formatted = formatted.Substring(0, formatted.Length-2); formatted = formatted + "%"; cbMagnify.Text = formatted; } }
public DialogWait(RdlViewer viewer) { InitializeComponent(); _viewer = viewer; Started = DateTime.Now; timer1.Interval = 1000; timer1_Tick(null, null); timer1.Start(); }
public DialogWait(RdlViewer viewer, CheckStopWaitDialog checkStopFunction) { InitializeComponent(); _checkStopFunction = checkStopFunction; _viewer = viewer; Started = DateTime.Now; timer1.Interval = 1000; timer1_Tick(null,null); timer1.Start(); }
public DialogWait(RdlViewer viewer, CheckStopWaitDialog checkStopFunction) { InitializeComponent(); _checkStopFunction = checkStopFunction; _viewer = viewer; Started = DateTime.Now; timer1.Interval = 1000; timer1_Tick(null, null); timer1.Start(); }
public static void SilentPrint(string reportPath, string parameters, string printerName = null) { var rdlViewer = new fyiReporting.RdlViewer.RdlViewer(); rdlViewer.Visible = false; rdlViewer.SourceFile = new Uri(reportPath); rdlViewer.Parameters = parameters; rdlViewer.Rebuild(); var pd = new PrintDocument(); pd.DocumentName = rdlViewer.SourceFile.LocalPath; pd.PrinterSettings.FromPage = 1; pd.PrinterSettings.ToPage = rdlViewer.PageCount; pd.PrinterSettings.MaximumPage = rdlViewer.PageCount; pd.PrinterSettings.MinimumPage = 1; pd.DefaultPageSettings.Landscape = rdlViewer.PageWidth > rdlViewer.PageHeight; pd.PrintController = new StandardPrintController(); // convert pt to hundredths of an inch. pd.DefaultPageSettings.PaperSize = new PaperSize( "", (int)((rdlViewer.PageWidth / 72.27) * 100), (int)((rdlViewer.PageHeight / 72.27) * 100)); if (!string.IsNullOrWhiteSpace(printerName) && printerName != SET_DEFAULT_PRINTER) { pd.DefaultPageSettings.PrinterSettings.PrinterName = printerName; } try { if (pd.PrinterSettings.PrintRange == PrintRange.Selection) { pd.PrinterSettings.FromPage = rdlViewer.PageCurrent; } rdlViewer.Print(pd); } catch (Exception ex) { #if !DEBUG const string rdlreaderlog = "RdlReaderLog.txt"; if (!File.Exists(rdlreaderlog)) { File.Create(rdlreaderlog).Dispose(); } File.AppendAllLines( rdlreaderlog, new[] { string.Format("[{0}] {1}", DateTime.Now.ToString("dd.MM.yyyy H:mm:ss"), ex.Message) }); #endif Debug.WriteLine(Strings.RdlReader_ShowC_PrintError + ex.Message); } }
override protected void OnMouseDown(MouseEventArgs mea) { base.OnMouseDown(mea); // allow base to process first _MousePosition = new Point(mea.X, mea.Y); if (MouseDownRubberBand(mea)) { return; } HitListEntry hle = this.GetHitListEntry(mea); SetHitListCursor(hle); // set the cursor based on the hit list entry if (mea.Button != MouseButtons.Left || hle == null) { return; } if (hle.pi.HyperLink != null) { RdlViewer rv = this.Parent as RdlViewer; bool bInvoke = true; if (rv != null) { HyperlinkEventArgs hlea = new HyperlinkEventArgs(hle.pi.HyperLink); rv.InvokeHyperlink(hlea); // reset any mousemove bInvoke = !hlea.Cancel; } try { if (bInvoke) { System.Diagnostics.Process.Start(hle.pi.HyperLink); } } catch (Exception ex) { MessageBox.Show(string.Format("Unable to link to {0}{1}{2}", hle.pi.HyperLink, Environment.NewLine, ex.Message), "HyperLink Error"); } } }
public MDIChild(int width, int height) { this.rdlViewer1 = new fyiReporting.RdlViewer.RdlViewer(); this.SuspendLayout(); // // rdlViewer1 // this.rdlViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.rdlViewer1.Location = new System.Drawing.Point(0, 0); this.rdlViewer1.Name = "rdlViewer1"; this.rdlViewer1.Size = new System.Drawing.Size(width, height); this.rdlViewer1.TabIndex = 0; // // RdlReader // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(width, height); this.Controls.Add(this.rdlViewer1); this.Name = ""; this.Text = ""; this.ResumeLayout(false); }
public MDIChild(int width, int height) { this.rdlViewer1 = new fyiReporting.RdlViewer.RdlViewer(); this.SuspendLayout(); // // rdlViewer1 // this.rdlViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.rdlViewer1.Location = new System.Drawing.Point(0, 0); this.rdlViewer1.Name = "rdlViewer1"; this.rdlViewer1.Size = new System.Drawing.Size(width, height); this.rdlViewer1.TabIndex = 0; // // RdlReader // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(width, height); this.Controls.Add(this.rdlViewer1); this.Name = ""; this.Text = ""; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tcEHP = new System.Windows.Forms.TabControl(); this.tpDesign = new System.Windows.Forms.TabPage(); this.tpEditor = new System.Windows.Forms.TabPage(); this.tbEditor = new System.Windows.Forms.RichTextBox(); this.pbLines = new DesignEditLines(); this.tpBrowser = new System.Windows.Forms.TabPage(); this.rdlPreview = new fyiReporting.RdlViewer.RdlViewer(); this.tcEHP.SuspendLayout(); this.tpEditor.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbLines)).BeginInit(); this.tpBrowser.SuspendLayout(); this.SuspendLayout(); // // tcEHP // this.tcEHP.Alignment = System.Windows.Forms.TabAlignment.Bottom; this.tcEHP.Controls.Add(this.tpDesign); this.tcEHP.Controls.Add(this.tpEditor); this.tcEHP.Controls.Add(this.tpBrowser); this.tcEHP.Dock = System.Windows.Forms.DockStyle.Fill; this.tcEHP.Location = new System.Drawing.Point(0, 0); this.tcEHP.Name = "tcEHP"; this.tcEHP.SelectedIndex = 0; this.tcEHP.ShowToolTips = true; this.tcEHP.Size = new System.Drawing.Size(488, 376); this.tcEHP.TabIndex = 0; this.tcEHP.SelectedIndexChanged += new System.EventHandler(this.tcEHP_SelectedIndexChanged); // // tpDesign // this.tpDesign.Location = new System.Drawing.Point(4, 4); this.tpDesign.Name = "tpDesign"; this.tpDesign.Size = new System.Drawing.Size(480, 350); this.tpDesign.TabIndex = 3; this.tpDesign.Tag = "design"; this.tpDesign.Text = "Designer"; // // tpEditor // this.tpEditor.Controls.Add(this.tbEditor); this.tpEditor.Controls.Add(this.pbLines); this.tpEditor.Location = new System.Drawing.Point(4, 4); this.tpEditor.Name = "tpEditor"; this.tpEditor.Size = new System.Drawing.Size(480, 350); this.tpEditor.TabIndex = 0; this.tpEditor.Tag = "edit"; this.tpEditor.Text = "RDL Text"; this.tpEditor.ToolTipText = "Edit Report Syntax"; // // tbEditor // this.tbEditor.AcceptsTab = true; this.tbEditor.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tbEditor.Dock = System.Windows.Forms.DockStyle.Fill; this.tbEditor.HideSelection = false; this.tbEditor.Location = new System.Drawing.Point(32, 0); this.tbEditor.Name = "tbEditor"; this.tbEditor.Size = new System.Drawing.Size(448, 350); this.tbEditor.TabIndex = 0; this.tbEditor.Text = ""; this.tbEditor.WordWrap = false; this.tbEditor.TextChanged += new System.EventHandler(this.tbEditor_TextChanged); // // pbLines // this.pbLines.Dock = System.Windows.Forms.DockStyle.Left; this.pbLines.Location = new System.Drawing.Point(0, 0); this.pbLines.Name = "pbLines"; this.pbLines.Size = new System.Drawing.Size(32, 350); this.pbLines.TabIndex = 1; this.pbLines.TabStop = false; // // tpBrowser // this.tpBrowser.Controls.Add(this.rdlPreview); this.tpBrowser.Location = new System.Drawing.Point(4, 4); this.tpBrowser.Name = "tpBrowser"; this.tpBrowser.Size = new System.Drawing.Size(480, 350); this.tpBrowser.TabIndex = 2; this.tpBrowser.Tag = "preview"; this.tpBrowser.Text = "Preview"; // // rdlPreview // this.rdlPreview.Cursor = System.Windows.Forms.Cursors.Default; this.rdlPreview.Dock = System.Windows.Forms.DockStyle.Fill; this.rdlPreview.Folder = null; this.rdlPreview.Location = new System.Drawing.Point(0, 0); this.rdlPreview.Name = "rdlPreview"; this.rdlPreview.PageCurrent = 1; this.rdlPreview.Parameters = null; this.rdlPreview.ReportName = null; this.rdlPreview.ScrollMode = fyiReporting.RdlViewer.ScrollModeEnum.Continuous; this.rdlPreview.ShowParameterPanel = true; this.rdlPreview.Size = new System.Drawing.Size(480, 350); this.rdlPreview.SourceFile = null; this.rdlPreview.SourceRdl = null; this.rdlPreview.TabIndex = 0; this.rdlPreview.Text = "rdlViewer1"; this.rdlPreview.Zoom = 0.5474582F; this.rdlPreview.ZoomMode = fyiReporting.RdlViewer.ZoomEnum.FitWidth; // // RdlEditPreview // this.Controls.Add(this.tcEHP); this.Name = "RdlEditPreview"; this.Size = new System.Drawing.Size(488, 376); this.tcEHP.ResumeLayout(false); this.tpEditor.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pbLines)).EndInit(); this.tpBrowser.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tcEHP = new System.Windows.Forms.TabControl(); this.tpDesign = new System.Windows.Forms.TabPage(); this.tpEditor = new System.Windows.Forms.TabPage(); this.tbEditor = new System.Windows.Forms.RichTextBox(); this.pbLines = new DesignEditLines(); this.tpBrowser = new System.Windows.Forms.TabPage(); this.rdlPreview = new fyiReporting.RdlViewer.RdlViewer(); this.tcEHP.SuspendLayout(); this.tpEditor.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbLines)).BeginInit(); this.tpBrowser.SuspendLayout(); this.SuspendLayout(); // // tcEHP // this.tcEHP.Alignment = System.Windows.Forms.TabAlignment.Bottom; this.tcEHP.Controls.Add(this.tpDesign); this.tcEHP.Controls.Add(this.tpEditor); this.tcEHP.Controls.Add(this.tpBrowser); this.tcEHP.Dock = System.Windows.Forms.DockStyle.Fill; this.tcEHP.Location = new System.Drawing.Point(0, 0); this.tcEHP.Name = "tcEHP"; this.tcEHP.SelectedIndex = 0; this.tcEHP.ShowToolTips = true; this.tcEHP.Size = new System.Drawing.Size(488, 376); this.tcEHP.TabIndex = 0; this.tcEHP.SelectedIndexChanged += new System.EventHandler(this.tcEHP_SelectedIndexChanged); // // tpDesign // this.tpDesign.Location = new System.Drawing.Point(4, 4); this.tpDesign.Name = "tpDesign"; this.tpDesign.Size = new System.Drawing.Size(480, 350); this.tpDesign.TabIndex = 3; this.tpDesign.Tag = "design"; this.tpDesign.Text = "Designer"; // // tpEditor // this.tpEditor.Controls.Add(this.tbEditor); this.tpEditor.Controls.Add(this.pbLines); this.tpEditor.Location = new System.Drawing.Point(4, 4); this.tpEditor.Name = "tpEditor"; this.tpEditor.Size = new System.Drawing.Size(480, 350); this.tpEditor.TabIndex = 0; this.tpEditor.Tag = "edit"; this.tpEditor.Text = "RDL Text"; this.tpEditor.ToolTipText = "Edit Report Syntax"; // // tbEditor // this.tbEditor.AcceptsTab = true; this.tbEditor.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tbEditor.Dock = System.Windows.Forms.DockStyle.Fill; this.tbEditor.HideSelection = false; this.tbEditor.Location = new System.Drawing.Point(32, 0); this.tbEditor.Name = "tbEditor"; this.tbEditor.Size = new System.Drawing.Size(448, 350); this.tbEditor.TabIndex = 0; this.tbEditor.Text = ""; this.tbEditor.WordWrap = false; this.tbEditor.TextChanged += new System.EventHandler(this.tbEditor_TextChanged); // // pbLines // this.pbLines.Dock = System.Windows.Forms.DockStyle.Left; this.pbLines.Location = new System.Drawing.Point(0, 0); this.pbLines.Name = "pbLines"; this.pbLines.Size = new System.Drawing.Size(32, 350); this.pbLines.TabIndex = 1; this.pbLines.TabStop = false; // // tpBrowser // this.tpBrowser.Controls.Add(this.rdlPreview); this.tpBrowser.Location = new System.Drawing.Point(4, 4); this.tpBrowser.Name = "tpBrowser"; this.tpBrowser.Size = new System.Drawing.Size(480, 350); this.tpBrowser.TabIndex = 2; this.tpBrowser.Tag = "preview"; this.tpBrowser.Text = "Preview"; // // rdlPreview // this.rdlPreview.Cursor = System.Windows.Forms.Cursors.Default; this.rdlPreview.Dock = System.Windows.Forms.DockStyle.Fill; this.rdlPreview.Folder = null; this.rdlPreview.Location = new System.Drawing.Point(0, 0); this.rdlPreview.Name = "rdlPreview"; this.rdlPreview.PageCurrent = 1; this.rdlPreview.Parameters = null; this.rdlPreview.ReportName = null; this.rdlPreview.ScrollMode = fyiReporting.RdlViewer.ScrollModeEnum.Continuous; this.rdlPreview.ShowParameterPanel = true; this.rdlPreview.Size = new System.Drawing.Size(480, 350); this.rdlPreview.SourceFile = null; this.rdlPreview.SourceRdl = null; this.rdlPreview.TabIndex = 0; this.rdlPreview.Text = "rdlViewer1"; this.rdlPreview.Zoom = 0.5474582F; this.rdlPreview.ZoomMode = fyiReporting.RdlViewer.ZoomEnum.FitWidth; // // RdlEditPreview // this.Controls.Add(this.tcEHP); this.Name = "RdlEditPreview"; this.Size = new System.Drawing.Size(488, 376); this.tcEHP.ResumeLayout(false); this.tpEditor.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pbLines)).EndInit(); this.tpBrowser.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RdlEditPreview)); this.tcEHP = new System.Windows.Forms.TabControl(); this.tpDesign = new System.Windows.Forms.TabPage(); this.tpEditor = new System.Windows.Forms.TabPage(); this.scintilla1 = new ScintillaNET.Scintilla(); this.tpBrowser = new System.Windows.Forms.TabPage(); this.rdlPreview = new fyiReporting.RdlViewer.RdlViewer(); this.tcEHP.SuspendLayout(); this.tpEditor.SuspendLayout(); this.tpBrowser.SuspendLayout(); this.SuspendLayout(); // // tcEHP // resources.ApplyResources(this.tcEHP, "tcEHP"); this.tcEHP.Controls.Add(this.tpDesign); this.tcEHP.Controls.Add(this.tpEditor); this.tcEHP.Controls.Add(this.tpBrowser); this.tcEHP.Name = "tcEHP"; this.tcEHP.SelectedIndex = 0; this.tcEHP.SelectedIndexChanged += new System.EventHandler(this.tcEHP_SelectedIndexChanged); // // tpDesign // resources.ApplyResources(this.tpDesign, "tpDesign"); this.tpDesign.Name = "tpDesign"; this.tpDesign.Tag = "design"; // // tpEditor // this.tpEditor.Controls.Add(this.scintilla1); resources.ApplyResources(this.tpEditor, "tpEditor"); this.tpEditor.Name = "tpEditor"; this.tpEditor.Tag = "edit"; // // scintilla1 // resources.ApplyResources(this.scintilla1, "scintilla1"); this.scintilla1.Lexer = ScintillaNET.Lexer.Xml; this.scintilla1.Name = "scintilla1"; this.scintilla1.UseTabs = false; this.scintilla1.UpdateUI += new System.EventHandler<ScintillaNET.UpdateUIEventArgs>(this.scintilla1_UpdateUI); this.scintilla1.TextChanged += new System.EventHandler(this.scintilla1_TextChanged); // // tpBrowser // this.tpBrowser.Controls.Add(this.rdlPreview); resources.ApplyResources(this.tpBrowser, "tpBrowser"); this.tpBrowser.Name = "tpBrowser"; this.tpBrowser.Tag = "preview"; // // rdlPreview // this.rdlPreview.Cursor = System.Windows.Forms.Cursors.Default; resources.ApplyResources(this.rdlPreview, "rdlPreview"); this.rdlPreview.dSubReportGetContent = null; this.rdlPreview.Folder = null; this.rdlPreview.HighlightAll = false; this.rdlPreview.HighlightAllColor = System.Drawing.Color.Fuchsia; this.rdlPreview.HighlightCaseSensitive = false; this.rdlPreview.HighlightItemColor = System.Drawing.Color.Aqua; this.rdlPreview.HighlightPageItem = null; this.rdlPreview.HighlightText = null; this.rdlPreview.Name = "rdlPreview"; this.rdlPreview.PageCurrent = 1; this.rdlPreview.Parameters = ""; this.rdlPreview.ReportName = null; this.rdlPreview.ScrollMode = fyiReporting.RdlViewer.ScrollModeEnum.Continuous; this.rdlPreview.SelectTool = false; this.rdlPreview.ShowFindPanel = false; this.rdlPreview.ShowParameterPanel = true; this.rdlPreview.ShowWaitDialog = true; this.rdlPreview.SourceFile = null; this.rdlPreview.SourceRdl = null; this.rdlPreview.UseTrueMargins = true; this.rdlPreview.Zoom = 0.5495112F; this.rdlPreview.ZoomMode = fyiReporting.RdlViewer.ZoomEnum.FitWidth; // // RdlEditPreview // this.Controls.Add(this.tcEHP); this.Name = "RdlEditPreview"; resources.ApplyResources(this, "$this"); this.tcEHP.ResumeLayout(false); this.tpEditor.ResumeLayout(false); this.tpBrowser.ResumeLayout(false); this.ResumeLayout(false); }
public ViewerToolstrip(RdlViewer viewer) { Init(); this.Viewer = viewer; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.rdlViewer = new fyiReporting.RdlViewer.RdlViewer(); this.panel1 = new System.Windows.Forms.Panel(); this.bPageUp = new System.Windows.Forms.Button(); this.chkFind = new System.Windows.Forms.CheckBox(); this.bOpen = new System.Windows.Forms.Button(); this.tbParms = new System.Windows.Forms.TextBox(); this.bSetParm = new System.Windows.Forms.Button(); this.bParameters = new System.Windows.Forms.Button(); this.bEnumerable = new System.Windows.Forms.Button(); this.bDataSource = new System.Windows.Forms.Button(); this.tbConnectionString = new System.Windows.Forms.TextBox(); this.bIDataReader = new System.Windows.Forms.Button(); this.bXMLData = new System.Windows.Forms.Button(); this.bManualDataTable = new System.Windows.Forms.Button(); this.bSetReport = new System.Windows.Forms.Button(); this.bPageDown = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // rdlViewer // this.rdlViewer.Cursor = System.Windows.Forms.Cursors.Default; this.rdlViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.rdlViewer.Folder = null; this.rdlViewer.HighlightAll = false; this.rdlViewer.HighlightAllColor = System.Drawing.Color.Fuchsia; this.rdlViewer.HighlightCaseSensitive = false; this.rdlViewer.HighlightItemColor = System.Drawing.Color.Aqua; this.rdlViewer.HighlightPageItem = null; this.rdlViewer.HighlightText = null; this.rdlViewer.Location = new System.Drawing.Point(0, 0); this.rdlViewer.Name = "rdlViewer"; this.rdlViewer.PageCurrent = 1; this.rdlViewer.Parameters = null; this.rdlViewer.ReportName = null; this.rdlViewer.ScrollMode = fyiReporting.RdlViewer.ScrollModeEnum.Continuous; this.rdlViewer.ShowFindPanel = false; this.rdlViewer.ShowParameterPanel = false; this.rdlViewer.Size = new System.Drawing.Size(768, 362); this.rdlViewer.SourceFile = null; this.rdlViewer.SourceRdl = null; this.rdlViewer.TabIndex = 0; this.rdlViewer.Text = "rdlViewer1"; this.rdlViewer.UseTrueMargins = true; this.rdlViewer.Zoom = 0.8913237F; this.rdlViewer.ZoomMode = fyiReporting.RdlViewer.ZoomEnum.FitWidth; this.rdlViewer.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.rdlViewer_KeyPress); // // panel1 // this.panel1.Controls.Add(this.bPageDown); this.panel1.Controls.Add(this.bPageUp); this.panel1.Controls.Add(this.chkFind); this.panel1.Controls.Add(this.bOpen); this.panel1.Controls.Add(this.tbParms); this.panel1.Controls.Add(this.bSetParm); this.panel1.Controls.Add(this.bParameters); this.panel1.Controls.Add(this.bEnumerable); this.panel1.Controls.Add(this.bDataSource); this.panel1.Controls.Add(this.tbConnectionString); this.panel1.Controls.Add(this.bIDataReader); this.panel1.Controls.Add(this.bXMLData); this.panel1.Controls.Add(this.bManualDataTable); this.panel1.Controls.Add(this.bSetReport); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 362); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(768, 65); this.panel1.TabIndex = 2; // // bPageUp // this.bPageUp.Location = new System.Drawing.Point(691, 9); this.bPageUp.Name = "bPageUp"; this.bPageUp.Size = new System.Drawing.Size(20, 23); this.bPageUp.TabIndex = 13; this.bPageUp.Text = "<"; this.bPageUp.UseVisualStyleBackColor = true; this.bPageUp.Click += new System.EventHandler(this.bPageUp_Click); // // chkFind // this.chkFind.AutoSize = true; this.chkFind.Location = new System.Drawing.Point(590, 37); this.chkFind.Name = "chkFind"; this.chkFind.Size = new System.Drawing.Size(46, 17); this.chkFind.TabIndex = 12; this.chkFind.Text = "Find"; this.chkFind.UseVisualStyleBackColor = true; this.chkFind.CheckedChanged += new System.EventHandler(this.chkFind_CheckedChanged); // // bOpen // this.bOpen.Location = new System.Drawing.Point(590, 8); this.bOpen.Name = "bOpen"; this.bOpen.Size = new System.Drawing.Size(57, 23); this.bOpen.TabIndex = 11; this.bOpen.Text = "Open"; this.bOpen.UseVisualStyleBackColor = true; this.bOpen.Click += new System.EventHandler(this.bOpen_Click); // // tbParms // this.tbParms.Location = new System.Drawing.Point(410, 37); this.tbParms.Name = "tbParms"; this.tbParms.Size = new System.Drawing.Size(166, 20); this.tbParms.TabIndex = 10; this.tbParms.Text = "Name=%"; // // bSetParm // this.bSetParm.Location = new System.Drawing.Point(499, 9); this.bSetParm.Name = "bSetParm"; this.bSetParm.Size = new System.Drawing.Size(77, 23); this.bSetParm.TabIndex = 9; this.bSetParm.Text = "Set Parm"; this.bSetParm.Click += new System.EventHandler(this.bSetParm_Click); // // bParameters // this.bParameters.Location = new System.Drawing.Point(401, 8); this.bParameters.Name = "bParameters"; this.bParameters.Size = new System.Drawing.Size(93, 23); this.bParameters.TabIndex = 8; this.bParameters.Text = "Parameter Rep"; this.bParameters.Click += new System.EventHandler(this.bParameters_Click); // // bEnumerable // this.bEnumerable.Location = new System.Drawing.Point(310, 7); this.bEnumerable.Name = "bEnumerable"; this.bEnumerable.Size = new System.Drawing.Size(77, 23); this.bEnumerable.TabIndex = 7; this.bEnumerable.Text = "IEnumerable"; this.bEnumerable.Click += new System.EventHandler(this.bEnumerable_Click); // // bDataSource // this.bDataSource.Location = new System.Drawing.Point(13, 38); this.bDataSource.Name = "bDataSource"; this.bDataSource.Size = new System.Drawing.Size(75, 23); this.bDataSource.TabIndex = 6; this.bDataSource.Text = "Data Source"; this.bDataSource.Click += new System.EventHandler(this.bDataSource_Click); // // tbConnectionString // this.tbConnectionString.Location = new System.Drawing.Point(188, 38); this.tbConnectionString.Name = "tbConnectionString"; this.tbConnectionString.Size = new System.Drawing.Size(199, 20); this.tbConnectionString.TabIndex = 5; this.tbConnectionString.Text = "Server=(local)\\VSDotNet;DataBase=Northwind;Integrated Security=SSPI;Connect Timeo" + "ut=5"; // // bIDataReader // this.bIDataReader.Location = new System.Drawing.Point(102, 38); this.bIDataReader.Name = "bIDataReader"; this.bIDataReader.Size = new System.Drawing.Size(80, 23); this.bIDataReader.TabIndex = 4; this.bIDataReader.Text = "IDataReader"; this.bIDataReader.Click += new System.EventHandler(this.bIDataReader_Click); // // bXMLData // this.bXMLData.Location = new System.Drawing.Point(223, 7); this.bXMLData.Name = "bXMLData"; this.bXMLData.Size = new System.Drawing.Size(75, 23); this.bXMLData.TabIndex = 3; this.bXMLData.Text = "XML Data"; this.bXMLData.Click += new System.EventHandler(this.bXMLData_Click); // // bManualDataTable // this.bManualDataTable.Location = new System.Drawing.Point(101, 7); this.bManualDataTable.Name = "bManualDataTable"; this.bManualDataTable.Size = new System.Drawing.Size(110, 23); this.bManualDataTable.TabIndex = 2; this.bManualDataTable.Text = "Manual Data Table"; this.bManualDataTable.Click += new System.EventHandler(this.ManualDataTable_Click); // // bSetReport // this.bSetReport.Location = new System.Drawing.Point(14, 7); this.bSetReport.Name = "bSetReport"; this.bSetReport.Size = new System.Drawing.Size(75, 23); this.bSetReport.TabIndex = 1; this.bSetReport.Text = "Set Report"; this.bSetReport.Click += new System.EventHandler(this.bSetReport_Click); // // bPageDown // this.bPageDown.Location = new System.Drawing.Point(717, 9); this.bPageDown.Name = "bPageDown"; this.bPageDown.Size = new System.Drawing.Size(20, 23); this.bPageDown.TabIndex = 14; this.bPageDown.Text = ">"; this.bPageDown.UseVisualStyleBackColor = true; this.bPageDown.Click += new System.EventHandler(this.bPageDown_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(768, 427); this.Controls.Add(this.rdlViewer); this.Controls.Add(this.panel1); this.KeyPreview = true; this.Name = "Form1"; this.Text = "Data Tests"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
public ViewerToolstrip(RdlViewer viewer) { Init(); this.Viewer = viewer; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.rdlViewer = new fyiReporting.RdlViewer.RdlViewer(); this.panel1 = new System.Windows.Forms.Panel(); this.bPageUp = new System.Windows.Forms.Button(); this.chkFind = new System.Windows.Forms.CheckBox(); this.bOpen = new System.Windows.Forms.Button(); this.tbParms = new System.Windows.Forms.TextBox(); this.bSetParm = new System.Windows.Forms.Button(); this.bParameters = new System.Windows.Forms.Button(); this.bEnumerable = new System.Windows.Forms.Button(); this.bDataSource = new System.Windows.Forms.Button(); this.tbConnectionString = new System.Windows.Forms.TextBox(); this.bIDataReader = new System.Windows.Forms.Button(); this.bXMLData = new System.Windows.Forms.Button(); this.bManualDataTable = new System.Windows.Forms.Button(); this.bSetReport = new System.Windows.Forms.Button(); this.bPageDown = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // rdlViewer // this.rdlViewer.Cursor = System.Windows.Forms.Cursors.Default; this.rdlViewer.Dock = System.Windows.Forms.DockStyle.Fill; this.rdlViewer.Folder = null; this.rdlViewer.HighlightAll = false; this.rdlViewer.HighlightAllColor = System.Drawing.Color.Fuchsia; this.rdlViewer.HighlightCaseSensitive = false; this.rdlViewer.HighlightItemColor = System.Drawing.Color.Aqua; this.rdlViewer.HighlightPageItem = null; this.rdlViewer.HighlightText = null; this.rdlViewer.Location = new System.Drawing.Point(0, 0); this.rdlViewer.Name = "rdlViewer"; this.rdlViewer.PageCurrent = 1; this.rdlViewer.Parameters = null; this.rdlViewer.ReportName = null; this.rdlViewer.ScrollMode = fyiReporting.RdlViewer.ScrollModeEnum.Continuous; this.rdlViewer.ShowFindPanel = false; this.rdlViewer.ShowParameterPanel = false; this.rdlViewer.Size = new System.Drawing.Size(768, 362); this.rdlViewer.SourceFile = null; this.rdlViewer.SourceRdl = null; this.rdlViewer.TabIndex = 0; this.rdlViewer.Text = "rdlViewer1"; this.rdlViewer.UseTrueMargins = true; this.rdlViewer.Zoom = 0.8913237F; this.rdlViewer.ZoomMode = fyiReporting.RdlViewer.ZoomEnum.FitWidth; this.rdlViewer.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.rdlViewer_KeyPress); // // panel1 // this.panel1.Controls.Add(this.bPageDown); this.panel1.Controls.Add(this.bPageUp); this.panel1.Controls.Add(this.chkFind); this.panel1.Controls.Add(this.bOpen); this.panel1.Controls.Add(this.tbParms); this.panel1.Controls.Add(this.bSetParm); this.panel1.Controls.Add(this.bParameters); this.panel1.Controls.Add(this.bEnumerable); this.panel1.Controls.Add(this.bDataSource); this.panel1.Controls.Add(this.tbConnectionString); this.panel1.Controls.Add(this.bIDataReader); this.panel1.Controls.Add(this.bXMLData); this.panel1.Controls.Add(this.bManualDataTable); this.panel1.Controls.Add(this.bSetReport); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 362); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(768, 65); this.panel1.TabIndex = 2; // // bPageUp // this.bPageUp.Location = new System.Drawing.Point(691, 9); this.bPageUp.Name = "bPageUp"; this.bPageUp.Size = new System.Drawing.Size(20, 23); this.bPageUp.TabIndex = 13; this.bPageUp.Text = "<"; this.bPageUp.UseVisualStyleBackColor = true; this.bPageUp.Click += new System.EventHandler(this.bPageUp_Click); // // chkFind // this.chkFind.AutoSize = true; this.chkFind.Location = new System.Drawing.Point(590, 37); this.chkFind.Name = "chkFind"; this.chkFind.Size = new System.Drawing.Size(46, 17); this.chkFind.TabIndex = 12; this.chkFind.Text = "Find"; this.chkFind.UseVisualStyleBackColor = true; this.chkFind.CheckedChanged += new System.EventHandler(this.chkFind_CheckedChanged); // // bOpen // this.bOpen.Location = new System.Drawing.Point(590, 8); this.bOpen.Name = "bOpen"; this.bOpen.Size = new System.Drawing.Size(57, 23); this.bOpen.TabIndex = 11; this.bOpen.Text = "Open"; this.bOpen.UseVisualStyleBackColor = true; this.bOpen.Click += new System.EventHandler(this.bOpen_Click); // // tbParms // this.tbParms.Location = new System.Drawing.Point(410, 37); this.tbParms.Name = "tbParms"; this.tbParms.Size = new System.Drawing.Size(166, 20); this.tbParms.TabIndex = 10; this.tbParms.Text = "Name=%"; // // bSetParm // this.bSetParm.Location = new System.Drawing.Point(499, 9); this.bSetParm.Name = "bSetParm"; this.bSetParm.Size = new System.Drawing.Size(77, 23); this.bSetParm.TabIndex = 9; this.bSetParm.Text = "Set Parm"; this.bSetParm.Click += new System.EventHandler(this.bSetParm_Click); // // bParameters // this.bParameters.Location = new System.Drawing.Point(401, 8); this.bParameters.Name = "bParameters"; this.bParameters.Size = new System.Drawing.Size(93, 23); this.bParameters.TabIndex = 8; this.bParameters.Text = "Parameter Rep"; this.bParameters.Click += new System.EventHandler(this.bParameters_Click); // // bEnumerable // this.bEnumerable.Location = new System.Drawing.Point(310, 7); this.bEnumerable.Name = "bEnumerable"; this.bEnumerable.Size = new System.Drawing.Size(77, 23); this.bEnumerable.TabIndex = 7; this.bEnumerable.Text = "IEnumerable"; this.bEnumerable.Click += new System.EventHandler(this.bEnumerable_Click); // // bDataSource // this.bDataSource.Location = new System.Drawing.Point(13, 38); this.bDataSource.Name = "bDataSource"; this.bDataSource.Size = new System.Drawing.Size(75, 23); this.bDataSource.TabIndex = 6; this.bDataSource.Text = "Data Source"; this.bDataSource.Click += new System.EventHandler(this.bDataSource_Click); // // tbConnectionString // this.tbConnectionString.Location = new System.Drawing.Point(188, 38); this.tbConnectionString.Name = "tbConnectionString"; this.tbConnectionString.Size = new System.Drawing.Size(199, 20); this.tbConnectionString.TabIndex = 5; this.tbConnectionString.Text = "Server=(local)\\VSDotNet;DataBase=Northwind;Integrated Security=SSPI;Connect Timeo" + "ut=5"; // // bIDataReader // this.bIDataReader.Location = new System.Drawing.Point(102, 38); this.bIDataReader.Name = "bIDataReader"; this.bIDataReader.Size = new System.Drawing.Size(80, 23); this.bIDataReader.TabIndex = 4; this.bIDataReader.Text = "IDataReader"; this.bIDataReader.Click += new System.EventHandler(this.bIDataReader_Click); // // bXMLData // this.bXMLData.Location = new System.Drawing.Point(223, 7); this.bXMLData.Name = "bXMLData"; this.bXMLData.Size = new System.Drawing.Size(75, 23); this.bXMLData.TabIndex = 3; this.bXMLData.Text = "XML Data"; this.bXMLData.Click += new System.EventHandler(this.bXMLData_Click); // // bManualDataTable // this.bManualDataTable.Location = new System.Drawing.Point(101, 7); this.bManualDataTable.Name = "bManualDataTable"; this.bManualDataTable.Size = new System.Drawing.Size(110, 23); this.bManualDataTable.TabIndex = 2; this.bManualDataTable.Text = "Manual Data Table"; this.bManualDataTable.Click += new System.EventHandler(this.ManualDataTable_Click); // // bSetReport // this.bSetReport.Location = new System.Drawing.Point(14, 7); this.bSetReport.Name = "bSetReport"; this.bSetReport.Size = new System.Drawing.Size(75, 23); this.bSetReport.TabIndex = 1; this.bSetReport.Text = "Set Report"; this.bSetReport.Click += new System.EventHandler(this.bSetReport_Click); // // bPageDown // this.bPageDown.Location = new System.Drawing.Point(717, 9); this.bPageDown.Name = "bPageDown"; this.bPageDown.Size = new System.Drawing.Size(20, 23); this.bPageDown.TabIndex = 14; this.bPageDown.Text = ">"; this.bPageDown.UseVisualStyleBackColor = true; this.bPageDown.Click += new System.EventHandler(this.bPageDown_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(768, 427); this.Controls.Add(this.rdlViewer); this.Controls.Add(this.panel1); this.KeyPreview = true; this.Name = "Form1"; this.Text = "Data Tests"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RdlEditPreview)); this.tcEHP = new System.Windows.Forms.TabControl(); this.tpDesign = new System.Windows.Forms.TabPage(); this.tpEditor = new System.Windows.Forms.TabPage(); this.scintilla1 = new ScintillaNET.Scintilla(); this.tpBrowser = new System.Windows.Forms.TabPage(); this.rdlPreview = new fyiReporting.RdlViewer.RdlViewer(); this.tcEHP.SuspendLayout(); this.tpEditor.SuspendLayout(); this.tpBrowser.SuspendLayout(); this.SuspendLayout(); // // tcEHP // resources.ApplyResources(this.tcEHP, "tcEHP"); this.tcEHP.Controls.Add(this.tpDesign); this.tcEHP.Controls.Add(this.tpEditor); this.tcEHP.Controls.Add(this.tpBrowser); this.tcEHP.Name = "tcEHP"; this.tcEHP.SelectedIndex = 0; this.tcEHP.SelectedIndexChanged += new System.EventHandler(this.tcEHP_SelectedIndexChanged); // // tpDesign // resources.ApplyResources(this.tpDesign, "tpDesign"); this.tpDesign.Name = "tpDesign"; this.tpDesign.Tag = "design"; // // tpEditor // this.tpEditor.Controls.Add(this.scintilla1); resources.ApplyResources(this.tpEditor, "tpEditor"); this.tpEditor.Name = "tpEditor"; this.tpEditor.Tag = "edit"; // // scintilla1 // resources.ApplyResources(this.scintilla1, "scintilla1"); this.scintilla1.Lexer = ScintillaNET.Lexer.Xml; this.scintilla1.Name = "scintilla1"; this.scintilla1.UseTabs = false; this.scintilla1.UpdateUI += new System.EventHandler <ScintillaNET.UpdateUIEventArgs>(this.scintilla1_UpdateUI); this.scintilla1.TextChanged += new System.EventHandler(this.scintilla1_TextChanged); // // tpBrowser // this.tpBrowser.Controls.Add(this.rdlPreview); resources.ApplyResources(this.tpBrowser, "tpBrowser"); this.tpBrowser.Name = "tpBrowser"; this.tpBrowser.Tag = "preview"; // // rdlPreview // this.rdlPreview.Cursor = System.Windows.Forms.Cursors.Default; resources.ApplyResources(this.rdlPreview, "rdlPreview"); this.rdlPreview.dSubReportGetContent = null; this.rdlPreview.Folder = null; this.rdlPreview.HighlightAll = false; this.rdlPreview.HighlightAllColor = System.Drawing.Color.Fuchsia; this.rdlPreview.HighlightCaseSensitive = false; this.rdlPreview.HighlightItemColor = System.Drawing.Color.Aqua; this.rdlPreview.HighlightPageItem = null; this.rdlPreview.HighlightText = null; this.rdlPreview.Name = "rdlPreview"; this.rdlPreview.PageCurrent = 1; this.rdlPreview.Parameters = ""; this.rdlPreview.ReportName = null; this.rdlPreview.ScrollMode = fyiReporting.RdlViewer.ScrollModeEnum.Continuous; this.rdlPreview.SelectTool = false; this.rdlPreview.ShowFindPanel = false; this.rdlPreview.ShowParameterPanel = true; this.rdlPreview.ShowWaitDialog = true; this.rdlPreview.SourceFile = null; this.rdlPreview.SourceRdl = null; this.rdlPreview.UseTrueMargins = true; this.rdlPreview.Zoom = 0.5495112F; this.rdlPreview.ZoomMode = fyiReporting.RdlViewer.ZoomEnum.FitWidth; // // RdlEditPreview // this.Controls.Add(this.tcEHP); this.Name = "RdlEditPreview"; resources.ApplyResources(this, "$this"); this.tcEHP.ResumeLayout(false); this.tpEditor.ResumeLayout(false); this.tpBrowser.ResumeLayout(false); this.ResumeLayout(false); }
public static void SilentPrint(string reportPath, string parameters, string printerName = null) { var rdlViewer = new fyiReporting.RdlViewer.RdlViewer(); rdlViewer.Visible = false; rdlViewer.SourceFile = new Uri(reportPath); rdlViewer.Parameters = parameters; rdlViewer.Rebuild(); var pd = new PrintDocument(); pd.DocumentName = rdlViewer.SourceFile.LocalPath; pd.PrinterSettings.FromPage = 1; pd.PrinterSettings.ToPage = rdlViewer.PageCount; pd.PrinterSettings.MaximumPage = rdlViewer.PageCount; pd.PrinterSettings.MinimumPage = 1; pd.DefaultPageSettings.Landscape = rdlViewer.PageWidth > rdlViewer.PageHeight; pd.PrintController = new StandardPrintController(); // convert pt to hundredths of an inch. pd.DefaultPageSettings.PaperSize = new PaperSize( "", (int)((rdlViewer.PageWidth / 72.27) * 100), (int)((rdlViewer.PageHeight / 72.27) * 100)); if (!string.IsNullOrWhiteSpace(printerName) && printerName != SET_DEFAULT_PRINTER) { pd.DefaultPageSettings.PrinterSettings.PrinterName = printerName; } try { if (pd.PrinterSettings.PrintRange == PrintRange.Selection) { pd.PrinterSettings.FromPage = rdlViewer.PageCurrent; } rdlViewer.Print(pd); } catch (Exception ex) { #if !DEBUG const string rdlreaderlog = "RdlReaderLog.txt"; if (!File.Exists(rdlreaderlog)) { File.Create(rdlreaderlog).Dispose(); } File.AppendAllLines( rdlreaderlog, new[] { string.Format("[{0}] {1}", DateTime.Now.ToString("dd.MM.yyyy H:mm:ss"), ex.Message) }); #endif Debug.WriteLine(Strings.RdlReader_ShowC_PrintError + ex.Message); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RdlEditPreview)); this.tcEHP = new System.Windows.Forms.TabControl(); this.tpDesign = new System.Windows.Forms.TabPage(); this.tpEditor = new System.Windows.Forms.TabPage(); this.tbEditor = new System.Windows.Forms.RichTextBox(); this.pbLines = new fyiReporting.RdlDesign.DesignEditLines(); this.tpBrowser = new System.Windows.Forms.TabPage(); this.rdlPreview = new fyiReporting.RdlViewer.RdlViewer(); this.tcEHP.SuspendLayout(); this.tpEditor.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbLines)).BeginInit(); this.tpBrowser.SuspendLayout(); this.SuspendLayout(); // // tcEHP // resources.ApplyResources(this.tcEHP, "tcEHP"); this.tcEHP.Controls.Add(this.tpDesign); this.tcEHP.Controls.Add(this.tpEditor); this.tcEHP.Controls.Add(this.tpBrowser); this.tcEHP.Name = "tcEHP"; this.tcEHP.SelectedIndex = 0; this.tcEHP.SelectedIndexChanged += new System.EventHandler(this.tcEHP_SelectedIndexChanged); // // tpDesign // resources.ApplyResources(this.tpDesign, "tpDesign"); this.tpDesign.Name = "tpDesign"; this.tpDesign.Tag = "design"; // // tpEditor // resources.ApplyResources(this.tpEditor, "tpEditor"); this.tpEditor.Controls.Add(this.tbEditor); this.tpEditor.Controls.Add(this.pbLines); this.tpEditor.Name = "tpEditor"; this.tpEditor.Tag = "edit"; // // tbEditor // this.tbEditor.AcceptsTab = true; resources.ApplyResources(this.tbEditor, "tbEditor"); this.tbEditor.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tbEditor.HideSelection = false; this.tbEditor.Name = "tbEditor"; this.tbEditor.TextChanged += new System.EventHandler(this.tbEditor_TextChanged); // // pbLines // resources.ApplyResources(this.pbLines, "pbLines"); this.pbLines.Name = "pbLines"; this.pbLines.TabStop = false; // // tpBrowser // resources.ApplyResources(this.tpBrowser, "tpBrowser"); this.tpBrowser.Controls.Add(this.rdlPreview); this.tpBrowser.Name = "tpBrowser"; this.tpBrowser.Tag = "preview"; // // rdlPreview // resources.ApplyResources(this.rdlPreview, "rdlPreview"); this.rdlPreview.Cursor = System.Windows.Forms.Cursors.Default; this.rdlPreview.Folder = null; this.rdlPreview.HighlightAll = false; this.rdlPreview.HighlightAllColor = System.Drawing.Color.Fuchsia; this.rdlPreview.HighlightCaseSensitive = false; this.rdlPreview.HighlightItemColor = System.Drawing.Color.Aqua; this.rdlPreview.HighlightPageItem = null; this.rdlPreview.HighlightText = null; this.rdlPreview.Name = "rdlPreview"; this.rdlPreview.PageCurrent = 1; this.rdlPreview.Parameters = ""; this.rdlPreview.ReportName = null; this.rdlPreview.ScrollMode = fyiReporting.RdlViewer.ScrollModeEnum.Continuous; this.rdlPreview.SelectTool = false; this.rdlPreview.ShowFindPanel = false; this.rdlPreview.ShowParameterPanel = true; this.rdlPreview.ShowWaitDialog = true; this.rdlPreview.SourceFile = null; this.rdlPreview.SourceRdl = null; this.rdlPreview.UseTrueMargins = true; this.rdlPreview.Zoom = 0.5690382F; this.rdlPreview.ZoomMode = fyiReporting.RdlViewer.ZoomEnum.FitWidth; // // RdlEditPreview // resources.ApplyResources(this, "$this"); this.Controls.Add(this.tcEHP); this.Name = "RdlEditPreview"; this.tcEHP.ResumeLayout(false); this.tpEditor.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pbLines)).EndInit(); this.tpBrowser.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RdlEditPreview)); this.tcEHP = new System.Windows.Forms.TabControl(); this.tpDesign = new System.Windows.Forms.TabPage(); this.tpEditor = new System.Windows.Forms.TabPage(); this.tbEditor = new System.Windows.Forms.RichTextBox(); this.pbLines = new fyiReporting.RdlDesign.DesignEditLines(); this.tpBrowser = new System.Windows.Forms.TabPage(); this.rdlPreview = new fyiReporting.RdlViewer.RdlViewer(); this.tcEHP.SuspendLayout(); this.tpEditor.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbLines)).BeginInit(); this.tpBrowser.SuspendLayout(); this.SuspendLayout(); // // tcEHP // resources.ApplyResources(this.tcEHP, "tcEHP"); this.tcEHP.Controls.Add(this.tpDesign); this.tcEHP.Controls.Add(this.tpEditor); this.tcEHP.Controls.Add(this.tpBrowser); this.tcEHP.Name = "tcEHP"; this.tcEHP.SelectedIndex = 0; this.tcEHP.SelectedIndexChanged += new System.EventHandler(this.tcEHP_SelectedIndexChanged); // // tpDesign // resources.ApplyResources(this.tpDesign, "tpDesign"); this.tpDesign.Name = "tpDesign"; this.tpDesign.Tag = "design"; // // tpEditor // resources.ApplyResources(this.tpEditor, "tpEditor"); this.tpEditor.Controls.Add(this.tbEditor); this.tpEditor.Controls.Add(this.pbLines); this.tpEditor.Name = "tpEditor"; this.tpEditor.Tag = "edit"; // // tbEditor // this.tbEditor.AcceptsTab = true; resources.ApplyResources(this.tbEditor, "tbEditor"); this.tbEditor.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tbEditor.HideSelection = false; this.tbEditor.Name = "tbEditor"; this.tbEditor.TextChanged += new System.EventHandler(this.tbEditor_TextChanged); // // pbLines // resources.ApplyResources(this.pbLines, "pbLines"); this.pbLines.Name = "pbLines"; this.pbLines.TabStop = false; // // tpBrowser // resources.ApplyResources(this.tpBrowser, "tpBrowser"); this.tpBrowser.Controls.Add(this.rdlPreview); this.tpBrowser.Name = "tpBrowser"; this.tpBrowser.Tag = "preview"; // // rdlPreview // resources.ApplyResources(this.rdlPreview, "rdlPreview"); this.rdlPreview.Cursor = System.Windows.Forms.Cursors.Default; this.rdlPreview.Folder = null; this.rdlPreview.HighlightAll = false; this.rdlPreview.HighlightAllColor = System.Drawing.Color.Fuchsia; this.rdlPreview.HighlightCaseSensitive = false; this.rdlPreview.HighlightItemColor = System.Drawing.Color.Aqua; this.rdlPreview.HighlightPageItem = null; this.rdlPreview.HighlightText = null; this.rdlPreview.Name = "rdlPreview"; this.rdlPreview.PageCurrent = 1; this.rdlPreview.Parameters = ""; this.rdlPreview.ReportName = null; this.rdlPreview.ScrollMode = fyiReporting.RdlViewer.ScrollModeEnum.Continuous; this.rdlPreview.SelectTool = false; this.rdlPreview.ShowFindPanel = false; this.rdlPreview.ShowParameterPanel = true; this.rdlPreview.ShowWaitDialog = true; this.rdlPreview.SourceFile = null; this.rdlPreview.SourceRdl = null; this.rdlPreview.UseTrueMargins = true; this.rdlPreview.Zoom = 0.5690382F; this.rdlPreview.ZoomMode = fyiReporting.RdlViewer.ZoomEnum.FitWidth; // // RdlEditPreview // resources.ApplyResources(this, "$this"); this.Controls.Add(this.tcEHP); this.Name = "RdlEditPreview"; this.tcEHP.ResumeLayout(false); this.tpEditor.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pbLines)).EndInit(); this.tpBrowser.ResumeLayout(false); this.ResumeLayout(false); }