/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.ToggleVisibilityAction toggleVisibilityAction1 = new Telerik.Reporting.ToggleVisibilityAction(); Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.ToggleVisibilityAction toggleVisibilityAction2 = new Telerik.Reporting.ToggleVisibilityAction(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup7 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup8 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup9 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup10 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup11 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductSales)); this.textBoxQtr = new Telerik.Reporting.TextBox(); this.textBoxSubCategory = new Telerik.Reporting.TextBox(); this.textBoxTotalYearLabel = new Telerik.Reporting.TextBox(); this.textBoxYear = new Telerik.Reporting.TextBox(); this.textBoxGrandTotalYearLabel = new Telerik.Reporting.TextBox(); this.htmlTextBoxTitle = new Telerik.Reporting.HtmlTextBox(); this.textBoxTotalCategoryLabel = new Telerik.Reporting.TextBox(); this.textBoxCategory = new Telerik.Reporting.TextBox(); this.textBoxGrandTotalCategoryLabel = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.crosstab1 = new Telerik.Reporting.Crosstab(); this.textBoxFact = new Telerik.Reporting.TextBox(); this.textBoxTotalCategory = new Telerik.Reporting.TextBox(); this.textBoxTotalCategoryYear = new Telerik.Reporting.TextBox(); this.textBoxTotalYear = new Telerik.Reporting.TextBox(); this.textBoxGrandTotalYearCategory = new Telerik.Reporting.TextBox(); this.textBoxGrandTotalSubCategoryYear = new Telerik.Reporting.TextBox(); this.textBoxGrandTotal = new Telerik.Reporting.TextBox(); this.GrandTotalCategoryYear = new Telerik.Reporting.TextBox(); this.textBoxGrandTotalCategoryQtr = new Telerik.Reporting.TextBox(); this.pictureBoxLogo = new Telerik.Reporting.PictureBox(); this.sqlDataSource1 = new Telerik.Reporting.SqlDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBoxQtr // this.textBoxQtr.Name = "textBoxQtr"; this.textBoxQtr.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.61388880014419556D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.24000008404254913D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxQtr.Style.BackgroundColor = System.Drawing.Color.Empty; this.textBoxQtr.Style.BorderColor.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxQtr.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxQtr.Style.BorderColor.Left = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxQtr.Style.BorderColor.Top = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxQtr.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxQtr.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxQtr.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBoxQtr.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxQtr.Value = "=\'Q\' + Qtr(Fields.OrderDate)"; // // textBoxSubCategory // this.textBoxSubCategory.Name = "textBoxSubCategory"; this.textBoxSubCategory.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2006926536560059D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxSubCategory.Style.BackgroundColor = System.Drawing.Color.Empty; this.textBoxSubCategory.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxSubCategory.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxSubCategory.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxSubCategory.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxSubCategory.Value = "=Fields.ProductSubCategory"; // // textBoxTotalYearLabel // this.textBoxTotalYearLabel.Name = "textBoxTotalYearLabel"; this.textBoxTotalYearLabel.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.72500014305114746D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.24000008404254913D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxTotalYearLabel.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(204))))); this.textBoxTotalYearLabel.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxTotalYearLabel.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTotalYearLabel.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxTotalYearLabel.Style.Color = System.Drawing.Color.Black; this.textBoxTotalYearLabel.Style.Font.Bold = true; this.textBoxTotalYearLabel.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBoxTotalYearLabel.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxTotalYearLabel.Value = "Total"; // // textBoxYear // tableGroup1.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Qtr(Fields.OrderDate)")}); tableGroup1.Name = "Qtr"; tableGroup1.ReportItem = this.textBoxQtr; tableGroup1.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Qtr(Fields.OrderDate)", Telerik.Reporting.Data.SortDirection.Asc)}); toggleVisibilityAction1.Targets.AddRange(new Telerik.Reporting.IToggleVisibilityTarget[] { tableGroup1}); this.textBoxYear.Action = toggleVisibilityAction1; this.textBoxYear.Name = "textBoxYear"; this.textBoxYear.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.3388891220092773D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.27208325266838074D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxYear.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(243)))), ((int)(((byte)(249))))); this.textBoxYear.Style.BorderColor.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxYear.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxYear.Style.BorderColor.Left = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxYear.Style.BorderColor.Top = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.textBoxYear.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxYear.Style.Font.Bold = true; this.textBoxYear.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(13D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxYear.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBoxYear.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxYear.Value = "=Fields.OrderDate.Year"; // // textBoxGrandTotalYearLabel // this.textBoxGrandTotalYearLabel.Name = "textBoxGrandTotalYearLabel"; this.textBoxGrandTotalYearLabel.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.851180374622345D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.51208335161209106D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxGrandTotalYearLabel.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(225)))), ((int)(((byte)(171))))); this.textBoxGrandTotalYearLabel.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.textBoxGrandTotalYearLabel.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.textBoxGrandTotalYearLabel.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxGrandTotalYearLabel.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxGrandTotalYearLabel.Style.Font.Bold = true; this.textBoxGrandTotalYearLabel.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxGrandTotalYearLabel.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBoxGrandTotalYearLabel.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxGrandTotalYearLabel.Value = "Grand Total"; // // htmlTextBoxTitle // this.htmlTextBoxTitle.Name = "htmlTextBoxTitle"; this.htmlTextBoxTitle.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.1900694370269775D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.4387499988079071D, Telerik.Reporting.Drawing.UnitType.Inch)); this.htmlTextBoxTitle.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.htmlTextBoxTitle.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.htmlTextBoxTitle.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.htmlTextBoxTitle.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.htmlTextBoxTitle.Style.Color = System.Drawing.Color.White; this.htmlTextBoxTitle.Style.Padding.Bottom = new Telerik.Reporting.Drawing.Unit(2D, Telerik.Reporting.Drawing.UnitType.Point); this.htmlTextBoxTitle.Style.Padding.Top = new Telerik.Reporting.Drawing.Unit(2D, Telerik.Reporting.Drawing.UnitType.Point); this.htmlTextBoxTitle.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.htmlTextBoxTitle.Value = "<span style=\"font-weight: bold; font-size: 14pt\">SALES BY PRODUCT LINE PER PERIOD" + "</span><br /><span style=\"font-size: 8pt\">(USD in thousands)</span>"; // // textBoxTotalCategoryLabel // this.textBoxTotalCategoryLabel.Name = "textBoxTotalCategoryLabel"; this.textBoxTotalCategoryLabel.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2006926536560059D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxTotalCategoryLabel.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(204))))); this.textBoxTotalCategoryLabel.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxTotalCategoryLabel.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTotalCategoryLabel.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxTotalCategoryLabel.Style.Color = System.Drawing.Color.Black; this.textBoxTotalCategoryLabel.Style.Font.Bold = true; this.textBoxTotalCategoryLabel.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxTotalCategoryLabel.Value = "Total"; // // textBoxCategory // tableGroup2.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.ProductSubCategory")}); tableGroup2.Name = "ProductSubCategory"; tableGroup2.ReportItem = this.textBoxSubCategory; tableGroup2.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.ProductSubCategory", Telerik.Reporting.Data.SortDirection.Asc)}); toggleVisibilityAction2.Targets.AddRange(new Telerik.Reporting.IToggleVisibilityTarget[] { tableGroup2}); this.textBoxCategory.Action = toggleVisibilityAction2; this.textBoxCategory.Name = "textBoxCategory"; this.textBoxCategory.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2230457067489624D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.47999998927116394D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxCategory.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(243)))), ((int)(((byte)(249))))); this.textBoxCategory.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxCategory.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxCategory.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxCategory.Style.Font.Bold = true; this.textBoxCategory.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxCategory.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBoxCategory.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxCategory.Value = "=Fields.ProductCategory"; // // textBoxGrandTotalCategoryLabel // this.textBoxGrandTotalCategoryLabel.Name = "textBoxGrandTotalCategoryLabel"; this.textBoxGrandTotalCategoryLabel.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.4237382411956787D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxGrandTotalCategoryLabel.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(225)))), ((int)(((byte)(171))))); this.textBoxGrandTotalCategoryLabel.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.textBoxGrandTotalCategoryLabel.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxGrandTotalCategoryLabel.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBoxGrandTotalCategoryLabel.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxGrandTotalCategoryLabel.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxGrandTotalCategoryLabel.Style.Font.Bold = true; this.textBoxGrandTotalCategoryLabel.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBoxGrandTotalCategoryLabel.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxGrandTotalCategoryLabel.Value = "Grand Total"; // // detail // this.detail.Height = new Telerik.Reporting.Drawing.Unit(1.8000000715255737D, Telerik.Reporting.Drawing.UnitType.Inch); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.crosstab1}); this.detail.Name = "detail"; // // crosstab1 // this.crosstab1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.61388885974884033D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstab1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.72500014305114746D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstab1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0.851180374622345D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstab1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstab1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstab1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstab1.Body.SetCellContent(0, 0, this.textBoxFact); this.crosstab1.Body.SetCellContent(1, 0, this.textBoxTotalCategory); this.crosstab1.Body.SetCellContent(1, 1, this.textBoxTotalCategoryYear); this.crosstab1.Body.SetCellContent(0, 1, this.textBoxTotalYear); this.crosstab1.Body.SetCellContent(1, 2, this.textBoxGrandTotalYearCategory); this.crosstab1.Body.SetCellContent(0, 2, this.textBoxGrandTotalSubCategoryYear); this.crosstab1.Body.SetCellContent(2, 2, this.textBoxGrandTotal); this.crosstab1.Body.SetCellContent(2, 1, this.GrandTotalCategoryYear); this.crosstab1.Body.SetCellContent(2, 0, this.textBoxGrandTotalCategoryQtr); tableGroup5.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Qtr(Fields.OrderDate)")}); tableGroup5.Name = "Qtr"; tableGroup5.ReportItem = this.textBoxQtr; tableGroup5.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Qtr(Fields.OrderDate)", Telerik.Reporting.Data.SortDirection.Asc)}); tableGroup6.ReportItem = this.textBoxTotalYearLabel; tableGroup4.ChildGroups.Add(tableGroup5); tableGroup4.ChildGroups.Add(tableGroup6); tableGroup4.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.OrderDate.Year")}); tableGroup4.Name = "Year"; tableGroup4.ReportItem = this.textBoxYear; tableGroup4.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.OrderDate.Year", Telerik.Reporting.Data.SortDirection.Asc)}); tableGroup7.ReportItem = this.textBoxGrandTotalYearLabel; tableGroup3.ChildGroups.Add(tableGroup4); tableGroup3.ChildGroups.Add(tableGroup7); tableGroup3.ReportItem = this.htmlTextBoxTitle; this.crosstab1.ColumnGroups.Add(tableGroup3); this.crosstab1.Corner.SetCellContent(0, 0, this.pictureBoxLogo, 3, 2); this.crosstab1.DataSource = this.sqlDataSource1; this.crosstab1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxFact, this.textBoxTotalCategory, this.textBoxTotalCategoryYear, this.textBoxTotalYear, this.textBoxGrandTotalYearCategory, this.textBoxGrandTotalSubCategoryYear, this.textBoxGrandTotal, this.GrandTotalCategoryYear, this.textBoxGrandTotalCategoryQtr, this.htmlTextBoxTitle, this.textBoxYear, this.textBoxQtr, this.textBoxTotalYearLabel, this.textBoxGrandTotalYearLabel, this.pictureBoxLogo, this.textBoxCategory, this.textBoxSubCategory, this.textBoxTotalCategoryLabel, this.textBoxGrandTotalCategoryLabel}); this.crosstab1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(-1.6821755366436264E-07D, Telerik.Reporting.Drawing.UnitType.Mm), new Telerik.Reporting.Drawing.Unit(-1.6821755366436264E-07D, Telerik.Reporting.Drawing.UnitType.Mm)); this.crosstab1.Name = "crosstab1"; tableGroup9.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.ProductSubCategory")}); tableGroup9.Name = "ProductSubCategory"; tableGroup9.ReportItem = this.textBoxSubCategory; tableGroup9.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.ProductSubCategory", Telerik.Reporting.Data.SortDirection.Asc)}); tableGroup10.Name = "ProductSubCategoryTotal"; tableGroup10.ReportItem = this.textBoxTotalCategoryLabel; tableGroup8.ChildGroups.Add(tableGroup9); tableGroup8.ChildGroups.Add(tableGroup10); tableGroup8.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.ProductCategory")}); tableGroup8.Name = "ProductCategory"; tableGroup8.ReportItem = this.textBoxCategory; tableGroup8.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.ProductCategory", Telerik.Reporting.Data.SortDirection.Asc)}); tableGroup11.ReportItem = this.textBoxGrandTotalCategoryLabel; this.crosstab1.RowGroups.Add(tableGroup8); this.crosstab1.RowGroups.Add(tableGroup11); this.crosstab1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(4.613807201385498D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.6708333492279053D, Telerik.Reporting.Drawing.UnitType.Inch)); this.crosstab1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.crosstab1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.crosstab1.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); // // textBoxFact // navigateToReportAction1.Parameters.Add(new Telerik.Reporting.Parameter("ProductCategory", "=Fields.ProductCategory")); navigateToReportAction1.Parameters.Add(new Telerik.Reporting.Parameter("ProductSubcategory", "=Fields.ProductSubCategory")); navigateToReportAction1.Parameters.Add(new Telerik.Reporting.Parameter("FromDate", "=Min(Fields.OrderDate)")); navigateToReportAction1.Parameters.Add(new Telerik.Reporting.Parameter("ToDate", "=Max(Fields.OrderDate)")); navigateToReportAction1.ReportDocumentType = "=IIF(Fields.ProductCategory IS NULL,\"\",\"Telerik.Reporting.Examples.CSharp.Product" + "LineSales, CSharp.ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToke" + "n=null\")"; this.textBoxFact.Action = navigateToReportAction1; formattingRule1.Filters.AddRange(new Telerik.Reporting.Data.Filter[] { new Telerik.Reporting.Data.Filter("Fields.ProductCategory IS NULL", Telerik.Reporting.Data.FilterOperator.NotEqual, "=True")}); formattingRule1.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); formattingRule1.Style.Font.Underline = true; this.textBoxFact.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1}); this.textBoxFact.Format = "{0:N1}"; this.textBoxFact.Name = "textBoxFact"; this.textBoxFact.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.61388880014419556D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxFact.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxFact.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxFact.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxFact.Style.Color = System.Drawing.Color.Black; this.textBoxFact.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxFact.Style.Font.Underline = false; this.textBoxFact.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxFact.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxFact.Value = "=Sum(Fields.LineTotal)/1000.0"; // // textBoxTotalCategory // this.textBoxTotalCategory.Format = "{0:N1}"; this.textBoxTotalCategory.Name = "textBoxTotalCategory"; this.textBoxTotalCategory.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.61388880014419556D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxTotalCategory.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(204))))); this.textBoxTotalCategory.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxTotalCategory.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTotalCategory.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxTotalCategory.Style.Color = System.Drawing.Color.Black; this.textBoxTotalCategory.Style.Font.Bold = true; this.textBoxTotalCategory.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxTotalCategory.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxTotalCategory.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxTotalCategory.Value = "=Sum(Fields.LineTotal)/1000.0"; // // textBoxTotalCategoryYear // this.textBoxTotalCategoryYear.Format = "{0:N1}"; this.textBoxTotalCategoryYear.Name = "textBoxTotalCategoryYear"; this.textBoxTotalCategoryYear.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.72500014305114746D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxTotalCategoryYear.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(225)))), ((int)(((byte)(171))))); this.textBoxTotalCategoryYear.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxTotalCategoryYear.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTotalCategoryYear.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxTotalCategoryYear.Style.Font.Bold = true; this.textBoxTotalCategoryYear.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxTotalCategoryYear.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxTotalCategoryYear.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxTotalCategoryYear.Value = "=Sum(Fields.LineTotal)/1000.0"; // // textBoxTotalYear // this.textBoxTotalYear.Format = "{0:N1}"; this.textBoxTotalYear.Name = "textBoxTotalYear"; this.textBoxTotalYear.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.72500014305114746D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxTotalYear.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(204))))); this.textBoxTotalYear.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(209)))), ((int)(((byte)(214))))); this.textBoxTotalYear.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTotalYear.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxTotalYear.Style.Color = System.Drawing.Color.Black; this.textBoxTotalYear.Style.Font.Bold = true; this.textBoxTotalYear.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxTotalYear.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxTotalYear.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxTotalYear.Value = "=Sum(Fields.LineTotal)/1000.0"; // // textBoxGrandTotalYearCategory // this.textBoxGrandTotalYearCategory.Format = "{0:N1}"; this.textBoxGrandTotalYearCategory.Name = "textBoxGrandTotalYearCategory"; this.textBoxGrandTotalYearCategory.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.851180374622345D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxGrandTotalYearCategory.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(215)))), ((int)(((byte)(122))))); this.textBoxGrandTotalYearCategory.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.textBoxGrandTotalYearCategory.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxGrandTotalYearCategory.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxGrandTotalYearCategory.Style.Font.Bold = true; this.textBoxGrandTotalYearCategory.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxGrandTotalYearCategory.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxGrandTotalYearCategory.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxGrandTotalYearCategory.Value = "=Sum(Fields.LineTotal)/1000.0"; // // textBoxGrandTotalSubCategoryYear // this.textBoxGrandTotalSubCategoryYear.Format = "{0:N1}"; this.textBoxGrandTotalSubCategoryYear.Name = "textBoxGrandTotalSubCategoryYear"; this.textBoxGrandTotalSubCategoryYear.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.851180374622345D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxGrandTotalSubCategoryYear.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(225)))), ((int)(((byte)(171))))); this.textBoxGrandTotalSubCategoryYear.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.textBoxGrandTotalSubCategoryYear.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxGrandTotalSubCategoryYear.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxGrandTotalSubCategoryYear.Style.Font.Bold = true; this.textBoxGrandTotalSubCategoryYear.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxGrandTotalSubCategoryYear.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxGrandTotalSubCategoryYear.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxGrandTotalSubCategoryYear.Value = "= Sum(Fields.LineTotal)/1000.0"; // // textBoxGrandTotal // this.textBoxGrandTotal.Format = "{0:N1}"; this.textBoxGrandTotal.Name = "textBoxGrandTotal"; this.textBoxGrandTotal.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.851180374622345D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxGrandTotal.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(215)))), ((int)(((byte)(122))))); this.textBoxGrandTotal.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.textBoxGrandTotal.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxGrandTotal.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxGrandTotal.Style.Font.Bold = true; this.textBoxGrandTotal.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxGrandTotal.Style.Font.Underline = true; this.textBoxGrandTotal.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxGrandTotal.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxGrandTotal.Value = "=Sum(Fields.LineTotal)/1000.0"; // // GrandTotalCategoryYear // this.GrandTotalCategoryYear.Format = "{0:N1}"; this.GrandTotalCategoryYear.Name = "GrandTotalCategoryYear"; this.GrandTotalCategoryYear.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.72500014305114746D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.GrandTotalCategoryYear.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(215)))), ((int)(((byte)(122))))); this.GrandTotalCategoryYear.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.GrandTotalCategoryYear.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.GrandTotalCategoryYear.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.GrandTotalCategoryYear.Style.Font.Bold = true; this.GrandTotalCategoryYear.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9D, Telerik.Reporting.Drawing.UnitType.Point); this.GrandTotalCategoryYear.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.GrandTotalCategoryYear.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.GrandTotalCategoryYear.Value = "=Sum(Fields.LineTotal)/1000.0"; // // textBoxGrandTotalCategoryQtr // this.textBoxGrandTotalCategoryQtr.Format = "{0:N1}"; this.textBoxGrandTotalCategoryQtr.Name = "textBoxGrandTotalCategoryQtr"; this.textBoxGrandTotalCategoryQtr.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.61388880014419556D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23999999463558197D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxGrandTotalCategoryQtr.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(225)))), ((int)(((byte)(171))))); this.textBoxGrandTotalCategoryQtr.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.textBoxGrandTotalCategoryQtr.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxGrandTotalCategoryQtr.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxGrandTotalCategoryQtr.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBoxGrandTotalCategoryQtr.Style.Font.Bold = true; this.textBoxGrandTotalCategoryQtr.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxGrandTotalCategoryQtr.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxGrandTotalCategoryQtr.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxGrandTotalCategoryQtr.Value = "=Sum(Fields.LineTotal)/1000.0"; // // pictureBoxLogo // this.pictureBoxLogo.MimeType = "image/png"; this.pictureBoxLogo.Name = "pictureBoxLogo"; this.pictureBoxLogo.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.4237382411956787D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.95083332061767578D, Telerik.Reporting.Drawing.UnitType.Inch)); this.pictureBoxLogo.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.Center; this.pictureBoxLogo.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.pictureBoxLogo.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.pictureBoxLogo.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.pictureBoxLogo.Style.Padding.Left = new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch); this.pictureBoxLogo.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.pictureBoxLogo.Value = ((object)(resources.GetObject("pictureBoxLogo.Value"))); // // sqlDataSource1 // this.sqlDataSource1.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.sqlDataSource1.Name = "sqlDataSource1"; this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand"); // // ProductSales // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.PageSettings.Landscape = false; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom; this.PageSettings.PaperSize = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(38D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(30D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = new Telerik.Reporting.Drawing.Unit(4.7000002861022949D, Telerik.Reporting.Drawing.UnitType.Inch); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting 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(InformexPeriodoHistorico)); Telerik.Reporting.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); this.labelsGroupHeader = new Telerik.Reporting.GroupHeaderSection(); this.textBox5 = new Telerik.Reporting.TextBox(); this.labelsGroupFooter = new Telerik.Reporting.GroupFooterSection(); this.Empresa = new Telerik.Reporting.Group(); this.pageHeader = new Telerik.Reporting.PageHeaderSection(); this.reportNameTextBox = new Telerik.Reporting.TextBox(); this.pageFooter = new Telerik.Reporting.PageFooterSection(); this.pageInfoTextBox = new Telerik.Reporting.TextBox(); this.reportHeader = new Telerik.Reporting.ReportHeaderSection(); this.pictureBox1 = new Telerik.Reporting.PictureBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.txtLeyendaEncabezado = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.textBox6 = new Telerik.Reporting.TextBox(); this.Periodo = new Telerik.Reporting.Group(); this.groupFooterSection2 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection2 = new Telerik.Reporting.GroupHeaderSection(); this.textBox8 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // labelsGroupHeader // this.labelsGroupHeader.Height = new Telerik.Reporting.Drawing.Unit(0.60010033845901489, Telerik.Reporting.Drawing.UnitType.Cm); this.labelsGroupHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox5 }); this.labelsGroupHeader.Name = "labelsGroupHeader"; this.labelsGroupHeader.PrintOnEveryPage = true; // // textBox5 // this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.7822834849357605, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.00010011057747760788, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.199800968170166, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.59999984502792358, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox5.Style.Color = System.Drawing.Color.Black; this.textBox5.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox5.StyleName = "PageInfo"; this.textBox5.Value = "= IIf(Fields.EsContratista, \"Contratista: \" + Fields.RazonSocial, \"Sub Contratist" + "a: \" + Fields.RazonSocial)"; // // labelsGroupFooter // this.labelsGroupFooter.Height = new Telerik.Reporting.Drawing.Unit(0.19999994337558746, Telerik.Reporting.Drawing.UnitType.Cm); this.labelsGroupFooter.Name = "labelsGroupFooter"; this.labelsGroupFooter.Style.Visible = false; // // Empresa // this.Empresa.GroupFooter = this.labelsGroupFooter; this.Empresa.GroupHeader = this.labelsGroupHeader; this.Empresa.Grouping.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.RazonSocial") }); this.Empresa.Sorting.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.OrdenEmpresas", Telerik.Reporting.Data.SortDirection.Asc), new Telerik.Reporting.Data.Sorting("=Fields.OrdenDetalle", Telerik.Reporting.Data.SortDirection.Asc) }); // // pageHeader // this.pageHeader.Height = new Telerik.Reporting.Drawing.Unit(0.71428573131561279, Telerik.Reporting.Drawing.UnitType.Cm); this.pageHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.reportNameTextBox }); this.pageHeader.Name = "pageHeader"; // // reportNameTextBox // this.reportNameTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.052910052239894867, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.052910052239894867, Telerik.Reporting.Drawing.UnitType.Cm)); this.reportNameTextBox.Name = "reportNameTextBox"; this.reportNameTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(15.867624282836914, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791, Telerik.Reporting.Drawing.UnitType.Cm)); this.reportNameTextBox.Style.Visible = false; this.reportNameTextBox.StyleName = "PageInfo"; // // pageFooter // this.pageFooter.Height = new Telerik.Reporting.Drawing.Unit(0.71428573131561279, Telerik.Reporting.Drawing.UnitType.Cm); this.pageFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageInfoTextBox }); this.pageFooter.Name = "pageFooter"; // // pageInfoTextBox // this.pageInfoTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(11.960190773010254, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.052910052239894867, Telerik.Reporting.Drawing.UnitType.Cm)); this.pageInfoTextBox.Name = "pageInfoTextBox"; this.pageInfoTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.8280425071716309, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791, Telerik.Reporting.Drawing.UnitType.Cm)); this.pageInfoTextBox.Style.Color = System.Drawing.Color.Black; this.pageInfoTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.pageInfoTextBox.StyleName = "PageInfo"; this.pageInfoTextBox.Value = "=PageNumber"; // // reportHeader // this.reportHeader.Height = new Telerik.Reporting.Drawing.Unit(4.86074686050415, Telerik.Reporting.Drawing.UnitType.Cm); this.reportHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pictureBox1, this.textBox1, this.textBox2, this.txtLeyendaEncabezado }); this.reportHeader.Name = "reportHeader"; this.reportHeader.Style.BackgroundColor = System.Drawing.Color.Empty; // // pictureBox1 // this.pictureBox1.MimeType = "image/png"; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.7999999523162842, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(2.1859145164489746, Telerik.Reporting.Drawing.UnitType.Cm)); this.pictureBox1.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.Stretch; this.pictureBox1.Style.BackgroundColor = System.Drawing.Color.Transparent; this.pictureBox1.Value = ((object)(resources.GetObject("pictureBox1.Value"))); // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(15.403640747070313, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.932797908782959, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(4.3581328392028809, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.59999984502792358, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox1.Style.Color = System.Drawing.Color.Black; this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox1.StyleName = "PageInfo"; this.textBox1.Value = "Mendoza "; // // textBox2 // this.textBox2.Format = "{0:D}"; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(9.0289583206176758, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.5594562292099, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(10.759275436401367, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.59999984502792358, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox2.Style.Color = System.Drawing.Color.Black; this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox2.StyleName = "PageInfo"; this.textBox2.Value = "=Now()"; // // txtLeyendaEncabezado // this.txtLeyendaEncabezado.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.2962963581085205, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(3.41269850730896, Telerik.Reporting.Drawing.UnitType.Cm)); this.txtLeyendaEncabezado.Name = "txtLeyendaEncabezado"; this.txtLeyendaEncabezado.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(17.673017501831055, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.2994712591171265, Telerik.Reporting.Drawing.UnitType.Cm)); this.txtLeyendaEncabezado.Style.Color = System.Drawing.Color.Black; this.txtLeyendaEncabezado.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.txtLeyendaEncabezado.StyleName = "PageInfo"; this.txtLeyendaEncabezado.Value = "Señor Jefe"; // // detail // this.detail.Height = new Telerik.Reporting.Drawing.Unit(0.57363986968994141, Telerik.Reporting.Drawing.UnitType.Cm); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox6 }); this.detail.Name = "detail"; this.detail.ItemDataBound += new System.EventHandler(this.detail_ItemDataBound); // // textBox6 // formattingRule1.Filters.AddRange(new Telerik.Reporting.Data.Filter[] { new Telerik.Reporting.Data.Filter("=Fields.Comentario", Telerik.Reporting.Data.FilterOperator.Equal, "") }); formattingRule1.Style.Visible = false; this.textBox6.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1 }); this.textBox6.Format = "{0}"; this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.2908763885498047, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(9.970690734917298E-05, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(18.412082672119141, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.49416637420654297, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox6.Value = "=Fields.Comentario"; // // Periodo // this.Periodo.GroupFooter = this.groupFooterSection2; this.Periodo.GroupHeader = this.groupHeaderSection2; this.Periodo.Grouping.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.PeriodoDesc") }); this.Periodo.Sorting.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.Periodo", Telerik.Reporting.Data.SortDirection.Desc) }); // // groupFooterSection2 // this.groupFooterSection2.Height = new Telerik.Reporting.Drawing.Unit(0.27513211965560913, Telerik.Reporting.Drawing.UnitType.Cm); this.groupFooterSection2.Name = "groupFooterSection2"; this.groupFooterSection2.Style.Visible = false; // // groupHeaderSection2 // this.groupHeaderSection2.Height = new Telerik.Reporting.Drawing.Unit(0.62645483016967773, Telerik.Reporting.Drawing.UnitType.Cm); this.groupHeaderSection2.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox8 }); this.groupHeaderSection2.Name = "groupHeaderSection2"; // // textBox8 // this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.23791344463825226, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.026455026119947433, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(6.9396820068359375, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.59999984502792358, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox8.Style.Color = System.Drawing.Color.Black; this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox8.StyleName = "PageInfo"; this.textBox8.Value = "=Fields.PeriodoDesc"; // // InformexPeriodoHistorico // this.Groups.AddRange(new Telerik.Reporting.Group[] { this.Periodo, this.Empresa }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection2, this.groupFooterSection2, this.labelsGroupHeader, this.labelsGroupFooter, this.pageHeader, this.pageFooter, this.reportHeader, this.detail }); this.PageSettings.Landscape = false; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(0.54000002145767212, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(0.54000002145767212, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(0.54000002145767212, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(0.54000002145767212, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Style.BackgroundColor = System.Drawing.Color.White; styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Title") }); styleRule1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(222)))), ((int)(((byte)(201))))); styleRule1.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(39)))), ((int)(((byte)(28))))); styleRule1.Style.Font.Name = "Gill Sans MT"; styleRule1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(20, Telerik.Reporting.Drawing.UnitType.Point); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Caption") }); styleRule2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(222)))), ((int)(((byte)(201))))); styleRule2.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(39)))), ((int)(((byte)(28))))); styleRule2.Style.Font.Name = "Gill Sans MT"; styleRule2.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10, Telerik.Reporting.Drawing.UnitType.Point); styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Data") }); styleRule3.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(39)))), ((int)(((byte)(28))))); styleRule3.Style.Font.Name = "Gill Sans MT"; styleRule3.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10, Telerik.Reporting.Drawing.UnitType.Point); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("PageInfo") }); styleRule4.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(141)))), ((int)(((byte)(105))))); styleRule4.Style.Font.Name = "Gill Sans MT"; styleRule4.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(9, Telerik.Reporting.Drawing.UnitType.Point); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4 }); this.Width = new Telerik.Reporting.Drawing.Unit(19.841150283813477, Telerik.Reporting.Drawing.UnitType.Cm); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting 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(InformeMapaHojaDeRuta)); Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.pageFooter = new Telerik.Reporting.PageFooterSection(); this.pageInfoTextBox = new Telerik.Reporting.TextBox(); this.currentTimeTextBox = new Telerik.Reporting.TextBox(); this.reportHeader = new Telerik.Reporting.ReportHeaderSection(); this.titleTextBox = new Telerik.Reporting.TextBox(); this.pictureBox2 = new Telerik.Reporting.PictureBox(); this.detail = new Telerik.Reporting.DetailSection(); this.crosstab1 = new Telerik.Reporting.Crosstab(); this.textBox3 = new Telerik.Reporting.TextBox(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); this.htmlTextBox3 = new Telerik.Reporting.HtmlTextBox(); this.htmlTextBox2 = new Telerik.Reporting.HtmlTextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.657987117767334D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.7788580656051636D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox8.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.textBox8.Value = "=Fields.Empresa"; // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.6394209861755371D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.7788580656051636D, Telerik.Reporting.Drawing.UnitType.Cm)); // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.8025918006896973D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.40000015497207642D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox9.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.textBox9.Value = "=Fields.Periodo"; // // pageFooter // this.pageFooter.Height = new Telerik.Reporting.Drawing.Unit(0.71437495946884155D, Telerik.Reporting.Drawing.UnitType.Cm); this.pageFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageInfoTextBox, this.currentTimeTextBox }); this.pageFooter.Name = "pageFooter"; // // pageInfoTextBox // this.pageInfoTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(13.199999809265137D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.052916664630174637D, Telerik.Reporting.Drawing.UnitType.Cm)); this.pageInfoTextBox.Name = "pageInfoTextBox"; this.pageInfoTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.1512496471405029D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm)); this.pageInfoTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.pageInfoTextBox.StyleName = "PageInfo"; this.pageInfoTextBox.Value = "=PageNumber"; // // currentTimeTextBox // this.currentTimeTextBox.Name = "currentTimeTextBox"; this.currentTimeTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(5.3331265449523926D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm)); this.currentTimeTextBox.StyleName = "PageInfo"; this.currentTimeTextBox.Value = "=NOW()"; // // reportHeader // this.reportHeader.Height = new Telerik.Reporting.Drawing.Unit(0.13229186832904816D, Telerik.Reporting.Drawing.UnitType.Cm); this.reportHeader.Name = "reportHeader"; // // titleTextBox // this.titleTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.70000004768371582D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Cm)); this.titleTextBox.Name = "titleTextBox"; this.titleTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(13.603965759277344D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.89980012178421021D, Telerik.Reporting.Drawing.UnitType.Cm)); this.titleTextBox.StyleName = "Title"; this.titleTextBox.Value = "Informe Mapa Hoja De Ruta"; // // pictureBox2 // this.pictureBox2.MimeType = "image/png"; this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.8025918006896973D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.7788580656051636D, Telerik.Reporting.Drawing.UnitType.Cm)); this.pictureBox2.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.Stretch; this.pictureBox2.Style.BackgroundColor = System.Drawing.Color.Transparent; this.pictureBox2.Value = ((object)(resources.GetObject("pictureBox2.Value"))); // // detail // this.detail.Height = new Telerik.Reporting.Drawing.Unit(3.2677083015441895D, Telerik.Reporting.Drawing.UnitType.Cm); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.crosstab1, this.titleTextBox }); this.detail.Name = "detail"; // // crosstab1 // this.crosstab1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(3.6579873561859131D, Telerik.Reporting.Drawing.UnitType.Cm))); this.crosstab1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Cm))); this.crosstab1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(3.639420747756958D, Telerik.Reporting.Drawing.UnitType.Cm))); this.crosstab1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.40000015497207642D, Telerik.Reporting.Drawing.UnitType.Cm))); this.crosstab1.Body.SetCellContent(0, 1, this.textBox3); this.crosstab1.Body.SetCellContent(0, 2, this.htmlTextBox1); this.crosstab1.Body.SetCellContent(0, 0, this.htmlTextBox3); tableGroup2.Name = "Group1"; tableGroup3.Name = "Group4"; tableGroup1.ChildGroups.Add(tableGroup2); tableGroup1.ChildGroups.Add(tableGroup3); tableGroup1.Grouping.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.Empresa") }); tableGroup1.Name = "Empresa"; tableGroup1.ReportItem = this.textBox8; tableGroup1.Sorting.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.OrdenEmpresas", Telerik.Reporting.Data.SortDirection.Asc) }); tableGroup5.Name = "Group3"; tableGroup4.ChildGroups.Add(tableGroup5); tableGroup4.Name = "Group2"; tableGroup4.ReportItem = this.textBox1; this.crosstab1.ColumnGroups.Add(tableGroup1); this.crosstab1.ColumnGroups.Add(tableGroup4); this.crosstab1.Corner.SetCellContent(0, 0, this.pictureBox2); this.crosstab1.DataMember = ""; this.crosstab1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox3, this.htmlTextBox1, this.htmlTextBox3, this.textBox8, this.textBox1, this.pictureBox2, this.textBox9 }); this.crosstab1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.70000004768371582D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.89999997615814209D, Telerik.Reporting.Drawing.UnitType.Cm)); this.crosstab1.Name = "crosstab1"; tableGroup6.Grouping.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.Periodo") }); tableGroup6.GroupKeepTogether = true; tableGroup6.Name = "Periodo"; tableGroup6.ReportItem = this.textBox9; this.crosstab1.RowGroups.Add(tableGroup6); this.crosstab1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(10.100000381469727D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(2.1788582801818848D, Telerik.Reporting.Drawing.UnitType.Cm)); // // textBox3 // this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.40000012516975403D, Telerik.Reporting.Drawing.UnitType.Cm)); // // htmlTextBox1 // formattingRule1.Filters.AddRange(new Telerik.Reporting.Data.Filter[] { new Telerik.Reporting.Data.Filter("= Sum(Fields.EstadoValor)", Telerik.Reporting.Data.FilterOperator.Equal, "0") }); formattingRule1.Style.BackgroundColor = System.Drawing.Color.Empty; formattingRule1.Style.Visible = false; this.htmlTextBox1.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1 }); this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(11.200000762939453D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.31408530473709106D, Telerik.Reporting.Drawing.UnitType.Cm)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.6394209861755371D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.40000015497207642D, Telerik.Reporting.Drawing.UnitType.Cm)); this.htmlTextBox1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.htmlTextBox1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.htmlTextBox1.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.htmlTextBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.htmlTextBox1.Style.Visible = true; this.htmlTextBox1.Value = "<a href=\"ReporteViewerPeriodoHistorico.aspx?Id={Fields.IdCabecera}&EsHistoric" + "o=false\" target=\"_blank\">Reporte Mensual</a>"; // // htmlTextBox3 // this.htmlTextBox3.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(11.399999618530273D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.2140852212905884D, Telerik.Reporting.Drawing.UnitType.Cm)); this.htmlTextBox3.Name = "htmlTextBox3"; this.htmlTextBox3.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.6579873561859131D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.40000015497207642D, Telerik.Reporting.Drawing.UnitType.Cm)); this.htmlTextBox3.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.htmlTextBox3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.htmlTextBox3.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.htmlTextBox3.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.htmlTextBox3.Value = "<a target=\"_blank\" href=\"GestionHojadeRuta.aspx?IdCabecera={Fields.IdCabecera}\">{" + "Fields.Estado}</a>"; // // htmlTextBox2 // this.htmlTextBox2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(11.299999237060547D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.2140852212905884D, Telerik.Reporting.Drawing.UnitType.Cm)); this.htmlTextBox2.Name = "htmlTextBox2"; this.htmlTextBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.6400654315948486D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.7788581848144531D, Telerik.Reporting.Drawing.UnitType.Cm)); this.htmlTextBox2.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(166)))), ((int)(((byte)(181))))); this.htmlTextBox2.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.htmlTextBox2.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.htmlTextBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.htmlTextBox2.Value = "htmlTextBox2"; // // InformeMapaHojaDeRuta // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageFooter, this.reportHeader, this.detail }); this.PageSettings.Landscape = false; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(0.54000002145767212D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(0.54000002145767212D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(0.54000002145767212D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(0.54000002145767212D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Style.BackgroundColor = System.Drawing.Color.White; styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Title") }); styleRule1.Style.Color = System.Drawing.Color.Black; styleRule1.Style.Font.Bold = true; styleRule1.Style.Font.Italic = false; styleRule1.Style.Font.Name = "Tahoma"; styleRule1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(20D, Telerik.Reporting.Drawing.UnitType.Point); styleRule1.Style.Font.Strikeout = false; styleRule1.Style.Font.Underline = false; styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Caption") }); styleRule2.Style.Color = System.Drawing.Color.Black; styleRule2.Style.Font.Name = "Tahoma"; styleRule2.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Data") }); styleRule3.Style.Font.Name = "Tahoma"; styleRule3.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("PageInfo") }); styleRule4.Style.Font.Name = "Tahoma"; styleRule4.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4 }); this.Width = new Telerik.Reporting.Drawing.Unit(19.920000076293945D, Telerik.Reporting.Drawing.UnitType.Cm); this.NeedDataSource += new System.EventHandler(this.InformeMapaHojaDeRuta_NeedDataSource); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule2 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule3 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule4 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter3 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); this.projectGroupHeader = new Telerik.Reporting.GroupHeaderSection(); this.projectDataTextBox = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.projectGroupFooter = new Telerik.Reporting.GroupFooterSection(); this.projectGroup = new Telerik.Reporting.Group(); this.reportHeader = new Telerik.Reporting.ReportHeaderSection(); this.titleTextBox = new Telerik.Reporting.TextBox(); this.panel1 = new Telerik.Reporting.Panel(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.shape1 = new Telerik.Reporting.Shape(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.taskDataTextBox = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.reportFooterSection1 = new Telerik.Reporting.ReportFooterSection(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.generalSpecificationDataSet = new Trex.Server.Reports.GeneralSpecificationDataSet(); ((System.ComponentModel.ISupportInitialize)(this.generalSpecificationDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // projectGroupHeader // this.projectGroupHeader.Height = new Telerik.Reporting.Drawing.Unit(0.53877496719360352D, Telerik.Reporting.Drawing.UnitType.Cm); this.projectGroupHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.projectDataTextBox, this.textBox6 }); this.projectGroupHeader.Name = "projectGroupHeader"; this.projectGroupHeader.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(241)))), ((int)(((byte)(221))))); // // projectDataTextBox // this.projectDataTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.05290985107421875D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.052910052239894867D, Telerik.Reporting.Drawing.UnitType.Cm)); this.projectDataTextBox.Name = "projectDataTextBox"; this.projectDataTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(11.947089195251465D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.38986873626708984D, Telerik.Reporting.Drawing.UnitType.Cm)); this.projectDataTextBox.Style.Font.Bold = true; this.projectDataTextBox.Style.Font.Name = "Calibri"; this.projectDataTextBox.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.projectDataTextBox.StyleName = "Data"; this.projectDataTextBox.Value = "=Fields.Project"; // // textBox6 // this.textBox6.Format = "{0:0.00}"; this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(12.053110122680664D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.052910052239894867D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.6558833122253418D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.48586508631706238D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox6.Style.Font.Bold = true; this.textBox6.Style.Font.Name = "Calibri"; this.textBox6.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox6.StyleName = "Data"; this.textBox6.Value = "= Sum(Fields.TimeSpent)"; // // projectGroupFooter // this.projectGroupFooter.Height = new Telerik.Reporting.Drawing.Unit(0.13227513432502747D, Telerik.Reporting.Drawing.UnitType.Cm); this.projectGroupFooter.Name = "projectGroupFooter"; // // projectGroup // this.projectGroup.Bookmark = null; this.projectGroup.GroupFooter = this.projectGroupFooter; this.projectGroup.GroupHeader = this.projectGroupHeader; this.projectGroup.Grouping.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.Project") }); // // reportHeader // this.reportHeader.Height = new Telerik.Reporting.Drawing.Unit(8.6735448837280273D, Telerik.Reporting.Drawing.UnitType.Cm); this.reportHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.titleTextBox, this.panel1, this.shape1, this.textBox1, this.textBox2 }); this.reportHeader.Name = "reportHeader"; this.reportHeader.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.reportHeader.Style.BorderWidth.Bottom = new Telerik.Reporting.Drawing.Unit(2D, Telerik.Reporting.Drawing.UnitType.Point); // // titleTextBox // formattingRule1.Filters.AddRange(new Telerik.Reporting.Data.Filter[] { new Telerik.Reporting.Data.Filter("= Parameters.BillableTime", Telerik.Reporting.Data.FilterOperator.Equal, "False") }); formattingRule1.Style.Visible = false; formattingRule2.Filters.AddRange(new Telerik.Reporting.Data.Filter[] { new Telerik.Reporting.Data.Filter("= Parameters.BillableTime", Telerik.Reporting.Data.FilterOperator.Equal, "True") }); this.titleTextBox.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1, formattingRule2 }); this.titleTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.053111888468265533D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(6.6857142448425293D, Telerik.Reporting.Drawing.UnitType.Cm)); this.titleTextBox.Name = "titleTextBox"; this.titleTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.2328882217407227D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.49508535861968994D, Telerik.Reporting.Drawing.UnitType.Cm)); this.titleTextBox.Style.Font.Name = "Calibri"; this.titleTextBox.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.titleTextBox.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.titleTextBox.StyleName = "Title"; this.titleTextBox.Value = "Forbrugt tid"; // // panel1 // this.panel1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox8, this.textBox12, this.textBox13, this.textBox14, this.textBox9 }); this.panel1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(7.9471664428710938D, Telerik.Reporting.Drawing.UnitType.Cm)); this.panel1.Name = "panel1"; this.panel1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(15.841068267822266D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.699999988079071D, Telerik.Reporting.Drawing.UnitType.Cm)); this.panel1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(187)))), ((int)(((byte)(89))))); // // textBox8 // this.textBox8.CanGrow = false; this.textBox8.CanShrink = true; this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.052910052239894867D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.02655513770878315D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(6.6206355094909668D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60195982456207275D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox8.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(187)))), ((int)(((byte)(89))))); this.textBox8.Style.Color = System.Drawing.Color.White; this.textBox8.Style.Font.Name = "Calibri"; this.textBox8.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox8.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.textBox8.StyleName = "Title"; this.textBox8.Value = "Timeopgørelse i projekter for periode"; // // textBox12 // this.textBox12.Format = "{0:d}"; this.textBox12.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(6.72665548324585D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.029999999329447746D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.1800003051757812D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox12.Style.Color = System.Drawing.Color.White; this.textBox12.Style.Font.Name = "Calibri"; this.textBox12.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox12.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.textBox12.StyleName = "Title"; this.textBox12.Value = "= Parameters.PeriodStart"; // // textBox13 // this.textBox13.Format = "{0:d}"; this.textBox13.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(9.3384990692138672D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.029999999329447746D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.1400001049041748D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox13.Style.Color = System.Drawing.Color.White; this.textBox13.Style.Font.Name = "Calibri"; this.textBox13.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox13.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.textBox13.StyleName = "Title"; this.textBox13.Value = "= Parameters.PeriodEnd"; // // textBox14 // this.textBox14.Format = "{0:d}"; this.textBox14.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(8.95913314819336D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.029999999329447746D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.32625633478164673D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox14.Style.Color = System.Drawing.Color.White; this.textBox14.Style.Font.Name = "Calibri"; this.textBox14.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox14.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.textBox14.StyleName = "Title"; this.textBox14.Value = "-"; // // textBox9 // this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(14.12645435333252D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.029999999329447746D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.6900007724761963D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox9.Style.Color = System.Drawing.Color.White; this.textBox9.Style.Font.Name = "Calibri"; this.textBox9.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox9.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.textBox9.StyleName = "Title"; this.textBox9.Value = "Timer"; // // shape1 // this.shape1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.02655513770878315D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(7.2339096069335938D, Telerik.Reporting.Drawing.UnitType.Cm)); this.shape1.Name = "shape1"; this.shape1.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(15.841068267822266D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.37354525923728943D, Telerik.Reporting.Drawing.UnitType.Cm)); this.shape1.Style.LineWidth = new Telerik.Reporting.Drawing.Unit(2D, Telerik.Reporting.Drawing.UnitType.Point); // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.099999986588954926D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.099999986588954926D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.7000000476837158D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20000004768371582D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox1.Style.Font.Bold = true; this.textBox1.Value = "= Fields.Customer"; // // textBox2 // formattingRule3.Filters.AddRange(new Telerik.Reporting.Data.Filter[] { new Telerik.Reporting.Data.Filter("= Parameters.BillableTime", Telerik.Reporting.Data.FilterOperator.Equal, "True") }); formattingRule3.Style.Visible = false; formattingRule4.Filters.AddRange(new Telerik.Reporting.Data.Filter[] { new Telerik.Reporting.Data.Filter("= Parameters.BillableTime", Telerik.Reporting.Data.FilterOperator.Equal, "False") }); this.textBox2.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule3, formattingRule4 }); this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.052910003811120987D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(6.6857142448425293D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(5.0270895957946777D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.49508535861968994D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox2.Style.Font.Name = "Calibri"; this.textBox2.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.textBox2.StyleName = "Title"; this.textBox2.Value = "Forbrugt ikke-debiterbar tid"; // // detail // this.detail.Height = new Telerik.Reporting.Drawing.Unit(0.4489571750164032D, Telerik.Reporting.Drawing.UnitType.Cm); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.taskDataTextBox, this.textBox5 }); this.detail.Name = "detail"; // // taskDataTextBox // this.taskDataTextBox.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.5264551043510437D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.059088651090860367D, Telerik.Reporting.Drawing.UnitType.Cm)); this.taskDataTextBox.Name = "taskDataTextBox"; this.taskDataTextBox.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(11.473545074462891D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.38986873626708984D, Telerik.Reporting.Drawing.UnitType.Cm)); this.taskDataTextBox.Style.Font.Name = "Calibri"; this.taskDataTextBox.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.taskDataTextBox.StyleName = "Data"; this.taskDataTextBox.Value = "=Fields.Task"; // // textBox5 // this.textBox5.Format = "{0:0.00}"; this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(12.053110122680664D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.02655513770878315D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.6558833122253418D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.38986873626708984D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox5.Style.Font.Name = "Calibri"; this.textBox5.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox5.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox5.StyleName = "Data"; this.textBox5.Value = "=Fields.TimeSpent"; // // reportFooterSection1 // this.reportFooterSection1.Height = new Telerik.Reporting.Drawing.Unit(0.63474220037460327D, Telerik.Reporting.Drawing.UnitType.Cm); this.reportFooterSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox11, this.textBox7 }); this.reportFooterSection1.Name = "reportFooterSection1"; this.reportFooterSection1.Style.BorderColor.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(187)))), ((int)(((byte)(89))))); this.reportFooterSection1.Style.BorderColor.Top = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(187)))), ((int)(((byte)(89))))); this.reportFooterSection1.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.reportFooterSection1.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; // // textBox11 // this.textBox11.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.026555944234132767D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.4204328060150146D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox11.Style.Font.Bold = true; this.textBox11.Style.Font.Name = "Calibri"; this.textBox11.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox11.StyleName = "Data"; this.textBox11.Value = "Hovedtotal"; // // textBox7 // this.textBox7.Format = "{0:0.00}"; this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(12.053111076354981D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.02655513770878315D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.6558833122253418D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox7.Style.BorderColor.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(187)))), ((int)(((byte)(89))))); this.textBox7.Style.BorderColor.Top = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(187)))), ((int)(((byte)(89))))); this.textBox7.Style.Font.Bold = true; this.textBox7.Style.Font.Name = "Calibri"; this.textBox7.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox7.StyleName = "Data"; this.textBox7.Value = "= Sum(Fields.TimeSpent)"; // // generalSpecificationDataSet // this.generalSpecificationDataSet.DataSetName = "GeneralSpecificationDataSet"; this.generalSpecificationDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // TaskSpecification // this.DataSource = this.generalSpecificationDataSet; this.Groups.AddRange(new Telerik.Reporting.Group[] { this.projectGroup }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.projectGroupHeader, this.projectGroupFooter, this.reportHeader, this.detail, this.reportFooterSection1 }); this.PageSettings.Landscape = false; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(2.5396826267242432D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(2.5396826267242432D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(2.5396826267242432D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(2.5396826267242432D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4; reportParameter1.Name = "BillableTime"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.Boolean; reportParameter2.Name = "PeriodStart"; reportParameter2.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter3.Name = "PeriodEnd"; reportParameter3.Type = Telerik.Reporting.ReportParameterType.DateTime; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.Style.BackgroundColor = System.Drawing.Color.White; this.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Point); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Title") }); styleRule1.Style.Color = System.Drawing.Color.Black; styleRule1.Style.Font.Bold = true; styleRule1.Style.Font.Italic = false; styleRule1.Style.Font.Name = "Tahoma"; styleRule1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(20D, Telerik.Reporting.Drawing.UnitType.Point); styleRule1.Style.Font.Strikeout = false; styleRule1.Style.Font.Underline = false; styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Caption") }); styleRule2.Style.Color = System.Drawing.Color.Black; styleRule2.Style.Font.Name = "Tahoma"; styleRule2.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Data") }); styleRule3.Style.Font.Name = "Tahoma"; styleRule3.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("PageInfo") }); styleRule4.Style.Font.Name = "Tahoma"; styleRule4.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4 }); this.Width = new Telerik.Reporting.Drawing.Unit(15.867623329162598D, Telerik.Reporting.Drawing.UnitType.Cm); ((System.ComponentModel.ISupportInitialize)(this.generalSpecificationDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup7 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup8 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule2 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule3 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule4 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule5 = new Telerik.Reporting.Drawing.FormattingRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductCatalog)); Telerik.Reporting.TocLevel tocLevel1 = new Telerik.Reporting.TocLevel(); Telerik.Reporting.TocLevel tocLevel2 = new Telerik.Reporting.TocLevel(); Telerik.Reporting.TocLevel tocLevel3 = new Telerik.Reporting.TocLevel(); Telerik.Reporting.Group group1 = new Telerik.Reporting.Group(); Telerik.Reporting.Group group2 = new Telerik.Reporting.Group(); Telerik.Reporting.Group group3 = new Telerik.Reporting.Group(); Telerik.Reporting.Drawing.TextWatermark textWatermark1 = new Telerik.Reporting.Drawing.TextWatermark(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox15 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox19 = new Telerik.Reporting.TextBox(); this.textBox21 = new Telerik.Reporting.TextBox(); this.groupFooterSection1 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection1 = new Telerik.Reporting.GroupHeaderSection(); this.textBoxProductCategoryLabel = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.shape3 = new Telerik.Reporting.Shape(); this.groupFooterSection2 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection2 = new Telerik.Reporting.GroupHeaderSection(); this.textBox4 = new Telerik.Reporting.TextBox(); this.groupFooterSection3 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection3 = new Telerik.Reporting.GroupHeaderSection(); this.panel3 = new Telerik.Reporting.Panel(); this.pictureBox1 = new Telerik.Reporting.PictureBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.table1 = new Telerik.Reporting.Table(); this.textBox16 = new Telerik.Reporting.TextBox(); this.textBox17 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox18 = new Telerik.Reporting.TextBox(); this.textBox20 = new Telerik.Reporting.TextBox(); this.textBox22 = new Telerik.Reporting.TextBox(); this.panel7 = new Telerik.Reporting.Panel(); this.shape1 = new Telerik.Reporting.Shape(); this.textBox10 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.sqlDataSource2 = new Telerik.Reporting.SqlDataSource(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.sqlDataSource1 = new Telerik.Reporting.SqlDataSource(); this.tocSection1 = new Telerik.Reporting.TocSection(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox2 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.954D), Telerik.Reporting.Drawing.Unit.Inch(0.271D)); this.textBox5.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox5.Value = "Product No."; // // textBox14 // this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.221D), Telerik.Reporting.Drawing.Unit.Cm(0.688D)); this.textBox14.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox14.Value = "Product"; // // textBox15 // this.textBox15.Name = "textBox15"; this.textBox15.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.069D), Telerik.Reporting.Drawing.Unit.Cm(0.688D)); this.textBox15.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox15.Value = "Color"; // // textBox7 // this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.638D), Telerik.Reporting.Drawing.Unit.Cm(0.688D)); this.textBox7.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox7.Value = "Size"; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.634D), Telerik.Reporting.Drawing.Unit.Cm(0.688D)); this.textBox9.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox9.Value = "Weight"; // // textBox19 // this.textBox19.Name = "textBox19"; this.textBox19.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.072D), Telerik.Reporting.Drawing.Unit.Cm(0.688D)); this.textBox19.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox19.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox19.Value = "Dealer"; // // textBox21 // this.textBox21.Name = "textBox21"; this.textBox21.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.101D), Telerik.Reporting.Drawing.Unit.Cm(0.688D)); this.textBox21.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox21.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox21.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox21.Value = "List Price"; // // groupFooterSection1 // this.groupFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.219D); this.groupFooterSection1.Name = "groupFooterSection1"; this.groupFooterSection1.Style.Visible = false; // // groupHeaderSection1 // this.groupHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5D); this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxProductCategoryLabel, this.textBox3, this.shape3 }); this.groupHeaderSection1.Name = "groupHeaderSection1"; this.groupHeaderSection1.PrintOnEveryPage = true; this.groupHeaderSection1.ItemDataBound += new System.EventHandler(this.groupHeaderSection1_ItemDataBound); // // textBoxProductCategoryLabel // this.textBoxProductCategoryLabel.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.9D)); this.textBoxProductCategoryLabel.Name = "textBoxProductCategoryLabel"; this.textBoxProductCategoryLabel.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1D), Telerik.Reporting.Drawing.Unit.Inch(0.4D)); this.textBoxProductCategoryLabel.StyleName = "Category"; this.textBoxProductCategoryLabel.Value = "=Fields.ProductCategory"; // // textBox3 // this.textBox3.Culture = new System.Globalization.CultureInfo("en"); this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1D), Telerik.Reporting.Drawing.Unit.Inch(0.6D)); this.textBox3.StyleName = "Header"; this.textBox3.Value = "Product Catalog"; // // shape3 // this.shape3.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Left | Telerik.Reporting.AnchoringStyles.Right))); this.shape3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.6D)); this.shape3.Name = "shape3"; this.shape3.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1D), Telerik.Reporting.Drawing.Unit.Point(2D)); this.shape3.Stretch = true; this.shape3.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.shape3.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.shape3.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(0.5D); this.shape3.Style.BorderWidth.Top = Telerik.Reporting.Drawing.Unit.Point(1.5D); this.shape3.Style.Color = System.Drawing.Color.Transparent; // // groupFooterSection2 // this.groupFooterSection2.Height = Telerik.Reporting.Drawing.Unit.Inch(0.198D); this.groupFooterSection2.Name = "groupFooterSection2"; this.groupFooterSection2.Style.Visible = false; // // groupHeaderSection2 // this.groupHeaderSection2.Height = Telerik.Reporting.Drawing.Unit.Inch(0.4D); this.groupHeaderSection2.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox4 }); this.groupHeaderSection2.KeepTogether = false; this.groupHeaderSection2.Name = "groupHeaderSection2"; this.groupHeaderSection2.PrintOnEveryPage = true; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1D), Telerik.Reporting.Drawing.Unit.Inch(0.3D)); this.textBox4.StyleName = "SubCategory"; this.textBox4.Value = "=Fields.ProductSubCategory"; // // groupFooterSection3 // this.groupFooterSection3.Height = Telerik.Reporting.Drawing.Unit.Inch(0.15D); this.groupFooterSection3.Name = "groupFooterSection3"; // // groupHeaderSection3 // this.groupHeaderSection3.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5D); this.groupHeaderSection3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.panel3 }); this.groupHeaderSection3.Name = "groupHeaderSection3"; this.groupHeaderSection3.PrintOnEveryPage = true; // // panel3 // this.panel3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pictureBox1, this.textBox1, this.table1, this.textBox6 }); this.panel3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.2D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.panel3.Name = "panel3"; this.panel3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.7D), Telerik.Reporting.Drawing.Unit.Inch(1.453D)); // // pictureBox1 // this.pictureBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.pictureBox1.MimeType = ""; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.337D), Telerik.Reporting.Drawing.Unit.Inch(0.9D)); this.pictureBox1.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional; this.pictureBox1.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.pictureBox1.Style.Color = System.Drawing.Color.White; this.pictureBox1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.pictureBox1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D); this.pictureBox1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(1D); this.pictureBox1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(1D); this.pictureBox1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(1D); this.pictureBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.pictureBox1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.pictureBox1.Value = "=Fields.LargePhoto"; // // textBox1 // this.textBox1.Bindings.Add(new Telerik.Reporting.Binding("Style.Font.Name", "= IIf(Parameters.CultureID.Value = \'zh-cht\', \'Microsoft JhengHei\', IIf(Parameters" + ".CultureID.Value = \'th\', \'Microsoft Sans Serif\', \'Segoe UI Light\'))")); this.textBox1.CanShrink = true; this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.245D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.3D), Telerik.Reporting.Drawing.Unit.Inch(0.9D)); this.textBox1.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.Font.Name = "Segoe UI Light"; this.textBox1.Value = "=Fields.Description"; // // table1 // this.table1.Bindings.Add(new Telerik.Reporting.Binding("DataSource", "=ReportItem.DataObject")); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.954D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(2.221D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.069D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.638D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.634D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.072D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.101D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Cm(0.717D))); this.table1.Body.SetCellContent(0, 0, this.textBox16); this.table1.Body.SetCellContent(0, 1, this.textBox17); this.table1.Body.SetCellContent(0, 3, this.textBox8); this.table1.Body.SetCellContent(0, 4, this.textBox18); this.table1.Body.SetCellContent(0, 5, this.textBox20); this.table1.Body.SetCellContent(0, 6, this.textBox22); this.table1.Body.SetCellContent(0, 2, this.panel7); tableGroup1.Name = "tableGroup1"; tableGroup1.ReportItem = this.textBox5; tableGroup2.Name = "tableGroup2"; tableGroup2.ReportItem = this.textBox14; tableGroup3.Name = "tableGroup3"; tableGroup3.ReportItem = this.textBox15; tableGroup4.Name = "tableGroup4"; tableGroup4.ReportItem = this.textBox7; tableGroup5.Name = "tableGroup5"; tableGroup5.ReportItem = this.textBox9; tableGroup6.Name = "tableGroup6"; tableGroup6.ReportItem = this.textBox19; tableGroup7.Name = "tableGroup7"; tableGroup7.ReportItem = this.textBox21; this.table1.ColumnGroups.Add(tableGroup1); this.table1.ColumnGroups.Add(tableGroup2); this.table1.ColumnGroups.Add(tableGroup3); this.table1.ColumnGroups.Add(tableGroup4); this.table1.ColumnGroups.Add(tableGroup5); this.table1.ColumnGroups.Add(tableGroup6); this.table1.ColumnGroups.Add(tableGroup7); this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox16, this.textBox17, this.panel7, this.textBox8, this.textBox18, this.textBox20, this.textBox22, this.textBox5, this.textBox14, this.textBox15, this.textBox7, this.textBox9, this.textBox19, this.textBox21 }); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(2.286D)); this.table1.Name = "table1"; tableGroup8.Groupings.Add(new Telerik.Reporting.Grouping("")); tableGroup8.Name = "detailGroup"; this.table1.RowGroups.Add(tableGroup8); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.69D), Telerik.Reporting.Drawing.Unit.Cm(1.405D)); // // textBox16 // this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.954D), Telerik.Reporting.Drawing.Unit.Cm(0.717D)); this.textBox16.Value = "=Fields.ProductNumber"; // // textBox17 // this.textBox17.Name = "textBox17"; this.textBox17.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.221D), Telerik.Reporting.Drawing.Unit.Cm(0.717D)); this.textBox17.Value = "=Fields.ProductName"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.638D), Telerik.Reporting.Drawing.Unit.Cm(0.717D)); this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox8.Value = "=IsNull(Fields.Size, \'N/A\')"; // // textBox18 // this.textBox18.Name = "textBox18"; this.textBox18.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.634D), Telerik.Reporting.Drawing.Unit.Cm(0.717D)); this.textBox18.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox18.Value = "=IsNull(Fields.Weight, \'N/A\')"; // // textBox20 // this.textBox20.Format = "{0:C2}"; this.textBox20.Name = "textBox20"; this.textBox20.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.072D), Telerik.Reporting.Drawing.Unit.Cm(0.717D)); this.textBox20.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox20.Value = "=ISNULL(Fields.StandardCost, \"Call\")"; // // textBox22 // this.textBox22.Format = "{0:C2}"; this.textBox22.Name = "textBox22"; this.textBox22.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.101D), Telerik.Reporting.Drawing.Unit.Cm(0.717D)); this.textBox22.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox22.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox22.Value = "=IsNull(Fields.ListPrice, \'Call\')"; // // panel7 // this.panel7.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.shape1, this.textBox10 }); this.panel7.Name = "panel7"; this.panel7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.069D), Telerik.Reporting.Drawing.Unit.Cm(0.717D)); this.panel7.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.panel7.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.panel7.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.panel7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.panel7.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; // // shape1 // formattingRule1.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "red")); formattingRule1.StopIfTrue = true; formattingRule1.Style.BackgroundColor = System.Drawing.Color.Red; formattingRule2.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "blue")); formattingRule2.StopIfTrue = true; formattingRule2.Style.BackgroundColor = System.Drawing.Color.Blue; formattingRule3.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "black")); formattingRule3.StopIfTrue = true; formattingRule3.Style.BackgroundColor = System.Drawing.Color.Black; formattingRule4.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "yellow")); formattingRule4.StopIfTrue = true; formattingRule4.Style.BackgroundColor = System.Drawing.Color.Yellow; formattingRule5.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "silver")); formattingRule5.StopIfTrue = true; formattingRule5.Style.BackgroundColor = System.Drawing.Color.Silver; this.shape1.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1, formattingRule2, formattingRule3, formattingRule4, formattingRule5 }); this.shape1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.079D), Telerik.Reporting.Drawing.Unit.Cm(0.07D)); this.shape1.Name = "shape1"; this.shape1.ShapeType = new Telerik.Reporting.Drawing.Shapes.EllipseShape(0D); this.shape1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.26D), Telerik.Reporting.Drawing.Unit.Inch(0.223D)); this.shape1.Style.Color = System.Drawing.Color.Transparent; // // textBox10 // this.textBox10.Format = "{0:C2}"; this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.82D), Telerik.Reporting.Drawing.Unit.Cm(0.07D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(1.68D), Telerik.Reporting.Drawing.Unit.Inch(0.255D)); this.textBox10.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.textBox10.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox10.Value = "= IsNull(Fields.Color, \'N/A\')"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.465D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.035D), Telerik.Reporting.Drawing.Unit.Inch(0.3D)); this.textBox6.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.textBox6.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox6.StyleName = "SubCategory"; this.textBox6.Value = "=Fields.ProductModel"; // // sqlDataSource2 // this.sqlDataSource2.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.sqlDataSource2.Name = "sqlDataSource2"; this.sqlDataSource2.SelectCommand = "SELECT RTRIM(CultureID) AS CultureID, Name FROM Production.Culture WHERE (NOT (RT" + "RIM(CultureID) IN (\'es\', \'\')))"; // // detailSection1 // this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.132D); this.detailSection1.Name = "detailSection1"; this.detailSection1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.detailSection1.Style.BorderWidth.Left = Telerik.Reporting.Drawing.Unit.Point(3D); this.detailSection1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.detailSection1.Style.Visible = false; // // sqlDataSource1 // this.sqlDataSource1.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.sqlDataSource1.Name = "sqlDataSource1"; this.sqlDataSource1.Parameters.Add(new Telerik.Reporting.SqlDataSourceParameter("@cultureID", System.Data.DbType.String, "=Parameters(\'CultureID\').Value")); this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand"); // // tocSection1 // this.tocSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5D); this.tocSection1.KeepTogether = false; tocLevel1.LeaderSymbol = '\0'; tocLevel1.Name = "Level1"; tocLevel1.Style.Font.Bold = true; tocLevel1.Style.Font.Name = "Segoe UI Light"; tocLevel1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(16D); tocLevel1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(5D); tocLevel1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); tocLevel1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); tocLevel1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(5D); tocLevel2.Name = "Level2"; tocLevel2.Style.Font.Name = "Segoe UI Light"; tocLevel2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); tocLevel2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D); tocLevel2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(32D); tocLevel2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); tocLevel2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(1D); tocLevel3.Name = "Level3"; tocLevel3.Style.Font.Name = "Segoe UI Light"; tocLevel3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); tocLevel3.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D); tocLevel3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(52D); tocLevel3.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); tocLevel3.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(1D); this.tocSection1.Levels.Add(tocLevel1); this.tocSection1.Levels.Add(tocLevel2); this.tocSection1.Levels.Add(tocLevel3); this.tocSection1.Name = "tocSection1"; this.tocSection1.PageBreak = Telerik.Reporting.PageBreak.After; this.tocSection1.Title = "Table of Contents"; this.tocSection1.TitleStyle.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.tocSection1.TitleStyle.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.tocSection1.TitleStyle.Font.Bold = true; this.tocSection1.TitleStyle.Font.Name = "Segoe UI Light"; this.tocSection1.TitleStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(25D); this.tocSection1.TitleStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(10D); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.2D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox2 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.2D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.9D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox2.Style.Font.Name = "Segoe UI Light"; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox2.Value = "= PageExec(\'group1\', Fields.ProductCategory) + \', page \' + PageNumber(\'group1\', F" + "ields.ProductCategory) + \' of \' + PageCount(\'group1\', Fields.ProductCategory)"; // // ProductCatalog // this.Bindings.Add(new Telerik.Reporting.Binding("Culture", "=Parameters.CultureID.Value")); this.DataSource = this.sqlDataSource1; this.DocumentName = "=\'ProductCatalog.\' + Parameters.CultureID.Value"; group1.DocumentMapText = "=Fields.ProductCategory"; group1.GroupFooter = this.groupFooterSection1; group1.GroupHeader = this.groupHeaderSection1; group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductCategory")); group1.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.All; group1.Name = "group1"; group1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductCategory", Telerik.Reporting.SortDirection.Asc)); group1.TocText = "=Fields.ProductCategory"; group2.DocumentMapText = "=Fields.ProductSubCategory"; group2.GroupFooter = this.groupFooterSection2; group2.GroupHeader = this.groupHeaderSection2; group2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductSubCategory")); group2.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.FirstDetail; group2.Name = "group2"; group2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductSubCategory", Telerik.Reporting.SortDirection.Asc)); group2.TocText = "=Fields.ProductSubCategory"; group3.DocumentMapText = "=Fields.ProductModel"; group3.GroupFooter = this.groupFooterSection3; group3.GroupHeader = this.groupHeaderSection3; group3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductModel")); group3.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.FirstDetail; group3.Name = "group3"; group3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductModel", Telerik.Reporting.SortDirection.Asc)); this.Groups.AddRange(new Telerik.Reporting.Group[] { group1, group2, group3 }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection1, this.groupFooterSection1, this.groupHeaderSection2, this.groupFooterSection2, this.groupHeaderSection3, this.groupFooterSection3, this.detailSection1, this.tocSection1, this.pageHeaderSection1 }); this.Name = "ProductCatalog"; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.2D), Telerik.Reporting.Drawing.Unit.Inch(0.2D), Telerik.Reporting.Drawing.Unit.Inch(0.3D), Telerik.Reporting.Drawing.Unit.Inch(0.4D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; textWatermark1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); textWatermark1.Font.Name = "Tahoma"; textWatermark1.Font.Size = Telerik.Reporting.Drawing.Unit.Point(100D); textWatermark1.Opacity = 0.06D; textWatermark1.Orientation = Telerik.Reporting.Drawing.WatermarkOrientation.Vertical; textWatermark1.Position = Telerik.Reporting.Drawing.WatermarkPosition.Front; textWatermark1.Text = "=PageExec(\"textBoxProductCategoryLabel\", First(Fields.ProductCategory))"; this.PageSettings.Watermarks.Add(textWatermark1); reportParameter1.AutoRefresh = true; reportParameter1.AvailableValues.DataSource = this.sqlDataSource2; reportParameter1.AvailableValues.DisplayMember = "Name"; reportParameter1.AvailableValues.ValueMember = "CultureID"; reportParameter1.Name = "CultureID"; reportParameter1.Text = "Language"; reportParameter1.Value = "en"; reportParameter1.Visible = true; this.ReportParameters.Add(reportParameter1); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Header") }); styleRule2.Style.Font.Bold = true; styleRule2.Style.Font.Name = "Segoe UI Light"; styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(25D); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Category") }); styleRule3.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(7)))), ((int)(((byte)(5))))); styleRule3.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; styleRule3.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D); styleRule3.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Point(0.5D); styleRule3.Style.Font.Name = "Segoe UI Light"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(16D); styleRule3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("SubCategory") }); styleRule4.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; styleRule4.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(0.5D); styleRule4.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Point(0.5D); styleRule4.Style.Font.Name = "Segoe UI Light"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); styleRule4.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.GroupHeaderSection)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Panel)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextBox)) }); styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector1 }); styleRule5.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); styleRule5.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; styleRule5.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; styleRule5.Style.Font.Name = "Segoe UI"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); styleRule5.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Inch(0.04D); styleRule5.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.05D); styleRule5.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Inch(0.05D); styleRule5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5 }); this.TocText = "Product Catalog"; this.Width = Telerik.Reporting.Drawing.Unit.Inch(8.1D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup7 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup8 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule2 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule3 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule4 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule5 = new Telerik.Reporting.Drawing.FormattingRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductCatalog)); Telerik.Reporting.TocLevel tocLevel1 = new Telerik.Reporting.TocLevel(); Telerik.Reporting.TocLevel tocLevel2 = new Telerik.Reporting.TocLevel(); Telerik.Reporting.TocLevel tocLevel3 = new Telerik.Reporting.TocLevel(); Telerik.Reporting.Group group1 = new Telerik.Reporting.Group(); Telerik.Reporting.Group group2 = new Telerik.Reporting.Group(); Telerik.Reporting.Group group3 = new Telerik.Reporting.Group(); Telerik.Reporting.Drawing.TextWatermark textWatermark1 = new Telerik.Reporting.Drawing.TextWatermark(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox15 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox19 = new Telerik.Reporting.TextBox(); this.textBox21 = new Telerik.Reporting.TextBox(); this.groupFooterSection1 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection1 = new Telerik.Reporting.GroupHeaderSection(); this.textBoxProductCategoryLabel = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.shape3 = new Telerik.Reporting.Shape(); this.groupFooterSection2 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection2 = new Telerik.Reporting.GroupHeaderSection(); this.textBox4 = new Telerik.Reporting.TextBox(); this.groupFooterSection3 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection3 = new Telerik.Reporting.GroupHeaderSection(); this.panel3 = new Telerik.Reporting.Panel(); this.pictureBox1 = new Telerik.Reporting.PictureBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.table1 = new Telerik.Reporting.Table(); this.textBox16 = new Telerik.Reporting.TextBox(); this.textBox17 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox18 = new Telerik.Reporting.TextBox(); this.textBox20 = new Telerik.Reporting.TextBox(); this.textBox22 = new Telerik.Reporting.TextBox(); this.panel7 = new Telerik.Reporting.Panel(); this.shape1 = new Telerik.Reporting.Shape(); this.textBox10 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.sqlDataSource2 = new Telerik.Reporting.SqlDataSource(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.sqlDataSource1 = new Telerik.Reporting.SqlDataSource(); this.tocSection1 = new Telerik.Reporting.TocSection(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox2 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.95442020893096924D), Telerik.Reporting.Drawing.Unit.Inch(0.27081868052482605D)); this.textBox5.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox5.Value = "Product No."; // // textBox14 // this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.2207286357879639D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D)); this.textBox14.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox14.Value = "Product"; // // textBox15 // this.textBox15.Name = "textBox15"; this.textBox15.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.0693451166152954D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D)); this.textBox15.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox15.Value = "Color"; // // textBox7 // this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.63820755481719971D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D)); this.textBox7.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox7.Value = "Size"; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.63375592231750488D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D)); this.textBox9.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox9.Value = "Weight"; // // textBox19 // this.textBox19.Name = "textBox19"; this.textBox19.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.0724959373474121D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D)); this.textBox19.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox19.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox19.Value = "Dealer"; // // textBox21 // this.textBox21.Name = "textBox21"; this.textBox21.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1005908250808716D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D)); this.textBox21.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox21.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82))))); this.textBox21.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox21.Value = "List Price"; // // groupFooterSection1 // this.groupFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.21875D); this.groupFooterSection1.Name = "groupFooterSection1"; this.groupFooterSection1.Style.Visible = false; // // groupHeaderSection1 // this.groupHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5D); this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxProductCategoryLabel, this.textBox3, this.shape3}); this.groupHeaderSection1.Name = "groupHeaderSection1"; this.groupHeaderSection1.PrintOnEveryPage = true; // // textBoxProductCategoryLabel // this.textBoxProductCategoryLabel.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(0.90000009536743164D)); this.textBoxProductCategoryLabel.Name = "textBoxProductCategoryLabel"; this.textBoxProductCategoryLabel.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999212265014648D), Telerik.Reporting.Drawing.Unit.Inch(0.3999999463558197D)); this.textBoxProductCategoryLabel.StyleName = "Category"; this.textBoxProductCategoryLabel.Value = "=Fields.ProductCategory"; // // textBox3 // this.textBox3.Culture = new System.Globalization.CultureInfo("en"); this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Inch(0.60000002384185791D)); this.textBox3.StyleName = "Header"; this.textBox3.Value = "Product Catalog"; // // shape3 // this.shape3.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Left | Telerik.Reporting.AnchoringStyles.Right))); this.shape3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.60011798143386841D)); this.shape3.Name = "shape3"; this.shape3.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Point(2D)); this.shape3.Stretch = true; this.shape3.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.shape3.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.shape3.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(0.5D); this.shape3.Style.BorderWidth.Top = Telerik.Reporting.Drawing.Unit.Point(1.5D); this.shape3.Style.Color = System.Drawing.Color.Transparent; // // groupFooterSection2 // this.groupFooterSection2.Height = Telerik.Reporting.Drawing.Unit.Inch(0.1979166716337204D); this.groupFooterSection2.Name = "groupFooterSection2"; this.groupFooterSection2.Style.Visible = false; // // groupHeaderSection2 // this.groupHeaderSection2.Height = Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D); this.groupHeaderSection2.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox4}); this.groupHeaderSection2.KeepTogether = false; this.groupHeaderSection2.Name = "groupHeaderSection2"; this.groupHeaderSection2.PrintOnEveryPage = true; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Inch(0.30000010132789612D)); this.textBox4.StyleName = "SubCategory"; this.textBox4.Value = "=Fields.ProductSubCategory"; // // groupFooterSection3 // this.groupFooterSection3.Height = Telerik.Reporting.Drawing.Unit.Inch(0.14999993145465851D); this.groupFooterSection3.Name = "groupFooterSection3"; // // groupHeaderSection3 // this.groupHeaderSection3.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5000003576278687D); this.groupHeaderSection3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.panel3}); this.groupHeaderSection3.Name = "groupHeaderSection3"; this.groupHeaderSection3.PrintOnEveryPage = true; // // panel3 // this.panel3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pictureBox1, this.textBox1, this.table1, this.textBox6}); this.panel3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.19999949634075165D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.panel3.Name = "panel3"; this.panel3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.7000007629394531D), Telerik.Reporting.Drawing.Unit.Inch(1.4530587196350098D)); // // pictureBox1 // this.pictureBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D)); this.pictureBox1.MimeType = ""; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.3372377157211304D), Telerik.Reporting.Drawing.Unit.Inch(0.89988160133361816D)); this.pictureBox1.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional; this.pictureBox1.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.pictureBox1.Style.Color = System.Drawing.Color.White; this.pictureBox1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.pictureBox1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D); this.pictureBox1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(1D); this.pictureBox1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(1D); this.pictureBox1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(1D); this.pictureBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.pictureBox1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.pictureBox1.Value = "=Fields.LargePhoto"; // // textBox1 // this.textBox1.Bindings.Add(new Telerik.Reporting.Binding("Style.Font.Name", "= IIf(Parameters.CultureID.Value = \'zh-cht\', \'Microsoft JhengHei\', IIf(Paramet" + "ers.CultureID.Value = \'th\', \'Microsoft Sans Serif\', \'Segoe UI Light\'))")); this.textBox1.CanShrink = true; this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.2445292472839355D), Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.2999608516693115D), Telerik.Reporting.Drawing.Unit.Inch(0.89988160133361816D)); this.textBox1.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.Font.Name = "Segoe UI Light"; this.textBox1.Value = "=Fields.Description"; // // table1 // this.table1.Bindings.Add(new Telerik.Reporting.Binding("DataSource", "=ReportItem.DataObject")); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.95442020893096924D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(2.220726490020752D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.0693440437316895D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.63820689916610718D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.63375532627105713D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.072495698928833D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.1005908250808716D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D))); this.table1.Body.SetCellContent(0, 0, this.textBox16); this.table1.Body.SetCellContent(0, 1, this.textBox17); this.table1.Body.SetCellContent(0, 3, this.textBox8); this.table1.Body.SetCellContent(0, 4, this.textBox18); this.table1.Body.SetCellContent(0, 5, this.textBox20); this.table1.Body.SetCellContent(0, 6, this.textBox22); this.table1.Body.SetCellContent(0, 2, this.panel7); tableGroup1.Name = "tableGroup1"; tableGroup1.ReportItem = this.textBox5; tableGroup2.Name = "tableGroup2"; tableGroup2.ReportItem = this.textBox14; tableGroup3.Name = "tableGroup3"; tableGroup3.ReportItem = this.textBox15; tableGroup4.Name = "tableGroup4"; tableGroup4.ReportItem = this.textBox7; tableGroup5.Name = "tableGroup5"; tableGroup5.ReportItem = this.textBox9; tableGroup6.Name = "tableGroup6"; tableGroup6.ReportItem = this.textBox19; tableGroup7.Name = "tableGroup7"; tableGroup7.ReportItem = this.textBox21; this.table1.ColumnGroups.Add(tableGroup1); this.table1.ColumnGroups.Add(tableGroup2); this.table1.ColumnGroups.Add(tableGroup3); this.table1.ColumnGroups.Add(tableGroup4); this.table1.ColumnGroups.Add(tableGroup5); this.table1.ColumnGroups.Add(tableGroup6); this.table1.ColumnGroups.Add(tableGroup7); this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox16, this.textBox17, this.panel7, this.textBox8, this.textBox18, this.textBox20, this.textBox22, this.textBox5, this.textBox14, this.textBox15, this.textBox7, this.textBox9, this.textBox19, this.textBox21}); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(9.987076191464439E-05D), Telerik.Reporting.Drawing.Unit.Cm(2.2860004901885986D)); this.table1.Name = "table1"; tableGroup8.Groupings.Add(new Telerik.Reporting.Grouping("")); tableGroup8.Name = "detailGroup"; this.table1.RowGroups.Add(tableGroup8); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.6895394325256348D), Telerik.Reporting.Drawing.Unit.Cm(1.4047684669494629D)); // // textBox16 // this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.95442020893096924D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D)); this.textBox16.Value = "=Fields.ProductNumber"; // // textBox17 // this.textBox17.Name = "textBox17"; this.textBox17.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.220726490020752D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D)); this.textBox17.Value = "=Fields.ProductName"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.63820689916610718D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D)); this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox8.Value = "=IsNull(Fields.Size, \'N/A\')"; // // textBox18 // this.textBox18.Name = "textBox18"; this.textBox18.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.63375532627105713D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D)); this.textBox18.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox18.Value = "=IsNull(Fields.Weight, \'N/A\')"; // // textBox20 // this.textBox20.Format = "{0:C2}"; this.textBox20.Name = "textBox20"; this.textBox20.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.072495698928833D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D)); this.textBox20.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox20.Value = "=ISNULL(Fields.StandardCost, \"Call\")"; // // textBox22 // this.textBox22.Format = "{0:C2}"; this.textBox22.Name = "textBox22"; this.textBox22.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1005908250808716D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D)); this.textBox22.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox22.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox22.Value = "=IsNull(Fields.ListPrice, \'Call\')"; // // panel7 // this.panel7.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.shape1, this.textBox10}); this.panel7.Name = "panel7"; this.panel7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.0693440437316895D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D)); this.panel7.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.panel7.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.panel7.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.panel7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.panel7.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; // // shape1 // formattingRule1.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "red")); formattingRule1.StopIfTrue = true; formattingRule1.Style.BackgroundColor = System.Drawing.Color.Red; formattingRule2.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "blue")); formattingRule2.StopIfTrue = true; formattingRule2.Style.BackgroundColor = System.Drawing.Color.Blue; formattingRule3.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "black")); formattingRule3.StopIfTrue = true; formattingRule3.Style.BackgroundColor = System.Drawing.Color.Black; formattingRule4.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "yellow")); formattingRule4.StopIfTrue = true; formattingRule4.Style.BackgroundColor = System.Drawing.Color.Yellow; formattingRule5.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "silver")); formattingRule5.StopIfTrue = true; formattingRule5.Style.BackgroundColor = System.Drawing.Color.Silver; this.shape1.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1, formattingRule2, formattingRule3, formattingRule4, formattingRule5}); this.shape1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.0793650820851326D), Telerik.Reporting.Drawing.Unit.Cm(0.07025589793920517D)); this.shape1.Name = "shape1"; this.shape1.ShapeType = new Telerik.Reporting.Drawing.Shapes.EllipseShape(0D); this.shape1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.26041331887245178D), Telerik.Reporting.Drawing.Unit.Inch(0.22303469479084015D)); this.shape1.Style.Color = System.Drawing.Color.Transparent; // // textBox10 // this.textBox10.Format = "{0:C2}"; this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.8202979564666748D), Telerik.Reporting.Drawing.Unit.Cm(0.07025589793920517D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(1.6804002523422241D), Telerik.Reporting.Drawing.Unit.Inch(0.25454029440879822D)); this.textBox10.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.textBox10.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox10.Value = "= IsNull(Fields.Color, \'N/A\')"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.4648761749267578D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.0351245403289795D), Telerik.Reporting.Drawing.Unit.Inch(0.30000028014183044D)); this.textBox6.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.textBox6.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox6.StyleName = "SubCategory"; this.textBox6.Value = "=Fields.ProductModel"; // // sqlDataSource2 // this.sqlDataSource2.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.sqlDataSource2.Name = "sqlDataSource2"; this.sqlDataSource2.SelectCommand = "SELECT RTRIM(CultureID) AS CultureID, Name FROM Production.Culture WHERE (NOT (RT" + "RIM(CultureID) IN (\'es\', \'\')))"; // // detailSection1 // this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.13208325207233429D); this.detailSection1.Name = "detailSection1"; this.detailSection1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.detailSection1.Style.BorderWidth.Left = Telerik.Reporting.Drawing.Unit.Point(3D); this.detailSection1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.detailSection1.Style.Visible = false; // // sqlDataSource1 // this.sqlDataSource1.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.sqlDataSource1.Name = "sqlDataSource1"; this.sqlDataSource1.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@cultureID", System.Data.DbType.String, "=Parameters(\'CultureID\').Value")}); this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand"); // // tocSection1 // this.tocSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5D); this.tocSection1.KeepTogether = false; tocLevel1.LeaderSymbol = '\0'; tocLevel1.Name = "Level1"; tocLevel1.Style.Font.Bold = true; tocLevel1.Style.Font.Name = "Segoe UI Light"; tocLevel1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(16D); tocLevel1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(5D); tocLevel1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); tocLevel1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); tocLevel1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(5D); tocLevel2.Name = "Level2"; tocLevel2.Style.Font.Name = "Segoe UI Light"; tocLevel2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); tocLevel2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D); tocLevel2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(32D); tocLevel2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); tocLevel2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(1D); tocLevel3.Name = "Level3"; tocLevel3.Style.Font.Name = "Segoe UI Light"; tocLevel3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); tocLevel3.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D); tocLevel3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(52D); tocLevel3.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); tocLevel3.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(1D); this.tocSection1.Levels.Add(tocLevel1); this.tocSection1.Levels.Add(tocLevel2); this.tocSection1.Levels.Add(tocLevel3); this.tocSection1.Name = "tocSection1"; this.tocSection1.PageBreak = Telerik.Reporting.PageBreak.After; this.tocSection1.Title = "Table of Contents"; this.tocSection1.TitleStyle.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.tocSection1.TitleStyle.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.tocSection1.TitleStyle.Font.Bold = true; this.tocSection1.TitleStyle.Font.Name = "Segoe UI Light"; this.tocSection1.TitleStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(25D); this.tocSection1.TitleStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(10D); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox2}); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.2000002861022949D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.8999993801116943D), Telerik.Reporting.Drawing.Unit.Inch(0.19996063411235809D)); this.textBox2.Style.Font.Name = "Segoe UI Light"; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox2.Value = "= PageExec(\'group1\', Fields.ProductCategory) + \', page \' + PageNumber(\'group1\', F" + "ields.ProductCategory) + \' of \' + PageCount(\'group1\', Fields.ProductCategory)"; // // ProductCatalog // this.Bindings.Add(new Telerik.Reporting.Binding("Culture", "=Parameters.CultureID.Value")); this.DataSource = this.sqlDataSource1; this.DocumentName = "=\'ProductCatalog.\' + Parameters.CultureID.Value"; group1.DocumentMapText = "=Fields.ProductCategory"; group1.GroupFooter = this.groupFooterSection1; group1.GroupHeader = this.groupHeaderSection1; group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductCategory")); group1.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.All; group1.Name = "group1"; group1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductCategory", Telerik.Reporting.SortDirection.Asc)); group1.TocText = "=Fields.ProductCategory"; group2.DocumentMapText = "=Fields.ProductSubCategory"; group2.GroupFooter = this.groupFooterSection2; group2.GroupHeader = this.groupHeaderSection2; group2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductSubCategory")); group2.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.FirstDetail; group2.Name = "group2"; group2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductSubCategory", Telerik.Reporting.SortDirection.Asc)); group2.TocText = "=Fields.ProductSubCategory"; group3.DocumentMapText = "=Fields.ProductModel"; group3.GroupFooter = this.groupFooterSection3; group3.GroupHeader = this.groupHeaderSection3; group3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductModel")); group3.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.FirstDetail; group3.Name = "group3"; group3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductModel", Telerik.Reporting.SortDirection.Asc)); this.Groups.AddRange(new Telerik.Reporting.Group[] { group1, group2, group3}); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection1, this.groupFooterSection1, this.groupHeaderSection2, this.groupFooterSection2, this.groupHeaderSection3, this.groupFooterSection3, this.detailSection1, this.tocSection1, this.pageHeaderSection1}); this.Name = "ProductCatalog"; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D), Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; textWatermark1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); textWatermark1.Font.Name = "Tahoma"; textWatermark1.Font.Size = Telerik.Reporting.Drawing.Unit.Point(100D); textWatermark1.Opacity = 0.06D; textWatermark1.Orientation = Telerik.Reporting.Drawing.WatermarkOrientation.Vertical; textWatermark1.Position = Telerik.Reporting.Drawing.WatermarkPosition.Front; textWatermark1.Text = "=PageExec(\"textBoxProductCategoryLabel\", First(Fields.ProductCategory))"; this.PageSettings.Watermarks.Add(textWatermark1); reportParameter1.AutoRefresh = true; reportParameter1.AvailableValues.DataSource = this.sqlDataSource2; reportParameter1.AvailableValues.DisplayMember = "Name"; reportParameter1.AvailableValues.ValueMember = "CultureID"; reportParameter1.Name = "CultureID"; reportParameter1.Text = "Language"; reportParameter1.Value = "en"; reportParameter1.Visible = true; this.ReportParameters.Add(reportParameter1); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox))}); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Header")}); styleRule2.Style.Font.Bold = true; styleRule2.Style.Font.Name = "Segoe UI Light"; styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(25D); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Category")}); styleRule3.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(7)))), ((int)(((byte)(5))))); styleRule3.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; styleRule3.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D); styleRule3.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Point(0.5D); styleRule3.Style.Font.Name = "Segoe UI Light"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(16D); styleRule3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("SubCategory")}); styleRule4.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; styleRule4.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(0.5D); styleRule4.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Point(0.5D); styleRule4.Style.Font.Name = "Segoe UI Light"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); styleRule4.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D); descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.GroupHeaderSection)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Panel)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextBox))}); styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector1}); styleRule5.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); styleRule5.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; styleRule5.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; styleRule5.Style.Font.Name = "Segoe UI"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); styleRule5.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Inch(0.039999999105930328D); styleRule5.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.05000000074505806D); styleRule5.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Inch(0.05000000074505806D); styleRule5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5}); this.TocText = "Product Catalog"; this.Width = Telerik.Reporting.Drawing.Unit.Inch(8.09999942779541D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }