/// <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.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeSalesSummary)); Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale1 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette2 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle2 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.CategoryScale categoryScale2 = new Telerik.Reporting.CategoryScale(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.Drawing.ColorPalette colorPalette3 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); 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.TableGroup tableGroup9 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup10 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup11 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup12 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.Group group1 = new Telerik.Reporting.Group(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = 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.textBoxTableTitle = new Telerik.Reporting.TextBox(); this.textBoxCategoryAmount = new Telerik.Reporting.TextBox(); this.textBoxCategory = new Telerik.Reporting.TextBox(); this.textBoxSalesOrderNumber = new Telerik.Reporting.TextBox(); this.textBoxOrderTotal = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBoxEmployeeSalesTotal = new Telerik.Reporting.TextBox(); this.textBoxTotalLabel = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.groupFooterSection1 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection1 = new Telerik.Reporting.GroupHeaderSection(); this.textBoxLogo = new Telerik.Reporting.TextBox(); this.textBoxDataRange = new Telerik.Reporting.TextBox(); this.textBoxReportEmployee = new Telerik.Reporting.TextBox(); this.shape3 = new Telerik.Reporting.Shape(); this.Employees = new Telerik.Reporting.SqlDataSource(); this.detail = new Telerik.Reporting.DetailSection(); this.panelWrapper = new Telerik.Reporting.Panel(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.mainDataSource = new Telerik.Reporting.SqlDataSource(); this.lineSeries1 = new Telerik.Reporting.AreaSeries(); this.graph2 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem3 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis6 = new Telerik.Reporting.GraphAxis(); this.graphAxis5 = new Telerik.Reporting.GraphAxis(); this.barSeries1 = new Telerik.Reporting.BarSeries(); this.crosstabEmployeeSales = new Telerik.Reporting.Crosstab(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBoxTableTitle // this.textBoxTableTitle.Name = "textBoxTableTitle"; this.textBoxTableTitle.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0799999237060547D), Telerik.Reporting.Drawing.Unit.Inch(0.47999998927116394D)); this.textBoxTableTitle.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTableTitle.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(16D); this.textBoxTableTitle.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Inch(0.079999998211860657D); this.textBoxTableTitle.Value = "{Parameters.ReportDate.Value.ToString(\"MMMM yyyy\")} Order Summary"; // // textBoxCategoryAmount // this.textBoxCategoryAmount.Format = "{0:N2}"; this.textBoxCategoryAmount.Name = "textBoxCategoryAmount"; this.textBoxCategoryAmount.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.75D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxCategoryAmount.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxCategoryAmount.Value = "=Sum(Fields.LineTotal)"; // // textBoxCategory // this.textBoxCategory.Name = "textBoxCategory"; this.textBoxCategory.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.130000114440918D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxCategory.Value = "=Fields.Category"; // // textBoxSalesOrderNumber // typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "=Fields.SalesOrderNumber")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("ForYear", "=Parameters.ReportDate.Value.Year")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("ForMonth", "=Parameters.ReportDate.Value.Month")); typeReportSource1.TypeName = "Telerik.Reporting.Examples.CSharp.Invoice, CSharp.ReportLibrary, Version=1.0.0.0," + " Culture=neutral, PublicKeyToken=null"; navigateToReportAction1.ReportSource = typeReportSource1; this.textBoxSalesOrderNumber.Action = navigateToReportAction1; this.textBoxSalesOrderNumber.Name = "textBoxSalesOrderNumber"; this.textBoxSalesOrderNumber.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2100000381469727D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxSalesOrderNumber.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(105)))), ((int)(((byte)(104))))); this.textBoxSalesOrderNumber.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.05000000074505806D); this.textBoxSalesOrderNumber.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; this.textBoxSalesOrderNumber.Value = "=Fields.SalesOrderNumber"; // // textBoxOrderTotal // this.textBoxOrderTotal.Format = "{0:N2}"; this.textBoxOrderTotal.Name = "textBoxOrderTotal"; this.textBoxOrderTotal.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.75D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxOrderTotal.Style.BorderColor.Default = System.Drawing.Color.Black; this.textBoxOrderTotal.Style.BorderColor.Top = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.textBoxOrderTotal.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxOrderTotal.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxOrderTotal.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxOrderTotal.Value = "=Sum(Fields.LineTotal)"; // // textBox4 // this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.130000114440918D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBox4.Style.BorderColor.Default = System.Drawing.Color.Black; this.textBox4.Style.BorderColor.Top = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.textBox4.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; // // textBox12 // this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2100000381469727D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBox12.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; // // textBoxEmployeeSalesTotal // this.textBoxEmployeeSalesTotal.Format = "{0:N2}"; this.textBoxEmployeeSalesTotal.Name = "textBoxEmployeeSalesTotal"; this.textBoxEmployeeSalesTotal.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.75D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxEmployeeSalesTotal.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxEmployeeSalesTotal.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.textBoxEmployeeSalesTotal.Style.Font.Bold = true; this.textBoxEmployeeSalesTotal.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxEmployeeSalesTotal.Value = "=Sum(Fields.LineTotal)"; // // textBoxTotalLabel // this.textBoxTotalLabel.Name = "textBoxTotalLabel"; this.textBoxTotalLabel.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.130000114440918D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBoxTotalLabel.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxTotalLabel.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.textBoxTotalLabel.Value = "Total:"; // // textBox10 // this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2100000381469727D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); this.textBox10.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox10.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); // // groupFooterSection1 // this.groupFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.1272023469209671D); this.groupFooterSection1.Name = "groupFooterSection1"; this.groupFooterSection1.Style.Visible = false; // // groupHeaderSection1 // this.groupHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBoxLogo, this.textBoxDataRange, this.textBoxReportEmployee, this.shape3 }); this.groupHeaderSection1.Name = "groupHeaderSection1"; this.groupHeaderSection1.PrintOnEveryPage = true; // // textBoxLogo // this.textBoxLogo.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.textBoxLogo.Name = "textBoxLogo"; this.textBoxLogo.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.1972219944000244D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.textBoxLogo.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(47)))), ((int)(((byte)(11))))); this.textBoxLogo.Style.Font.Bold = true; this.textBoxLogo.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBoxLogo.Value = "SALES REPORT"; // // textBoxDataRange // this.textBoxDataRange.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.6000003814697266D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBoxDataRange.Name = "textBoxDataRange"; this.textBoxDataRange.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.4999597072601318D), Telerik.Reporting.Drawing.Unit.Inch(0.19837446510791779D)); this.textBoxDataRange.Style.Font.Bold = true; this.textBoxDataRange.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBoxDataRange.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxDataRange.Value = "=Parameters.ReportDate.Value.ToString(\'MMM yyyy\')"; // // textBoxReportEmployee // this.textBoxReportEmployee.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.20011806488037109D)); this.textBoxReportEmployee.Name = "textBoxReportEmployee"; this.textBoxReportEmployee.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Inch(0.60000002384185791D)); this.textBoxReportEmployee.StyleName = "Header"; this.textBoxReportEmployee.Value = "=Parameters.Employee.Label"; // // 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.80019682645797729D)); 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; // // Employees // this.Employees.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.Employees.Name = "Employees"; this.Employees.SelectCommand = resources.GetString("Employees.SelectCommand"); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(6.8000006675720215D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.panelWrapper }); this.detail.KeepTogether = false; this.detail.Name = "detail"; // // panelWrapper // this.panelWrapper.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph1, this.graph2, this.crosstabEmployeeSales }); this.panelWrapper.KeepTogether = false; this.panelWrapper.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9378803194267675E-05D), Telerik.Reporting.Drawing.Unit.Inch(7.8678131103515625E-05D)); this.panelWrapper.Name = "panelWrapper"; this.panelWrapper.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1000394821167D), Telerik.Reporting.Drawing.Unit.Inch(6.79992151260376D)); // // graph1 // graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Month")); graphGroup1.Label = "= Fields.OrderDate.ToString(\"MMMM\")"; graphGroup1.Name = "orderDate.MonthGroup1"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Month", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(172)))), ((int)(((byte)(198)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(106)))), ((int)(((byte)(124)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); this.graph1.ColorPalette = colorPalette1; this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem1); this.graph1.DataSource = this.mainDataSource; this.graph1.Legend.Position = Telerik.Reporting.GraphItemPosition.RightCenter; this.graph1.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph1.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9458274841308594E-05D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.graph1.Name = "graph1"; this.graph1.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph1.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph1.Series.Add(this.lineSeries1); this.graph1.SeriesGroups.Add(graphGroup2); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1000003814697266D), Telerik.Reporting.Drawing.Unit.Inch(2.4000000953674316D)); this.graph1.Style.Font.Name = "Segoe UI"; this.graph1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); graphTitle1.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); graphTitle1.Style.LineColor = System.Drawing.Color.LightGray; graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle1.Text = "Yearly Sales Comparison"; this.graph1.Titles.Add(graphTitle1); // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis2; this.cartesianCoordinateSystem1.YAxis = this.graphAxis1; // // graphAxis2 // this.graphAxis2.LabelAngle = -90; this.graphAxis2.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MajorGridLineStyle.Visible = true; this.graphAxis2.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; this.graphAxis2.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MinorGridLineStyle.Visible = false; this.graphAxis2.Name = "graphAxis2"; this.graphAxis2.Scale = categoryScale1; this.graphAxis2.Style.Font.Name = "Segoe UI"; this.graphAxis2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.graphAxis2.Style.Visible = true; // // graphAxis1 // this.graphAxis1.LabelFormat = "{0:C0}K"; this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis1.MajorGridLineStyle.Visible = true; this.graphAxis1.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; this.graphAxis1.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis1.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis1.MinorGridLineStyle.Visible = false; this.graphAxis1.Name = "graphAxis1"; this.graphAxis1.Scale = numericalScale1; this.graphAxis1.Style.Font.Name = "Segoe UI"; this.graphAxis1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.graphAxis1.Style.Visible = true; // // mainDataSource // this.mainDataSource.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.mainDataSource.Name = "mainDataSource"; this.mainDataSource.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@ReportYear", System.Data.DbType.String, null), new Telerik.Reporting.SqlDataSourceParameter("@ReportMonth", System.Data.DbType.String, null), new Telerik.Reporting.SqlDataSourceParameter("@EmployeeID", System.Data.DbType.Int32, "=Parameters.Employee.Value") }); this.mainDataSource.SelectCommand = resources.GetString("mainDataSource.SelectCommand"); // // lineSeries1 // this.lineSeries1.AreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeries1.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked; this.lineSeries1.CategoryGroup = graphGroup1; this.lineSeries1.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeries1.DataPointLabel = "=Sum(Fields.LineTotal)"; this.lineSeries1.DataPointLabelStyle.Visible = false; this.lineSeries1.DataPointStyle.Visible = false; this.lineSeries1.LegendItem.Value = "=Fields.OrderDate.Year"; this.lineSeries1.MarkerSize = Telerik.Reporting.Drawing.Unit.Mm(2D); this.lineSeries1.Name = "lineSeries1"; graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Year")); graphGroup2.Name = "orderDate.YearGroup1"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Year", Telerik.Reporting.SortDirection.Asc)); this.lineSeries1.SeriesGroup = graphGroup2; this.lineSeries1.Y = "=ISNULL(Sum(Fields.LineTotal), 0) / 1000.0"; // // graph2 // graphGroup3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Category")); graphGroup3.Name = "categoryGroup1"; graphGroup3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Category", Telerik.Reporting.SortDirection.Asc)); this.graph2.CategoryGroups.Add(graphGroup3); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(172)))), ((int)(((byte)(198)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(106)))), ((int)(((byte)(124)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); this.graph2.ColorPalette = colorPalette2; this.graph2.CoordinateSystems.Add(this.cartesianCoordinateSystem3); this.graph2.DataSource = this.mainDataSource; this.graph2.Legend.IsInsidePlotArea = false; this.graph2.Legend.Position = Telerik.Reporting.GraphItemPosition.RightCenter; this.graph2.Legend.Style.Font.Name = "Segoe UI"; this.graph2.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph2.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(2.5999214649200439D)); this.graph2.Name = "graph2"; this.graph2.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph2.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph2.Series.Add(this.barSeries1); this.graph2.SeriesGroups.Add(graphGroup4); this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1000003814697266D), Telerik.Reporting.Drawing.Unit.Inch(2.4000000953674316D)); this.graph2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); graphTitle2.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle2.Style.Font.Name = "Segoe UI"; graphTitle2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); graphTitle2.Style.LineColor = System.Drawing.Color.LightGray; graphTitle2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle2.Text = "Category Sales Comparison"; this.graph2.Titles.Add(graphTitle2); // // cartesianCoordinateSystem3 // this.cartesianCoordinateSystem3.Name = "cartesianCoordinateSystem3"; this.cartesianCoordinateSystem3.XAxis = this.graphAxis6; this.cartesianCoordinateSystem3.YAxis = this.graphAxis5; // // graphAxis6 // this.graphAxis6.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis6.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis6.MajorGridLineStyle.Visible = false; this.graphAxis6.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; this.graphAxis6.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis6.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis6.MinorGridLineStyle.Visible = false; this.graphAxis6.Name = "graphAxis6"; this.graphAxis6.Scale = categoryScale2; this.graphAxis6.Style.Font.Name = "Segoe UI"; this.graphAxis6.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); // // graphAxis5 // this.graphAxis5.LabelFormat = "{0:C0}K"; this.graphAxis5.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis5.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis5.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.None; this.graphAxis5.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis5.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis5.MinorGridLineStyle.Visible = false; this.graphAxis5.Name = "graphAxis5"; this.graphAxis5.Scale = numericalScale2; this.graphAxis5.Style.Font.Name = "Segoe UI"; this.graphAxis5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); // // barSeries1 // this.barSeries1.CategoryGroup = graphGroup3; colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(150)))), ((int)(((byte)(70)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(172)))), ((int)(((byte)(198)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(100)))), ((int)(((byte)(162)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(87)))), ((int)(((byte)(8)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(106)))), ((int)(((byte)(124)))))); colorPalette3.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(59)))), ((int)(((byte)(98)))))); this.barSeries1.ColorPalette = colorPalette3; this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem3; this.barSeries1.DataPointLabel = "=Sum(Fields.LineTotal)"; this.barSeries1.DataPointLabelStyle.Visible = false; this.barSeries1.DataPointStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.barSeries1.DataPointStyle.Visible = true; this.barSeries1.LegendItem.Value = "=Fields.OrderDate.Year"; graphGroup4.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.OrderDate.Year")); graphGroup4.Name = "orderDate.YearGroup2"; graphGroup4.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.OrderDate.Year", Telerik.Reporting.SortDirection.Asc)); this.barSeries1.SeriesGroup = graphGroup4; this.barSeries1.Y = "=Sum(Fields.LineTotal) / 1000.0"; // // crosstabEmployeeSales // this.crosstabEmployeeSales.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0D))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.48000001907348633D))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.24000000953674316D))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.24000000953674316D))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.24000000953674316D))); this.crosstabEmployeeSales.Body.SetCellContent(1, 0, this.textBox6); this.crosstabEmployeeSales.Body.SetCellContent(0, 0, this.textBox5); this.crosstabEmployeeSales.Body.SetCellContent(2, 0, this.textBox9); this.crosstabEmployeeSales.Body.SetCellContent(3, 0, this.textBox13); this.crosstabEmployeeSales.ColumnGroups.Add(tableGroup1); this.crosstabEmployeeSales.DataSource = this.mainDataSource; this.crosstabEmployeeSales.Filters.Add(new Telerik.Reporting.Filter("= Fields.OrderDate.Year", Telerik.Reporting.FilterOperator.Equal, "=Parameters.ReportDate.Value.Year")); this.crosstabEmployeeSales.Filters.Add(new Telerik.Reporting.Filter("= Fields.OrderDate.Month", Telerik.Reporting.FilterOperator.Equal, "=Parameters.ReportDate.Value.Month")); this.crosstabEmployeeSales.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox6, this.textBox5, this.textBox9, this.textBox13, this.textBoxTableTitle, this.textBoxSalesOrderNumber, this.textBoxCategory, this.textBoxCategoryAmount, this.textBox12, this.textBox4, this.textBoxOrderTotal, this.textBox10, this.textBoxTotalLabel, this.textBoxEmployeeSalesTotal }); this.crosstabEmployeeSales.KeepTogether = false; this.crosstabEmployeeSales.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(5.4999213218688965D)); this.crosstabEmployeeSales.Name = "crosstabEmployeeSales"; this.crosstabEmployeeSales.NoDataMessage = "= \"No Sales for \" + Parameters.ReportDate.Value.ToString(\"MMMM, yyyy\")"; this.crosstabEmployeeSales.NoDataStyle.Color = System.Drawing.Color.Red; tableGroup2.Name = "RowGroup"; tableGroup2.ReportItem = this.textBoxTableTitle; tableGroup2.Sortings.Add(new Telerik.Reporting.Sorting("1", Telerik.Reporting.SortDirection.Asc)); tableGroup6.Name = "Detail"; tableGroup6.ReportItem = this.textBoxCategoryAmount; tableGroup5.ChildGroups.Add(tableGroup6); tableGroup5.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Category")); tableGroup5.Name = "Category"; tableGroup5.ReportItem = this.textBoxCategory; tableGroup5.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Category", Telerik.Reporting.SortDirection.Asc)); tableGroup4.ChildGroups.Add(tableGroup5); tableGroup4.Name = "Group6"; tableGroup4.ReportItem = this.textBoxSalesOrderNumber; tableGroup9.Name = "Group2"; tableGroup9.ReportItem = this.textBoxOrderTotal; tableGroup8.ChildGroups.Add(tableGroup9); tableGroup8.Name = "Group1"; tableGroup8.ReportItem = this.textBox4; tableGroup7.ChildGroups.Add(tableGroup8); tableGroup7.Name = "Group7"; tableGroup7.ReportItem = this.textBox12; tableGroup3.ChildGroups.Add(tableGroup4); tableGroup3.ChildGroups.Add(tableGroup7); tableGroup3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.SalesOrderID")); tableGroup3.Name = "SalesOrder"; tableGroup3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.SalesOrderNumber", Telerik.Reporting.SortDirection.Asc)); tableGroup12.Name = "Group4"; tableGroup12.ReportItem = this.textBoxEmployeeSalesTotal; tableGroup11.ChildGroups.Add(tableGroup12); tableGroup11.Name = "Group5"; tableGroup11.ReportItem = this.textBoxTotalLabel; tableGroup10.ChildGroups.Add(tableGroup11); tableGroup10.Name = "Group3"; tableGroup10.ReportItem = this.textBox10; this.crosstabEmployeeSales.RowGroups.Add(tableGroup2); this.crosstabEmployeeSales.RowGroups.Add(tableGroup3); this.crosstabEmployeeSales.RowGroups.Add(tableGroup10); this.crosstabEmployeeSales.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.09000015258789D), Telerik.Reporting.Drawing.Unit.Inch(1.2000000476837158D)); this.crosstabEmployeeSales.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.47999998927116394D)); this.textBox5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.None; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); // // textBox13 // this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.23999999463558197D)); // // EmployeeSalesSummary // group1.GroupFooter = this.groupFooterSection1; group1.GroupHeader = this.groupHeaderSection1; group1.Groupings.Add(new Telerik.Reporting.Grouping("")); group1.Name = "group1"; this.Groups.AddRange(new Telerik.Reporting.Group[] { group1 }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection1, this.groupFooterSection1, this.detail }); this.Name = "EmployeeSalesSummary"; 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; reportParameter1.AutoRefresh = true; reportParameter1.Name = "ReportDate"; reportParameter1.Text = "Report Date"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter1.Value = "=#2003-07-01#"; reportParameter1.Visible = true; reportParameter2.AutoRefresh = true; reportParameter2.AvailableValues.DataSource = this.Employees; reportParameter2.AvailableValues.DisplayMember = "= Fields.Employee"; reportParameter2.AvailableValues.ValueMember = "= Fields.SalesPersonID"; reportParameter2.Name = "Employee"; reportParameter2.Text = "Employee"; reportParameter2.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter2.Value = "=283"; reportParameter2.Visible = true; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); 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); styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Category") }); 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); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextBox)) }); styleRule4.Style.Font.Name = "Segoe UI"; styleRule4.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Inch(0D); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(8.09999942779541D); ((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.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() { Telerik.Reporting.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReportCatalog)); Telerik.Reporting.NavigateToReportAction navigateToReportAction2 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.NavigateToReportAction navigateToReportAction3 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.NavigateToReportAction navigateToReportAction4 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); this.detail = new Telerik.Reporting.DetailSection(); this.panel1 = new Telerik.Reporting.Panel(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.panel2 = new Telerik.Reporting.Panel(); this.pictureBox1 = new Telerik.Reporting.PictureBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.panel3 = new Telerik.Reporting.Panel(); this.pictureBox2 = new Telerik.Reporting.PictureBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.panel4 = new Telerik.Reporting.Panel(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detail // this.detail.ColumnCount = 3; this.detail.ColumnSpacing = new Telerik.Reporting.Drawing.Unit(0.60000002384185791D, Telerik.Reporting.Drawing.UnitType.Cm); this.detail.Height = new Telerik.Reporting.Drawing.Unit(7.8739991188049316D, Telerik.Reporting.Drawing.UnitType.Cm); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.panel1, this.panel2, this.panel3, this.panel4}); this.detail.Name = "detail"; // // panel1 // this.panel1.Anchoring = ((Telerik.Reporting.AnchoringStyles)((((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Bottom) | Telerik.Reporting.AnchoringStyles.Left) | Telerik.Reporting.AnchoringStyles.Right))); this.panel1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1, this.textBox2}); this.panel1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.20000000298023224D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.19999989867210388D, Telerik.Reporting.Drawing.UnitType.Cm)); this.panel1.Name = "panel1"; this.panel1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(8.7999992370605469D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(2.3399999141693115D, Telerik.Reporting.Drawing.UnitType.Cm)); this.panel1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); this.panel1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(174)))), ((int)(((byte)(174)))), ((int)(((byte)(174))))); this.panel1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; // // textBox1 // this.textBox1.Anchoring = ((Telerik.Reporting.AnchoringStyles)(((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Left) | Telerik.Reporting.AnchoringStyles.Right))); this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.20000000298023224D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.19999989867210388D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(8.3600988388061523D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.800000011920929D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(16D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox1.Value = "Members"; // // textBox2 // this.textBox2.Anchoring = ((Telerik.Reporting.AnchoringStyles)((((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Bottom) | Telerik.Reporting.AnchoringStyles.Left) | Telerik.Reporting.AnchoringStyles.Right))); this.textBox2.CanGrow = false; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.19999989867210388D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.0002001523971558D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(8.3600978851318359D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.1397995948791504D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox2.Style.Font.Italic = false; this.textBox2.Style.Font.Name = "Arial"; this.textBox2.Value = "Get a report about members"; // // panel2 // navigateToReportAction1.ReportDocumentType = "= Fields.ReportType.AssemblyQualifiedName"; this.panel2.Action = navigateToReportAction1; this.panel2.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Bottom | Telerik.Reporting.AnchoringStyles.Left))); this.panel2.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pictureBox1, this.textBox3}); this.panel2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.078740157186985016D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.1000000238418579D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel2.Name = "panel2"; this.panel2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.7999999523162842D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.70000004768371582D, Telerik.Reporting.Drawing.UnitType.Cm)); // // pictureBox1 // this.pictureBox1.MimeType = "image/png"; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.70000022649765015D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.70000004768371582D, Telerik.Reporting.Drawing.UnitType.Cm)); this.pictureBox1.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.Center; this.pictureBox1.Value = ((object)(resources.GetObject("pictureBox1.Value"))); // // textBox3 // navigateToReportAction2.ReportDocumentType = "ReportLibrary.ReportCatalog.Members_Report, ReportLibrary, Version=1.0.0.0, Cultu" + "re=neutral, PublicKeyToken=null"; this.textBox3.Action = navigateToReportAction2; this.textBox3.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.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.0999996662139893D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.70000004768371582D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox3.StyleName = "Hyperlink"; this.textBox3.Value = "View Report"; // // panel3 // navigateToReportAction3.ReportDocumentType = "= Fields.ReportType.AssemblyQualifiedName"; this.panel3.Action = navigateToReportAction3; this.panel3.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Bottom | Telerik.Reporting.AnchoringStyles.Left))); this.panel3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pictureBox2, this.textBox4}); this.panel3.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.0787399634718895D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.6000001430511475D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel3.Name = "panel3"; this.panel3.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.7999999523162842D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.70000004768371582D, Telerik.Reporting.Drawing.UnitType.Cm)); // // pictureBox2 // this.pictureBox2.MimeType = "image/png"; this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.70000022649765015D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.70000004768371582D, Telerik.Reporting.Drawing.UnitType.Cm)); this.pictureBox2.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.Center; this.pictureBox2.Value = ((object)(resources.GetObject("pictureBox2.Value"))); // // textBox4 // navigateToReportAction4.ReportDocumentType = "ReportLibrary.ReportCatalog.Visitor_Report, ReportLibrary, Version=1.0.0.0, Cultu" + "re=neutral, PublicKeyToken=null"; this.textBox4.Action = navigateToReportAction4; this.textBox4.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.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.0999996662139893D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.70000004768371582D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox4.StyleName = "Hyperlink"; this.textBox4.Value = "View Report"; // // panel4 // this.panel4.Anchoring = ((Telerik.Reporting.AnchoringStyles)((((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Bottom) | Telerik.Reporting.AnchoringStyles.Left) | Telerik.Reporting.AnchoringStyles.Right))); this.panel4.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox5, this.textBox6}); this.panel4.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.19999949634075165D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(4.0110836029052734D, Telerik.Reporting.Drawing.UnitType.Cm)); this.panel4.Name = "panel4"; this.panel4.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(8.7999992370605469D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(2.3399999141693115D, Telerik.Reporting.Drawing.UnitType.Cm)); this.panel4.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); this.panel4.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(174)))), ((int)(((byte)(174)))), ((int)(((byte)(174))))); this.panel4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; // // textBox5 // this.textBox5.Anchoring = ((Telerik.Reporting.AnchoringStyles)(((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Left) | Telerik.Reporting.AnchoringStyles.Right))); this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.20000000298023224D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.19999989867210388D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(8.3600988388061523D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.800000011920929D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox5.Style.Font.Bold = true; this.textBox5.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(16D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox5.Value = "Visitor Cards"; // // textBox6 // this.textBox6.Anchoring = ((Telerik.Reporting.AnchoringStyles)((((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Bottom) | Telerik.Reporting.AnchoringStyles.Left) | Telerik.Reporting.AnchoringStyles.Right))); this.textBox6.CanGrow = false; this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.19999989867210388D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.0002001523971558D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(8.3600978851318359D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.1397995948791504D, Telerik.Reporting.Drawing.UnitType.Cm)); this.textBox6.Style.Font.Italic = false; this.textBox6.Style.Font.Name = "Arial"; this.textBox6.Value = "Get a report about visitor cards"; // // ReportCatalog // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.PageSettings.Landscape = true; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Cm); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4; this.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(173)))), ((int)(((byte)(1))))); this.Style.Font.Name = "Trebuchet MS"; styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Hyperlink")}); styleRule1.Style.Font.Name = "Arial"; styleRule1.Style.Font.Underline = true; styleRule1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1}); this.Width = new Telerik.Reporting.Drawing.Unit(7D, 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() { Telerik.Reporting.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeSalesSummary)); 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.TableGroup tableGroup9 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup10 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup11 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup12 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.Charting.Styles.ChartMargins chartMargins1 = new Telerik.Reporting.Charting.Styles.ChartMargins(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem1 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem2 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem3 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem4 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem5 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem6 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem7 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartSeries chartSeries1 = new Telerik.Reporting.Charting.ChartSeries(); Telerik.Reporting.Charting.ChartSeries chartSeries2 = new Telerik.Reporting.Charting.ChartSeries(); Telerik.Reporting.Charting.ChartSeries chartSeries3 = new Telerik.Reporting.Charting.ChartSeries(); Telerik.Reporting.Charting.ChartSeries chartSeries4 = new Telerik.Reporting.Charting.ChartSeries(); Telerik.Reporting.Charting.Styles.ChartMargins chartMargins2 = new Telerik.Reporting.Charting.Styles.ChartMargins(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem8 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem9 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem10 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem11 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem12 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem13 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartAxisItem chartAxisItem14 = new Telerik.Reporting.Charting.ChartAxisItem(); Telerik.Reporting.Charting.ChartSeries chartSeries5 = new Telerik.Reporting.Charting.ChartSeries(); Telerik.Reporting.Charting.ChartSeries chartSeries6 = new Telerik.Reporting.Charting.ChartSeries(); Telerik.Reporting.Charting.ChartSeries chartSeries7 = new Telerik.Reporting.Charting.ChartSeries(); Telerik.Reporting.Charting.ChartSeries chartSeries8 = new Telerik.Reporting.Charting.ChartSeries(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = new Telerik.Reporting.ReportParameter(); this.textBoxTableTitle = new Telerik.Reporting.TextBox(); this.textBoxCategoryAmount = new Telerik.Reporting.TextBox(); this.textBoxCategory = new Telerik.Reporting.TextBox(); this.textBoxSalesOrderNumber = new Telerik.Reporting.TextBox(); this.textBoxOrderTotal = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBoxEmployeeSalesTotal = new Telerik.Reporting.TextBox(); this.textBoxTotalLabel = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.SalesEmployees = new Telerik.Reporting.SqlDataSource(); this.detail = new Telerik.Reporting.DetailSection(); this.crosstabEmployeeSales = new Telerik.Reporting.Crosstab(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); this.EmployeeSales = new Telerik.Reporting.SqlDataSource(); this.panelWrapper = new Telerik.Reporting.Panel(); this.chartYearlySales = new Telerik.Reporting.Chart(); this.EmployeeSalesYearOverYear = new Telerik.Reporting.SqlDataSource(); this.chartMonthlySales = new Telerik.Reporting.Chart(); this.EmployeeCategorySales = new Telerik.Reporting.SqlDataSource(); this.group1 = new Telerik.Reporting.Group(); this.groupFooterSection1 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection1 = new Telerik.Reporting.GroupHeaderSection(); this.pictureBoxLogo = new Telerik.Reporting.PictureBox(); this.textBoxLogo = new Telerik.Reporting.TextBox(); this.textBoxDataRange = new Telerik.Reporting.TextBox(); this.textBoxReportEmployee = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBoxTableTitle // this.textBoxTableTitle.Name = "textBoxTableTitle"; this.textBoxTableTitle.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.8972222805023193D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23702292144298554D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxTableTitle.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.textBoxTableTitle.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.textBoxTableTitle.Style.Color = System.Drawing.Color.White; this.textBoxTableTitle.Style.Font.Bold = true; this.textBoxTableTitle.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBoxTableTitle.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxTableTitle.Value = "{Parameters.ReportDate.Value.ToString(\"MMMM yyyy\")} Order Summary"; // // textBoxCategoryAmount // this.textBoxCategoryAmount.Format = "{0:N2}"; this.textBoxCategoryAmount.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(2.9000003337860107D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.4000000953674316D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxCategoryAmount.Name = "textBoxCategoryAmount"; this.textBoxCategoryAmount.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.77916651964187622D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20610688626766205D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxCategoryAmount.Style.Font.Bold = true; this.textBoxCategoryAmount.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxCategoryAmount.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxCategoryAmount.Value = "=Sum(Fields.Sales)"; // // textBoxCategory // this.textBoxCategory.Name = "textBoxCategory"; this.textBoxCategory.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.0590277910232544D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20610688626766205D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxCategory.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.textBoxCategory.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxCategory.Value = "=Fields.Category"; // // textBoxSalesOrderNumber // navigateToReportAction1.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "=Fields.SalesOrderNumber")); navigateToReportAction1.Parameters.Add(new Telerik.Reporting.Parameter("ForYear", "=Parameters.ReportDate.Value.Year")); navigateToReportAction1.Parameters.Add(new Telerik.Reporting.Parameter("ForMonth", "=Parameters.ReportDate.Value.Month")); navigateToReportAction1.ReportDocumentType = "Telerik.Reporting.Examples.CSharp.Invoice, CSharp.ReportLibrary, Version=1.0.0.0," + " Culture=neutral, PublicKeyToken=null"; this.textBoxSalesOrderNumber.Action = navigateToReportAction1; this.textBoxSalesOrderNumber.Name = "textBoxSalesOrderNumber"; this.textBoxSalesOrderNumber.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.0590277910232544D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20610688626766205D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxSalesOrderNumber.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.textBoxSalesOrderNumber.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); this.textBoxSalesOrderNumber.Style.Font.Underline = true; this.textBoxSalesOrderNumber.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; this.textBoxSalesOrderNumber.Value = "=Fields.SalesOrderNumber"; // // textBoxOrderTotal // this.textBoxOrderTotal.Format = "{0:N2}"; this.textBoxOrderTotal.Name = "textBoxOrderTotal"; this.textBoxOrderTotal.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.77916651964187622D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxOrderTotal.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(221)))), ((int)(((byte)(227))))); this.textBoxOrderTotal.Style.Font.Bold = true; this.textBoxOrderTotal.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxOrderTotal.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxOrderTotal.Value = "=Sum(Fields.Sales)"; // // textBox4 // this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.0590277910232544D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox4.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(221)))), ((int)(((byte)(227))))); this.textBox4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; // // textBox12 // this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.0590277910232544D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox12.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(221)))), ((int)(((byte)(227))))); // // textBoxEmployeeSalesTotal // this.textBoxEmployeeSalesTotal.Format = "{0:N2}"; this.textBoxEmployeeSalesTotal.Name = "textBoxEmployeeSalesTotal"; this.textBoxEmployeeSalesTotal.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.77916651964187622D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxEmployeeSalesTotal.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.textBoxEmployeeSalesTotal.Style.Font.Bold = true; this.textBoxEmployeeSalesTotal.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxEmployeeSalesTotal.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxEmployeeSalesTotal.Value = "=Sum(Fields.Sales)"; // // textBoxTotalLabel // this.textBoxTotalLabel.Name = "textBoxTotalLabel"; this.textBoxTotalLabel.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.0590277910232544D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxTotalLabel.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.textBoxTotalLabel.Style.Font.Bold = true; this.textBoxTotalLabel.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxTotalLabel.Value = "Total:"; // // textBox10 // this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.0590277910232544D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox10.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; // // SalesEmployees // this.SalesEmployees.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.SalesEmployees.Name = "SalesEmployees"; this.SalesEmployees.SelectCommand = resources.GetString("SalesEmployees.SelectCommand"); // // detail // this.detail.Height = new Telerik.Reporting.Drawing.Unit(6.1999602317810059D, Telerik.Reporting.Drawing.UnitType.Inch); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.crosstabEmployeeSales, this.panelWrapper}); this.detail.KeepTogether = false; this.detail.Name = "detail"; // // crosstabEmployeeSales // this.crosstabEmployeeSales.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.23702292144298554D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.20610688626766205D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstabEmployeeSales.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch))); this.crosstabEmployeeSales.Body.SetCellContent(1, 0, this.textBox6); this.crosstabEmployeeSales.Body.SetCellContent(0, 0, this.textBox5); this.crosstabEmployeeSales.Body.SetCellContent(2, 0, this.textBox9); this.crosstabEmployeeSales.Body.SetCellContent(3, 0, this.textBox13); this.crosstabEmployeeSales.ColumnGroups.Add(tableGroup1); this.crosstabEmployeeSales.DataSource = this.EmployeeSales; this.crosstabEmployeeSales.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox6, this.textBox5, this.textBox9, this.textBox13, this.textBoxTableTitle, this.textBoxSalesOrderNumber, this.textBoxCategory, this.textBoxCategoryAmount, this.textBox12, this.textBox4, this.textBoxOrderTotal, this.textBox10, this.textBoxTotalLabel, this.textBoxEmployeeSalesTotal}); this.crosstabEmployeeSales.KeepTogether = false; this.crosstabEmployeeSales.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.1000000610947609D, Telerik.Reporting.Drawing.UnitType.Inch)); this.crosstabEmployeeSales.Name = "crosstabEmployeeSales"; tableGroup2.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("1")}); tableGroup2.Name = "RowGroup"; tableGroup2.ReportItem = this.textBoxTableTitle; tableGroup2.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("1", Telerik.Reporting.Data.SortDirection.Asc)}); tableGroup6.Name = "Detail"; tableGroup6.ReportItem = this.textBoxCategoryAmount; tableGroup5.ChildGroups.Add(tableGroup6); tableGroup5.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.Category")}); tableGroup5.Name = "Category"; tableGroup5.ReportItem = this.textBoxCategory; tableGroup5.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.Category", Telerik.Reporting.Data.SortDirection.Asc)}); tableGroup4.ChildGroups.Add(tableGroup5); tableGroup4.Name = "Group6"; tableGroup4.ReportItem = this.textBoxSalesOrderNumber; tableGroup9.Name = "Group2"; tableGroup9.ReportItem = this.textBoxOrderTotal; tableGroup8.ChildGroups.Add(tableGroup9); tableGroup8.Name = "Group1"; tableGroup8.ReportItem = this.textBox4; tableGroup7.ChildGroups.Add(tableGroup8); tableGroup7.Name = "Group7"; tableGroup7.ReportItem = this.textBox12; tableGroup3.ChildGroups.Add(tableGroup4); tableGroup3.ChildGroups.Add(tableGroup7); tableGroup3.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.SalesOrderNumber")}); tableGroup3.Name = "SalesOrderNumber"; tableGroup3.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.SalesOrderNumber", Telerik.Reporting.Data.SortDirection.Asc)}); tableGroup12.Name = "Group4"; tableGroup12.ReportItem = this.textBoxEmployeeSalesTotal; tableGroup11.ChildGroups.Add(tableGroup12); tableGroup11.Name = "Group5"; tableGroup11.ReportItem = this.textBoxTotalLabel; tableGroup10.ChildGroups.Add(tableGroup11); tableGroup10.Name = "Group3"; tableGroup10.ReportItem = this.textBox10; this.crosstabEmployeeSales.RowGroups.Add(tableGroup2); this.crosstabEmployeeSales.RowGroups.Add(tableGroup3); this.crosstabEmployeeSales.RowGroups.Add(tableGroup10); this.crosstabEmployeeSales.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.8972222805023193D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.86312979459762573D, Telerik.Reporting.Drawing.UnitType.Inch)); this.crosstabEmployeeSales.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20610688626766205D, Telerik.Reporting.Drawing.UnitType.Inch)); // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.23702292144298554D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.None; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch)); // // textBox13 // this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.20999999344348908D, Telerik.Reporting.Drawing.UnitType.Inch)); // // EmployeeSales // this.EmployeeSales.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.EmployeeSales.Name = "EmployeeSales"; this.EmployeeSales.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@ReportYear", System.Data.DbType.Int32, "=Parameters.ReportDate.Value.Year"), new Telerik.Reporting.SqlDataSourceParameter("@ReportMonth", System.Data.DbType.Int32, "=Parameters.ReportDate.Value.Month"), new Telerik.Reporting.SqlDataSourceParameter("@EmployeeID", System.Data.DbType.Int32, "=Parameters.Employee.Value")}); this.EmployeeSales.SelectCommand = resources.GetString("EmployeeSales.SelectCommand"); // // panelWrapper // this.panelWrapper.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.chartYearlySales, this.chartMonthlySales}); this.panelWrapper.KeepTogether = false; this.panelWrapper.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.10003948211669922D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panelWrapper.Name = "panelWrapper"; this.panelWrapper.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.5D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(6.0999207496643066D, Telerik.Reporting.Drawing.UnitType.Inch)); // // chartYearlySales // this.chartYearlySales.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.chartYearlySales.Appearance.Shadow.Color = System.Drawing.Color.DarkGray; this.chartYearlySales.BitmapResolution = 300F; this.chartYearlySales.ChartTitle.Appearance.Shadow.Color = System.Drawing.Color.DarkGray; this.chartYearlySales.ChartTitle.TextBlock.Appearance.Position.AlignedPosition = Telerik.Reporting.Charting.Styles.AlignedPositions.Top; this.chartYearlySales.ChartTitle.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold); this.chartYearlySales.ChartTitle.TextBlock.Text = "Yearly Sales Comparison"; this.chartYearlySales.DataSource = this.EmployeeSalesYearOverYear; this.chartYearlySales.ImageFormat = System.Drawing.Imaging.ImageFormat.Emf; this.chartYearlySales.Legend.Appearance.Border.Visible = false; this.chartYearlySales.Legend.Appearance.Overflow = Telerik.Reporting.Charting.Styles.Overflow.Row; this.chartYearlySales.Legend.Appearance.Position.AlignedPosition = Telerik.Reporting.Charting.Styles.AlignedPositions.Bottom; this.chartYearlySales.Legend.Appearance.Shadow.Color = System.Drawing.Color.DarkGray; this.chartYearlySales.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9378803194267675E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch)); this.chartYearlySales.Name = "chartYearlySales"; this.chartYearlySales.PlotArea.Appearance.Border.Visible = false; chartMargins1.Bottom = new Telerik.Reporting.Charting.Styles.Unit(32D, Telerik.Reporting.Charting.Styles.UnitType.Percentage); chartMargins1.Left = new Telerik.Reporting.Charting.Styles.Unit(18D, Telerik.Reporting.Charting.Styles.UnitType.Percentage); chartMargins1.Right = new Telerik.Reporting.Charting.Styles.Unit(5D, Telerik.Reporting.Charting.Styles.UnitType.Percentage); chartMargins1.Top = new Telerik.Reporting.Charting.Styles.Unit(18D, Telerik.Reporting.Charting.Styles.UnitType.Percentage); this.chartYearlySales.PlotArea.Appearance.Dimensions.Margins = chartMargins1; this.chartYearlySales.PlotArea.Appearance.FillStyle.FillType = Telerik.Reporting.Charting.Styles.FillType.Solid; this.chartYearlySales.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.White; this.chartYearlySales.PlotArea.Appearance.SeriesPalette = "Mac"; this.chartYearlySales.PlotArea.Appearance.Shadow.Color = System.Drawing.Color.DarkGray; this.chartYearlySales.PlotArea.XAxis.Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Reporting.Charting.Styles.AlignedPositions.Top; this.chartYearlySales.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 90F; this.chartYearlySales.PlotArea.XAxis.Appearance.MajorGridLines.Visible = false; this.chartYearlySales.PlotArea.XAxis.Appearance.MajorTick.Visible = false; this.chartYearlySales.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); this.chartYearlySales.PlotArea.XAxis.AutoScale = false; this.chartYearlySales.PlotArea.XAxis.DataLabelsColumn = "Month"; chartAxisItem1.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem1.Value = new decimal(new int[] { 1, 0, 0, 0}); chartAxisItem2.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem2.Value = new decimal(new int[] { 2, 0, 0, 0}); chartAxisItem3.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem3.Value = new decimal(new int[] { 3, 0, 0, 0}); chartAxisItem4.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem4.Value = new decimal(new int[] { 4, 0, 0, 0}); chartAxisItem5.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem5.Value = new decimal(new int[] { 5, 0, 0, 0}); chartAxisItem6.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem6.Value = new decimal(new int[] { 6, 0, 0, 0}); chartAxisItem7.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem7.Value = new decimal(new int[] { 7, 0, 0, 0}); this.chartYearlySales.PlotArea.XAxis.Items.AddRange(new Telerik.Reporting.Charting.ChartAxisItem[] { chartAxisItem1, chartAxisItem2, chartAxisItem3, chartAxisItem4, chartAxisItem5, chartAxisItem6, chartAxisItem7}); this.chartYearlySales.PlotArea.XAxis.MinValue = 1D; this.chartYearlySales.PlotArea.YAxis.Appearance.LabelAppearance.Border.Visible = false; this.chartYearlySales.PlotArea.YAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.Black; this.chartYearlySales.PlotArea.YAxis.Appearance.MinorTick.Visible = false; this.chartYearlySales.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); this.chartYearlySales.PlotArea.YAxis.AxisLabel.Appearance.Visible = true; this.chartYearlySales.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); this.chartYearlySales.PlotArea.YAxis.AxisLabel.TextBlock.Text = "In Thousands"; this.chartYearlySales.PlotArea.YAxis.AxisLabel.Visible = true; this.chartYearlySales.PlotArea.YAxis.MaxItemsCount = 5; this.chartYearlySales.PlotArea.YAxis.MaxValue = 100D; this.chartYearlySales.PlotArea.YAxis.Step = 20D; chartSeries1.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(167)))), ((int)(((byte)(226))))); chartSeries1.Appearance.LabelAppearance.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries1.Appearance.LabelAppearance.Visible = false; chartSeries1.Appearance.PointMark.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries1.Appearance.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries1.DataYColumn = "Y2001"; chartSeries1.DefaultLabelValue = ""; chartSeries1.Name = "2001"; chartSeries1.Type = Telerik.Reporting.Charting.ChartSeriesType.Line; chartSeries2.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(87)))), ((int)(((byte)(60))))); chartSeries2.Appearance.LabelAppearance.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries2.Appearance.LabelAppearance.Visible = false; chartSeries2.Appearance.PointMark.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries2.Appearance.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries2.DataYColumn = "Y2002"; chartSeries2.DefaultLabelValue = ""; chartSeries2.Name = "2002"; chartSeries2.Type = Telerik.Reporting.Charting.ChartSeriesType.Line; chartSeries3.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(203)))), ((int)(((byte)(76))))); chartSeries3.Appearance.LabelAppearance.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries3.Appearance.LabelAppearance.Visible = false; chartSeries3.Appearance.PointMark.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries3.Appearance.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries3.DataYColumn = "Y2003"; chartSeries3.DefaultLabelValue = ""; chartSeries3.Name = "2003"; chartSeries3.Type = Telerik.Reporting.Charting.ChartSeriesType.Line; chartSeries4.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(83)))), ((int)(((byte)(76))))); chartSeries4.Appearance.LabelAppearance.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries4.Appearance.LabelAppearance.Visible = false; chartSeries4.Appearance.PointMark.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries4.Appearance.Shadow.Color = System.Drawing.Color.DarkGray; chartSeries4.DataYColumn = "Y2004"; chartSeries4.DefaultLabelValue = ""; chartSeries4.Name = "2004"; chartSeries4.Type = Telerik.Reporting.Charting.ChartSeriesType.Line; this.chartYearlySales.Series.AddRange(new Telerik.Reporting.Charting.ChartSeries[] { chartSeries1, chartSeries2, chartSeries3, chartSeries4}); this.chartYearlySales.SeriesPalette = "Mac"; this.chartYearlySales.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.4999606609344482D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.9999210834503174D, Telerik.Reporting.Drawing.UnitType.Inch)); // // EmployeeSalesYearOverYear // this.EmployeeSalesYearOverYear.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.EmployeeSalesYearOverYear.Name = "EmployeeSalesYearOverYear"; this.EmployeeSalesYearOverYear.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@ReportYear", System.Data.DbType.String, "=Parameters.ReportDate.Value.Year"), new Telerik.Reporting.SqlDataSourceParameter("@ReportMonth", System.Data.DbType.String, "=Parameters.ReportDate.Value.Month"), new Telerik.Reporting.SqlDataSourceParameter("@EmployeeID", System.Data.DbType.String, "=Parameters.Employee.Value")}); this.EmployeeSalesYearOverYear.SelectCommand = resources.GetString("EmployeeSalesYearOverYear.SelectCommand"); // // chartMonthlySales // this.chartMonthlySales.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.chartMonthlySales.BitmapResolution = 300F; this.chartMonthlySales.ChartTitle.TextBlock.Appearance.Position.AlignedPosition = Telerik.Reporting.Charting.Styles.AlignedPositions.Top; this.chartMonthlySales.ChartTitle.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold); this.chartMonthlySales.ChartTitle.TextBlock.Text = "Category Sales Comparison"; this.chartMonthlySales.DataSource = this.EmployeeCategorySales; this.chartMonthlySales.ImageFormat = System.Drawing.Imaging.ImageFormat.Emf; this.chartMonthlySales.Legend.Appearance.Border.Visible = false; this.chartMonthlySales.Legend.Appearance.Overflow = Telerik.Reporting.Charting.Styles.Overflow.Row; this.chartMonthlySales.Legend.Appearance.Position.AlignedPosition = Telerik.Reporting.Charting.Styles.AlignedPositions.Bottom; this.chartMonthlySales.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.0999605655670166D, Telerik.Reporting.Drawing.UnitType.Inch)); this.chartMonthlySales.Name = "chartMonthlySales"; this.chartMonthlySales.PlotArea.Appearance.Border.Visible = false; chartMargins2.Bottom = new Telerik.Reporting.Charting.Styles.Unit(34D, Telerik.Reporting.Charting.Styles.UnitType.Percentage); chartMargins2.Left = new Telerik.Reporting.Charting.Styles.Unit(18D, Telerik.Reporting.Charting.Styles.UnitType.Percentage); chartMargins2.Right = new Telerik.Reporting.Charting.Styles.Unit(5D, Telerik.Reporting.Charting.Styles.UnitType.Percentage); chartMargins2.Top = new Telerik.Reporting.Charting.Styles.Unit(18D, Telerik.Reporting.Charting.Styles.UnitType.Percentage); this.chartMonthlySales.PlotArea.Appearance.Dimensions.Margins = chartMargins2; this.chartMonthlySales.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.White; this.chartMonthlySales.PlotArea.Appearance.FillStyle.SecondColor = System.Drawing.Color.White; this.chartMonthlySales.PlotArea.Appearance.SeriesPalette = "Mac"; this.chartMonthlySales.PlotArea.XAxis.Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Reporting.Charting.Styles.AlignedPositions.Top; this.chartMonthlySales.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 90F; this.chartMonthlySales.PlotArea.XAxis.Appearance.MajorTick.Visible = false; this.chartMonthlySales.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); this.chartMonthlySales.PlotArea.XAxis.AutoScale = false; this.chartMonthlySales.PlotArea.XAxis.DataLabelsColumn = "Category"; chartAxisItem8.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem8.Value = new decimal(new int[] { 1, 0, 0, 0}); chartAxisItem9.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem9.Value = new decimal(new int[] { 2, 0, 0, 0}); chartAxisItem10.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem10.Value = new decimal(new int[] { 3, 0, 0, 0}); chartAxisItem11.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem11.Value = new decimal(new int[] { 4, 0, 0, 0}); chartAxisItem12.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem12.Value = new decimal(new int[] { 5, 0, 0, 0}); chartAxisItem13.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem13.Value = new decimal(new int[] { 6, 0, 0, 0}); chartAxisItem14.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); chartAxisItem14.Value = new decimal(new int[] { 7, 0, 0, 0}); this.chartMonthlySales.PlotArea.XAxis.Items.AddRange(new Telerik.Reporting.Charting.ChartAxisItem[] { chartAxisItem8, chartAxisItem9, chartAxisItem10, chartAxisItem11, chartAxisItem12, chartAxisItem13, chartAxisItem14}); this.chartMonthlySales.PlotArea.XAxis.MinValue = 1D; this.chartMonthlySales.PlotArea.YAxis.Appearance.LabelAppearance.Border.Visible = false; this.chartMonthlySales.PlotArea.YAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.Black; this.chartMonthlySales.PlotArea.YAxis.Appearance.MinorTick.Visible = false; this.chartMonthlySales.PlotArea.YAxis.Appearance.TextAppearance.Border.Visible = false; this.chartMonthlySales.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Font = new System.Drawing.Font("Verdana", 6.5F); this.chartMonthlySales.PlotArea.YAxis.AxisLabel.Appearance.Border.Visible = false; this.chartMonthlySales.PlotArea.YAxis.AxisLabel.Appearance.Visible = true; this.chartMonthlySales.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 7F); this.chartMonthlySales.PlotArea.YAxis.AxisLabel.TextBlock.Text = "In Thousands"; this.chartMonthlySales.PlotArea.YAxis.AxisLabel.Visible = true; this.chartMonthlySales.PlotArea.YAxis.MaxItemsCount = 4; this.chartMonthlySales.PlotArea.YAxis.MaxValue = 100D; this.chartMonthlySales.PlotArea.YAxis.Step = 20D; chartSeries5.DataYColumn = "Y2001"; chartSeries5.DefaultLabelValue = ""; chartSeries5.Name = "2001"; chartSeries6.DataYColumn = "Y2002"; chartSeries6.DefaultLabelValue = ""; chartSeries6.Name = "2002"; chartSeries7.DataYColumn = "Y2003"; chartSeries7.DefaultLabelValue = ""; chartSeries7.Name = "2003"; chartSeries8.DataYColumn = "Y2004"; chartSeries8.DefaultLabelValue = ""; chartSeries8.Name = "2004"; this.chartMonthlySales.Series.AddRange(new Telerik.Reporting.Charting.ChartSeries[] { chartSeries5, chartSeries6, chartSeries7, chartSeries8}); this.chartMonthlySales.SeriesPalette = "Mac"; this.chartMonthlySales.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.4999606609344482D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.00003981590271D, Telerik.Reporting.Drawing.UnitType.Inch)); // // EmployeeCategorySales // this.EmployeeCategorySales.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.EmployeeCategorySales.Name = "EmployeeCategorySales"; this.EmployeeCategorySales.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@ReportYear", System.Data.DbType.String, "=Parameters.ReportDate.Value.Year"), new Telerik.Reporting.SqlDataSourceParameter("@ReportMonth", System.Data.DbType.String, "=Parameters.ReportDate.Value.Month"), new Telerik.Reporting.SqlDataSourceParameter("@EmployeeID", System.Data.DbType.String, "=Parameters.Employee.Value")}); this.EmployeeCategorySales.SelectCommand = resources.GetString("EmployeeCategorySales.SelectCommand"); // // group1 // this.group1.GroupFooter = this.groupFooterSection1; this.group1.GroupHeader = this.groupHeaderSection1; this.group1.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("")}); this.group1.Name = "group1"; // // groupFooterSection1 // this.groupFooterSection1.Height = new Telerik.Reporting.Drawing.Unit(0.1272023469209671D, Telerik.Reporting.Drawing.UnitType.Inch); this.groupFooterSection1.Name = "groupFooterSection1"; this.groupFooterSection1.Style.Visible = false; // // groupHeaderSection1 // this.groupHeaderSection1.Height = new Telerik.Reporting.Drawing.Unit(0.8728376030921936D, Telerik.Reporting.Drawing.UnitType.Inch); this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pictureBoxLogo, this.textBoxLogo, this.textBoxDataRange, this.textBoxReportEmployee}); this.groupHeaderSection1.Name = "groupHeaderSection1"; this.groupHeaderSection1.PrintOnEveryPage = true; // // pictureBoxLogo // this.pictureBoxLogo.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch)); this.pictureBoxLogo.MimeType = "image/jpeg"; this.pictureBoxLogo.Name = "pictureBoxLogo"; this.pictureBoxLogo.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.440000057220459D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.67434477806091309D, Telerik.Reporting.Drawing.UnitType.Inch)); this.pictureBoxLogo.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional; this.pictureBoxLogo.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); 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.Point); this.pictureBoxLogo.Value = ((object)(resources.GetObject("pictureBoxLogo.Value"))); // // textBoxLogo // this.textBoxLogo.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.4400788545608521D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxLogo.Name = "textBoxLogo"; this.textBoxLogo.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(5.0571436882019043D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.3790486752986908D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxLogo.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.textBoxLogo.Style.Font.Bold = true; this.textBoxLogo.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(20D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxLogo.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxLogo.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxLogo.Value = "Sales Report"; // // textBoxDataRange // this.textBoxDataRange.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.67446309328079224D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxDataRange.Name = "textBoxDataRange"; this.textBoxDataRange.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(6.4972224235534668D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19837446510791779D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxDataRange.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.textBoxDataRange.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.textBoxDataRange.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxDataRange.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxDataRange.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxDataRange.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxDataRange.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxDataRange.Style.Color = System.Drawing.Color.White; this.textBoxDataRange.Style.Font.Name = "Trebuchet MS"; this.textBoxDataRange.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(12D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxDataRange.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxDataRange.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; this.textBoxDataRange.Value = "=Parameters.ReportDate.Value.ToString(\'MMMM yyyy\')"; // // textBoxReportEmployee // this.textBoxReportEmployee.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.4400788545608521D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.37916693091392517D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxReportEmployee.Name = "textBoxReportEmployee"; this.textBoxReportEmployee.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(5.0571432113647461D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29521733522415161D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBoxReportEmployee.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.textBoxReportEmployee.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164))))); this.textBoxReportEmployee.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBoxReportEmployee.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxReportEmployee.Style.Color = System.Drawing.Color.White; this.textBoxReportEmployee.Style.Font.Bold = true; this.textBoxReportEmployee.Style.Font.Name = "Trebuchet MS"; this.textBoxReportEmployee.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(16D, Telerik.Reporting.Drawing.UnitType.Point); this.textBoxReportEmployee.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBoxReportEmployee.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBoxReportEmployee.Value = "=Parameters.Employee.Label"; // // EmployeeSalesSummary // this.Groups.AddRange(new Telerik.Reporting.Group[] { this.group1}); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection1, this.groupFooterSection1, this.detail}); this.PageSettings.Landscape = false; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.Name = "ReportDate"; reportParameter1.AutoRefresh = true; reportParameter1.Text = "Report Date"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter1.Value = "=#2003-07-01#"; reportParameter1.Visible = true; reportParameter2.AvailableValues.DataSource = this.SalesEmployees; reportParameter2.AvailableValues.DisplayMember = "= Fields.Employee"; reportParameter2.AvailableValues.ValueMember = "= Fields.SalesPersonID"; reportParameter2.Name = "Employee"; reportParameter2.AutoRefresh = true; reportParameter2.Text = "Employee"; reportParameter2.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter2.Value = "=283"; reportParameter2.Visible = true; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = new Telerik.Reporting.Drawing.Unit(6.5D, Telerik.Reporting.Drawing.UnitType.Inch); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }