using System; using System.Drawing; using System.Windows.Forms; using System.Data; using Stimulsoft.Controls; using Stimulsoft.Base.Drawing; using Stimulsoft.Report; using Stimulsoft.Report.Dialogs; using Stimulsoft.Report.Components; namespace Reports { public class Report : Stimulsoft.Report.StiReport { public Report() { this.InitializeComponent(); } #region StiReport Designer generated code - do not modify public Stimulsoft.Report.Components.StiPage Page1; public Stimulsoft.Report.Components.StiText DataText; public Stimulsoft.Report.Components.StiHorizontalLinePrimitive Hor; public Stimulsoft.Report.Components.StiVerticalLinePrimitive Vert; public Stimulsoft.Report.Components.StiWatermark Page1_Watermark; public Stimulsoft.Report.Print.StiPrinterSettings Report_PrinterSettings; public void DataText__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e) { e.Value = "ABC"; } private void InitializeComponent() { this.NeedsCompiling = false; this.EngineVersion = Stimulsoft.Report.Engine.StiEngineVersion.EngineV2; this.ReferencedAssemblies = new System.String[] { "System.Dll", "System.Drawing.Dll", "System.Windows.Forms.Dll", "System.Data.Dll", "System.Xml.Dll", "Stimulsoft.Controls.Dll", "Stimulsoft.Base.Dll", "Stimulsoft.Report.Dll"}; this.ReportAlias = "Report"; // // ReportChanged // this.ReportChanged = new DateTime(2017, 8, 8, 23, 6, 49, 850); // // ReportCreated // this.ReportCreated = new DateTime(2017, 8, 8, 23, 6, 49, 850); this.ReportFile = ""; this.ReportGuid = "ef4a5ca0f964478fa979a20a52c19ef2"; this.ReportName = "Report"; this.ReportUnit = Stimulsoft.Report.StiReportUnitType.Centimeters; this.ReportVersion = "2012.3.1500"; this.ScriptLanguage = Stimulsoft.Report.StiReportLanguageType.CSharp; // // Page1 // this.Page1 = new Stimulsoft.Report.Components.StiPage(); this.Page1.Guid = "0e3c05646c1c4061bf359132bd90d7a7"; this.Page1.Name = "Page1"; this.Page1.PageHeight = 29.7; this.Page1.PageWidth = 21; this.Page1.Border = new Stimulsoft.Base.Drawing.StiBorder(Stimulsoft.Base.Drawing.StiBorderSides.None, System.Drawing.Color.Black, 2, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black), false); this.Page1.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent); // // DataText // this.DataText = new Stimulsoft.Report.Components.StiText(); this.DataText.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(0, 0, 14, 14); this.DataText.Name = "DataText"; this.DataText.GetValue += new Stimulsoft.Report.Events.StiGetValueEventHandler(this.DataText__GetValue); this.DataText.Border = new Stimulsoft.Base.Drawing.StiBorder(Stimulsoft.Base.Drawing.StiBorderSides.None, System.Drawing.Color.Black, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black), false); this.DataText.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent); this.DataText.Font = new System.Drawing.Font("Arial", 8F); this.DataText.Guid = null; this.DataText.Indicator = null; this.DataText.Interaction = null; this.DataText.Margins = new Stimulsoft.Report.Components.StiMargins(0, 0, 0, 0); this.DataText.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black); this.DataText.TextOptions = new Stimulsoft.Base.Drawing.StiTextOptions(false, false, false, 0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None); // // Hor // this.Hor = new Stimulsoft.Report.Components.StiHorizontalLinePrimitive(); this.Hor.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(3, 4, 5, 0.0254); this.Hor.Color = System.Drawing.Color.Red; this.Hor.Guid = "b6597cf9d7e84c2483c4c1493195874c"; this.Hor.Name = "Hor"; this.Hor.Size = 5F; this.Hor.EndCap = new Stimulsoft.Base.Drawing.StiCap(10, Stimulsoft.Base.Drawing.StiCapStyle.None, 10, true, System.Drawing.Color.Black); this.Hor.Interaction = null; this.Hor.StartCap = new Stimulsoft.Base.Drawing.StiCap(10, Stimulsoft.Base.Drawing.StiCapStyle.None, 10, true, System.Drawing.Color.Black); // // Vert // this.Vert = new Stimulsoft.Report.Components.StiVerticalLinePrimitive(); this.Vert.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(2, 3, 0.0254, 5); this.Vert.Color = System.Drawing.Color.Green; this.Vert.Guid = "0e286655ab2949238ace4a35a2b8a501"; this.Vert.Name = "Vert"; this.Vert.Size = 5F; this.Vert.EndCap = new Stimulsoft.Base.Drawing.StiCap(10, Stimulsoft.Base.Drawing.StiCapStyle.None, 10, true, System.Drawing.Color.Black); this.Vert.Interaction = null; this.Vert.StartCap = new Stimulsoft.Base.Drawing.StiCap(10, Stimulsoft.Base.Drawing.StiCapStyle.None, 10, true, System.Drawing.Color.Black); this.Page1.ExcelSheetValue = null; this.Page1.Interaction = null; this.Page1.Margins = new Stimulsoft.Report.Components.StiMargins(1, 1, 1, 1); this.Page1_Watermark = new Stimulsoft.Report.Components.StiWatermark(); this.Page1_Watermark.Font = new System.Drawing.Font("Arial", 100F); this.Page1_Watermark.Image = null; this.Page1_Watermark.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.FromArgb(50, 0, 0, 0)); this.Report_PrinterSettings = new Stimulsoft.Report.Print.StiPrinterSettings(); this.PrinterSettings = this.Report_PrinterSettings; this.Page1.Report = this; this.Page1.Watermark = this.Page1_Watermark; this.DataText.Page = this.Page1; this.DataText.Parent = this.Page1; this.Hor.Page = this.Page1; this.Hor.Parent = this.Page1; this.Vert.Page = this.Page1; this.Vert.Parent = this.Page1; // // Add to Page1.Components // this.Page1.Components.Clear(); this.Page1.Components.AddRange(new Stimulsoft.Report.Components.StiComponent[] { this.DataText, this.Hor, this.Vert}); // // Add to Pages // this.Pages.Clear(); this.Pages.AddRange(new Stimulsoft.Report.Components.StiPage[] { this.Page1}); } #endregion StiReport Designer generated code - do not modify } }