Ejemplo n.º 1
0
 /// <summary>
 /// Required method for telerik Reporting designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.Reporting.TableGroup                   tableGroup1     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup2     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup3     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup4     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup5     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup6     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup7     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup8     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule2 = new Telerik.Reporting.Drawing.FormattingRule();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule3 = new Telerik.Reporting.Drawing.FormattingRule();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule4 = new Telerik.Reporting.Drawing.FormattingRule();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule5 = new Telerik.Reporting.Drawing.FormattingRule();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(ProductCatalog));
     Telerik.Reporting.TocLevel tocLevel1 = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.TocLevel tocLevel2 = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.TocLevel tocLevel3 = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.Group    group1    = new Telerik.Reporting.Group();
     Telerik.Reporting.Group    group2    = new Telerik.Reporting.Group();
     Telerik.Reporting.Group    group3    = new Telerik.Reporting.Group();
     Telerik.Reporting.Drawing.TextWatermark      textWatermark1      = new Telerik.Reporting.Drawing.TextWatermark();
     Telerik.Reporting.ReportParameter            reportParameter1    = new Telerik.Reporting.ReportParameter();
     Telerik.Reporting.Drawing.StyleRule          styleRule1          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule          styleRule2          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule          styleRule3          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule          styleRule4          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule          styleRule5          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector();
     this.textBox5                    = new Telerik.Reporting.TextBox();
     this.textBox14                   = new Telerik.Reporting.TextBox();
     this.textBox15                   = new Telerik.Reporting.TextBox();
     this.textBox7                    = new Telerik.Reporting.TextBox();
     this.textBox9                    = new Telerik.Reporting.TextBox();
     this.textBox19                   = new Telerik.Reporting.TextBox();
     this.textBox21                   = new Telerik.Reporting.TextBox();
     this.groupFooterSection1         = new Telerik.Reporting.GroupFooterSection();
     this.groupHeaderSection1         = new Telerik.Reporting.GroupHeaderSection();
     this.textBoxProductCategoryLabel = new Telerik.Reporting.TextBox();
     this.textBox3                    = new Telerik.Reporting.TextBox();
     this.shape3 = new Telerik.Reporting.Shape();
     this.groupFooterSection2 = new Telerik.Reporting.GroupFooterSection();
     this.groupHeaderSection2 = new Telerik.Reporting.GroupHeaderSection();
     this.textBox4            = new Telerik.Reporting.TextBox();
     this.groupFooterSection3 = new Telerik.Reporting.GroupFooterSection();
     this.groupHeaderSection3 = new Telerik.Reporting.GroupHeaderSection();
     this.panel3             = new Telerik.Reporting.Panel();
     this.pictureBox1        = new Telerik.Reporting.PictureBox();
     this.textBox1           = new Telerik.Reporting.TextBox();
     this.table1             = new Telerik.Reporting.Table();
     this.textBox16          = new Telerik.Reporting.TextBox();
     this.textBox17          = new Telerik.Reporting.TextBox();
     this.textBox8           = new Telerik.Reporting.TextBox();
     this.textBox18          = new Telerik.Reporting.TextBox();
     this.textBox20          = new Telerik.Reporting.TextBox();
     this.textBox22          = new Telerik.Reporting.TextBox();
     this.panel7             = new Telerik.Reporting.Panel();
     this.shape1             = new Telerik.Reporting.Shape();
     this.textBox10          = new Telerik.Reporting.TextBox();
     this.textBox6           = new Telerik.Reporting.TextBox();
     this.sqlDataSource2     = new Telerik.Reporting.SqlDataSource();
     this.detailSection1     = new Telerik.Reporting.DetailSection();
     this.sqlDataSource1     = new Telerik.Reporting.SqlDataSource();
     this.tocSection1        = new Telerik.Reporting.TocSection();
     this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection();
     this.textBox2           = new Telerik.Reporting.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // textBox5
     //
     this.textBox5.Name        = "textBox5";
     this.textBox5.Size        = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.954D), Telerik.Reporting.Drawing.Unit.Inch(0.271D));
     this.textBox5.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox5.Value       = "Product No.";
     //
     // textBox14
     //
     this.textBox14.Name        = "textBox14";
     this.textBox14.Size        = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.221D), Telerik.Reporting.Drawing.Unit.Cm(0.688D));
     this.textBox14.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox14.Value       = "Product";
     //
     // textBox15
     //
     this.textBox15.Name        = "textBox15";
     this.textBox15.Size        = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.069D), Telerik.Reporting.Drawing.Unit.Cm(0.688D));
     this.textBox15.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox15.Value       = "Color";
     //
     // textBox7
     //
     this.textBox7.Name            = "textBox7";
     this.textBox7.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.638D), Telerik.Reporting.Drawing.Unit.Cm(0.688D));
     this.textBox7.Style.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox7.Value           = "Size";
     //
     // textBox9
     //
     this.textBox9.Name            = "textBox9";
     this.textBox9.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.634D), Telerik.Reporting.Drawing.Unit.Cm(0.688D));
     this.textBox9.Style.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox9.Value           = "Weight";
     //
     // textBox19
     //
     this.textBox19.Name            = "textBox19";
     this.textBox19.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.072D), Telerik.Reporting.Drawing.Unit.Cm(0.688D));
     this.textBox19.Style.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox19.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox19.Value           = "Dealer";
     //
     // textBox21
     //
     this.textBox21.Name = "textBox21";
     this.textBox21.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.101D), Telerik.Reporting.Drawing.Unit.Cm(0.688D));
     this.textBox21.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox21.Style.Color             = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox21.Style.TextAlign         = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox21.Value = "List Price";
     //
     // groupFooterSection1
     //
     this.groupFooterSection1.Height        = Telerik.Reporting.Drawing.Unit.Inch(0.219D);
     this.groupFooterSection1.Name          = "groupFooterSection1";
     this.groupFooterSection1.Style.Visible = false;
     //
     // groupHeaderSection1
     //
     this.groupHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5D);
     this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.textBoxProductCategoryLabel,
         this.textBox3,
         this.shape3
     });
     this.groupHeaderSection1.Name             = "groupHeaderSection1";
     this.groupHeaderSection1.PrintOnEveryPage = true;
     this.groupHeaderSection1.ItemDataBound   += new System.EventHandler(this.groupHeaderSection1_ItemDataBound);
     //
     // textBoxProductCategoryLabel
     //
     this.textBoxProductCategoryLabel.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.9D));
     this.textBoxProductCategoryLabel.Name      = "textBoxProductCategoryLabel";
     this.textBoxProductCategoryLabel.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1D), Telerik.Reporting.Drawing.Unit.Inch(0.4D));
     this.textBoxProductCategoryLabel.StyleName = "Category";
     this.textBoxProductCategoryLabel.Value     = "=Fields.ProductCategory";
     //
     // textBox3
     //
     this.textBox3.Culture   = new System.Globalization.CultureInfo("en");
     this.textBox3.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.textBox3.Name      = "textBox3";
     this.textBox3.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1D), Telerik.Reporting.Drawing.Unit.Inch(0.6D));
     this.textBox3.StyleName = "Header";
     this.textBox3.Value     = "Product Catalog";
     //
     // shape3
     //
     this.shape3.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Left | Telerik.Reporting.AnchoringStyles.Right)));
     this.shape3.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.6D));
     this.shape3.Name      = "shape3";
     this.shape3.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW);
     this.shape3.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1D), Telerik.Reporting.Drawing.Unit.Point(2D));
     this.shape3.Stretch   = true;
     this.shape3.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid;
     this.shape3.Style.BorderStyle.Top    = Telerik.Reporting.Drawing.BorderType.Solid;
     this.shape3.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(0.5D);
     this.shape3.Style.BorderWidth.Top    = Telerik.Reporting.Drawing.Unit.Point(1.5D);
     this.shape3.Style.Color = System.Drawing.Color.Transparent;
     //
     // groupFooterSection2
     //
     this.groupFooterSection2.Height        = Telerik.Reporting.Drawing.Unit.Inch(0.198D);
     this.groupFooterSection2.Name          = "groupFooterSection2";
     this.groupFooterSection2.Style.Visible = false;
     //
     // groupHeaderSection2
     //
     this.groupHeaderSection2.Height = Telerik.Reporting.Drawing.Unit.Inch(0.4D);
     this.groupHeaderSection2.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.textBox4
     });
     this.groupHeaderSection2.KeepTogether     = false;
     this.groupHeaderSection2.Name             = "groupHeaderSection2";
     this.groupHeaderSection2.PrintOnEveryPage = true;
     //
     // textBox4
     //
     this.textBox4.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.textBox4.Name      = "textBox4";
     this.textBox4.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.1D), Telerik.Reporting.Drawing.Unit.Inch(0.3D));
     this.textBox4.StyleName = "SubCategory";
     this.textBox4.Value     = "=Fields.ProductSubCategory";
     //
     // groupFooterSection3
     //
     this.groupFooterSection3.Height = Telerik.Reporting.Drawing.Unit.Inch(0.15D);
     this.groupFooterSection3.Name   = "groupFooterSection3";
     //
     // groupHeaderSection3
     //
     this.groupHeaderSection3.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5D);
     this.groupHeaderSection3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.panel3
     });
     this.groupHeaderSection3.Name             = "groupHeaderSection3";
     this.groupHeaderSection3.PrintOnEveryPage = true;
     //
     // panel3
     //
     this.panel3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.pictureBox1,
         this.textBox1,
         this.table1,
         this.textBox6
     });
     this.panel3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.2D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.7D), Telerik.Reporting.Drawing.Unit.Inch(1.453D));
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.pictureBox1.MimeType = "";
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.337D), Telerik.Reporting.Drawing.Unit.Inch(0.9D));
     this.pictureBox1.Sizing   = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional;
     this.pictureBox1.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D);
     this.pictureBox1.Style.Color          = System.Drawing.Color.White;
     this.pictureBox1.Style.LineWidth      = Telerik.Reporting.Drawing.Unit.Pixel(1D);
     this.pictureBox1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.pictureBox1.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.pictureBox1.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.pictureBox1.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.pictureBox1.Style.TextAlign      = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.pictureBox1.Style.VerticalAlign  = Telerik.Reporting.Drawing.VerticalAlign.Middle;
     this.pictureBox1.Value = "=Fields.LargePhoto";
     //
     // textBox1
     //
     this.textBox1.Bindings.Add(new Telerik.Reporting.Binding("Style.Font.Name", "= IIf(Parameters.CultureID.Value = \'zh-cht\', \'Microsoft JhengHei\', IIf(Parameters" +
                                                              ".CultureID.Value = \'th\', \'Microsoft Sans Serif\', \'Segoe UI Light\'))"));
     this.textBox1.CanShrink = true;
     this.textBox1.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.245D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.3D), Telerik.Reporting.Drawing.Unit.Inch(0.9D));
     this.textBox1.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox1.Style.BorderStyle.Right  = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox1.Style.Font.Name          = "Segoe UI Light";
     this.textBox1.Value = "=Fields.Description";
     //
     // table1
     //
     this.table1.Bindings.Add(new Telerik.Reporting.Binding("DataSource", "=ReportItem.DataObject"));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.954D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(2.221D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.069D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.638D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.634D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.072D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.101D)));
     this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Cm(0.717D)));
     this.table1.Body.SetCellContent(0, 0, this.textBox16);
     this.table1.Body.SetCellContent(0, 1, this.textBox17);
     this.table1.Body.SetCellContent(0, 3, this.textBox8);
     this.table1.Body.SetCellContent(0, 4, this.textBox18);
     this.table1.Body.SetCellContent(0, 5, this.textBox20);
     this.table1.Body.SetCellContent(0, 6, this.textBox22);
     this.table1.Body.SetCellContent(0, 2, this.panel7);
     tableGroup1.Name       = "tableGroup1";
     tableGroup1.ReportItem = this.textBox5;
     tableGroup2.Name       = "tableGroup2";
     tableGroup2.ReportItem = this.textBox14;
     tableGroup3.Name       = "tableGroup3";
     tableGroup3.ReportItem = this.textBox15;
     tableGroup4.Name       = "tableGroup4";
     tableGroup4.ReportItem = this.textBox7;
     tableGroup5.Name       = "tableGroup5";
     tableGroup5.ReportItem = this.textBox9;
     tableGroup6.Name       = "tableGroup6";
     tableGroup6.ReportItem = this.textBox19;
     tableGroup7.Name       = "tableGroup7";
     tableGroup7.ReportItem = this.textBox21;
     this.table1.ColumnGroups.Add(tableGroup1);
     this.table1.ColumnGroups.Add(tableGroup2);
     this.table1.ColumnGroups.Add(tableGroup3);
     this.table1.ColumnGroups.Add(tableGroup4);
     this.table1.ColumnGroups.Add(tableGroup5);
     this.table1.ColumnGroups.Add(tableGroup6);
     this.table1.ColumnGroups.Add(tableGroup7);
     this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.textBox16,
         this.textBox17,
         this.panel7,
         this.textBox8,
         this.textBox18,
         this.textBox20,
         this.textBox22,
         this.textBox5,
         this.textBox14,
         this.textBox15,
         this.textBox7,
         this.textBox9,
         this.textBox19,
         this.textBox21
     });
     this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(2.286D));
     this.table1.Name     = "table1";
     tableGroup8.Groupings.Add(new Telerik.Reporting.Grouping(""));
     tableGroup8.Name = "detailGroup";
     this.table1.RowGroups.Add(tableGroup8);
     this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.69D), Telerik.Reporting.Drawing.Unit.Cm(1.405D));
     //
     // textBox16
     //
     this.textBox16.Name  = "textBox16";
     this.textBox16.Size  = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.954D), Telerik.Reporting.Drawing.Unit.Cm(0.717D));
     this.textBox16.Value = "=Fields.ProductNumber";
     //
     // textBox17
     //
     this.textBox17.Name  = "textBox17";
     this.textBox17.Size  = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.221D), Telerik.Reporting.Drawing.Unit.Cm(0.717D));
     this.textBox17.Value = "=Fields.ProductName";
     //
     // textBox8
     //
     this.textBox8.Name            = "textBox8";
     this.textBox8.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.638D), Telerik.Reporting.Drawing.Unit.Cm(0.717D));
     this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox8.Value           = "=IsNull(Fields.Size, \'N/A\')";
     //
     // textBox18
     //
     this.textBox18.Name            = "textBox18";
     this.textBox18.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.634D), Telerik.Reporting.Drawing.Unit.Cm(0.717D));
     this.textBox18.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox18.Value           = "=IsNull(Fields.Weight, \'N/A\')";
     //
     // textBox20
     //
     this.textBox20.Format          = "{0:C2}";
     this.textBox20.Name            = "textBox20";
     this.textBox20.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.072D), Telerik.Reporting.Drawing.Unit.Cm(0.717D));
     this.textBox20.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox20.Value           = "=ISNULL(Fields.StandardCost, \"Call\")";
     //
     // textBox22
     //
     this.textBox22.Format = "{0:C2}";
     this.textBox22.Name   = "textBox22";
     this.textBox22.Size   = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.101D), Telerik.Reporting.Drawing.Unit.Cm(0.717D));
     this.textBox22.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox22.Style.TextAlign         = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox22.Value = "=IsNull(Fields.ListPrice, \'Call\')";
     //
     // panel7
     //
     this.panel7.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.shape1,
         this.textBox10
     });
     this.panel7.Name = "panel7";
     this.panel7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.069D), Telerik.Reporting.Drawing.Unit.Cm(0.717D));
     this.panel7.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     this.panel7.Style.BorderStyle.Bottom  = Telerik.Reporting.Drawing.BorderType.Solid;
     this.panel7.Style.BorderStyle.Right   = Telerik.Reporting.Drawing.BorderType.Solid;
     this.panel7.Style.TextAlign           = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.panel7.Style.VerticalAlign       = Telerik.Reporting.Drawing.VerticalAlign.Middle;
     //
     // shape1
     //
     formattingRule1.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "red"));
     formattingRule1.StopIfTrue            = true;
     formattingRule1.Style.BackgroundColor = System.Drawing.Color.Red;
     formattingRule2.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "blue"));
     formattingRule2.StopIfTrue            = true;
     formattingRule2.Style.BackgroundColor = System.Drawing.Color.Blue;
     formattingRule3.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "black"));
     formattingRule3.StopIfTrue            = true;
     formattingRule3.Style.BackgroundColor = System.Drawing.Color.Black;
     formattingRule4.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "yellow"));
     formattingRule4.StopIfTrue            = true;
     formattingRule4.Style.BackgroundColor = System.Drawing.Color.Yellow;
     formattingRule5.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "silver"));
     formattingRule5.StopIfTrue            = true;
     formattingRule5.Style.BackgroundColor = System.Drawing.Color.Silver;
     this.shape1.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] {
         formattingRule1,
         formattingRule2,
         formattingRule3,
         formattingRule4,
         formattingRule5
     });
     this.shape1.Location    = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.079D), Telerik.Reporting.Drawing.Unit.Cm(0.07D));
     this.shape1.Name        = "shape1";
     this.shape1.ShapeType   = new Telerik.Reporting.Drawing.Shapes.EllipseShape(0D);
     this.shape1.Size        = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.26D), Telerik.Reporting.Drawing.Unit.Inch(0.223D));
     this.shape1.Style.Color = System.Drawing.Color.Transparent;
     //
     // textBox10
     //
     this.textBox10.Format   = "{0:C2}";
     this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.82D), Telerik.Reporting.Drawing.Unit.Cm(0.07D));
     this.textBox10.Name     = "textBox10";
     this.textBox10.Size     = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(1.68D), Telerik.Reporting.Drawing.Unit.Inch(0.255D));
     this.textBox10.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox10.Style.BorderStyle.Right  = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox10.Value = "= IsNull(Fields.Color, \'N/A\')";
     //
     // textBox6
     //
     this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.465D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.textBox6.Name     = "textBox6";
     this.textBox6.Size     = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.035D), Telerik.Reporting.Drawing.Unit.Inch(0.3D));
     this.textBox6.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox6.Style.BorderStyle.Right  = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox6.StyleName = "SubCategory";
     this.textBox6.Value     = "=Fields.ProductModel";
     //
     // sqlDataSource2
     //
     this.sqlDataSource2.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString";
     this.sqlDataSource2.Name             = "sqlDataSource2";
     this.sqlDataSource2.SelectCommand    = "SELECT RTRIM(CultureID) AS CultureID, Name FROM Production.Culture WHERE (NOT (RT" +
                                            "RIM(CultureID) IN (\'es\', \'\')))";
     //
     // detailSection1
     //
     this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.132D);
     this.detailSection1.Name   = "detailSection1";
     this.detailSection1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164)))));
     this.detailSection1.Style.BorderWidth.Left    = Telerik.Reporting.Drawing.Unit.Point(3D);
     this.detailSection1.Style.Font.Size           = Telerik.Reporting.Drawing.Unit.Point(8D);
     this.detailSection1.Style.Visible             = false;
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString";
     this.sqlDataSource1.Name             = "sqlDataSource1";
     this.sqlDataSource1.Parameters.Add(new Telerik.Reporting.SqlDataSourceParameter("@cultureID", System.Data.DbType.String, "=Parameters(\'CultureID\').Value"));
     this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand");
     //
     // tocSection1
     //
     this.tocSection1.Height       = Telerik.Reporting.Drawing.Unit.Inch(1.5D);
     this.tocSection1.KeepTogether = false;
     tocLevel1.LeaderSymbol        = '\0';
     tocLevel1.Name                 = "Level1";
     tocLevel1.Style.Font.Bold      = true;
     tocLevel1.Style.Font.Name      = "Segoe UI Light";
     tocLevel1.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(16D);
     tocLevel1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(5D);
     tocLevel1.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel1.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel1.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(5D);
     tocLevel2.Name                 = "Level2";
     tocLevel2.Style.Font.Name      = "Segoe UI Light";
     tocLevel2.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(13D);
     tocLevel2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel2.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(32D);
     tocLevel2.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel2.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel3.Name                 = "Level3";
     tocLevel3.Style.Font.Name      = "Segoe UI Light";
     tocLevel3.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(13D);
     tocLevel3.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel3.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(52D);
     tocLevel3.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel3.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.tocSection1.Levels.Add(tocLevel1);
     this.tocSection1.Levels.Add(tocLevel2);
     this.tocSection1.Levels.Add(tocLevel3);
     this.tocSection1.Name      = "tocSection1";
     this.tocSection1.PageBreak = Telerik.Reporting.PageBreak.After;
     this.tocSection1.Title     = "Table of Contents";
     this.tocSection1.TitleStyle.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid;
     this.tocSection1.TitleStyle.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D);
     this.tocSection1.TitleStyle.Font.Bold          = true;
     this.tocSection1.TitleStyle.Font.Name          = "Segoe UI Light";
     this.tocSection1.TitleStyle.Font.Size          = Telerik.Reporting.Drawing.Unit.Point(25D);
     this.tocSection1.TitleStyle.Padding.Bottom     = Telerik.Reporting.Drawing.Unit.Point(10D);
     //
     // pageHeaderSection1
     //
     this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.2D);
     this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.textBox2
     });
     this.pageHeaderSection1.Name = "pageHeaderSection1";
     //
     // textBox2
     //
     this.textBox2.Location        = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.2D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.textBox2.Name            = "textBox2";
     this.textBox2.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.9D), Telerik.Reporting.Drawing.Unit.Inch(0.2D));
     this.textBox2.Style.Font.Name = "Segoe UI Light";
     this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D);
     this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox2.Value           = "= PageExec(\'group1\', Fields.ProductCategory) + \', page \' + PageNumber(\'group1\', F" +
                                     "ields.ProductCategory) + \' of \' + PageCount(\'group1\', Fields.ProductCategory)";
     //
     // ProductCatalog
     //
     this.Bindings.Add(new Telerik.Reporting.Binding("Culture", "=Parameters.CultureID.Value"));
     this.DataSource        = this.sqlDataSource1;
     this.DocumentName      = "=\'ProductCatalog.\' + Parameters.CultureID.Value";
     group1.DocumentMapText = "=Fields.ProductCategory";
     group1.GroupFooter     = this.groupFooterSection1;
     group1.GroupHeader     = this.groupHeaderSection1;
     group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductCategory"));
     group1.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.All;
     group1.Name = "group1";
     group1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductCategory", Telerik.Reporting.SortDirection.Asc));
     group1.TocText         = "=Fields.ProductCategory";
     group2.DocumentMapText = "=Fields.ProductSubCategory";
     group2.GroupFooter     = this.groupFooterSection2;
     group2.GroupHeader     = this.groupHeaderSection2;
     group2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductSubCategory"));
     group2.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.FirstDetail;
     group2.Name = "group2";
     group2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductSubCategory", Telerik.Reporting.SortDirection.Asc));
     group2.TocText         = "=Fields.ProductSubCategory";
     group3.DocumentMapText = "=Fields.ProductModel";
     group3.GroupFooter     = this.groupFooterSection3;
     group3.GroupHeader     = this.groupHeaderSection3;
     group3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductModel"));
     group3.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.FirstDetail;
     group3.Name = "group3";
     group3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductModel", Telerik.Reporting.SortDirection.Asc));
     this.Groups.AddRange(new Telerik.Reporting.Group[] {
         group1,
         group2,
         group3
     });
     this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.groupHeaderSection1,
         this.groupFooterSection1,
         this.groupHeaderSection2,
         this.groupFooterSection2,
         this.groupHeaderSection3,
         this.groupFooterSection3,
         this.detailSection1,
         this.tocSection1,
         this.pageHeaderSection1
     });
     this.Name = "ProductCatalog";
     this.PageSettings.Landscape = false;
     this.PageSettings.Margins   = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.2D), Telerik.Reporting.Drawing.Unit.Inch(0.2D), Telerik.Reporting.Drawing.Unit.Inch(0.3D), Telerik.Reporting.Drawing.Unit.Inch(0.4D));
     this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter;
     textWatermark1.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164)))));
     textWatermark1.Font.Name    = "Tahoma";
     textWatermark1.Font.Size    = Telerik.Reporting.Drawing.Unit.Point(100D);
     textWatermark1.Opacity      = 0.06D;
     textWatermark1.Orientation  = Telerik.Reporting.Drawing.WatermarkOrientation.Vertical;
     textWatermark1.Position     = Telerik.Reporting.Drawing.WatermarkPosition.Front;
     textWatermark1.Text         = "=PageExec(\"textBoxProductCategoryLabel\", First(Fields.ProductCategory))";
     this.PageSettings.Watermarks.Add(textWatermark1);
     reportParameter1.AutoRefresh = true;
     reportParameter1.AvailableValues.DataSource    = this.sqlDataSource2;
     reportParameter1.AvailableValues.DisplayMember = "Name";
     reportParameter1.AvailableValues.ValueMember   = "CultureID";
     reportParameter1.Name    = "CultureID";
     reportParameter1.Text    = "Language";
     reportParameter1.Value   = "en";
     reportParameter1.Visible = true;
     this.ReportParameters.Add(reportParameter1);
     styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)),
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox))
     });
     styleRule1.Style.Padding.Left  = Telerik.Reporting.Drawing.Unit.Point(2D);
     styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D);
     styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.StyleSelector("Header")
     });
     styleRule2.Style.Font.Bold    = true;
     styleRule2.Style.Font.Name    = "Segoe UI Light";
     styleRule2.Style.Font.Size    = Telerik.Reporting.Drawing.Unit.Point(25D);
     styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D);
     styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.StyleSelector("Category")
     });
     styleRule3.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(7)))), ((int)(((byte)(5)))));
     styleRule3.Style.BorderStyle.Bottom  = Telerik.Reporting.Drawing.BorderType.Solid;
     styleRule3.Style.BorderWidth.Bottom  = Telerik.Reporting.Drawing.Unit.Point(1D);
     styleRule3.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Point(0.5D);
     styleRule3.Style.Font.Name           = "Segoe UI Light";
     styleRule3.Style.Font.Size           = Telerik.Reporting.Drawing.Unit.Point(16D);
     styleRule3.Style.Padding.Left        = Telerik.Reporting.Drawing.Unit.Inch(0D);
     styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.StyleSelector("SubCategory")
     });
     styleRule4.Style.BorderStyle.Bottom  = Telerik.Reporting.Drawing.BorderType.Solid;
     styleRule4.Style.BorderWidth.Bottom  = Telerik.Reporting.Drawing.Unit.Point(0.5D);
     styleRule4.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Point(0.5D);
     styleRule4.Style.Font.Name           = "Segoe UI Light";
     styleRule4.Style.Font.Size           = Telerik.Reporting.Drawing.Unit.Point(13D);
     styleRule4.Style.Padding.Left        = Telerik.Reporting.Drawing.Unit.Inch(0D);
     descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.GroupHeaderSection)),
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Panel)),
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextBox))
     });
     styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         descendantSelector1
     });
     styleRule5.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     styleRule5.Style.BorderStyle.Bottom  = Telerik.Reporting.Drawing.BorderType.Solid;
     styleRule5.Style.BorderStyle.Right   = Telerik.Reporting.Drawing.BorderType.Solid;
     styleRule5.Style.Font.Name           = "Segoe UI";
     styleRule5.Style.Font.Size           = Telerik.Reporting.Drawing.Unit.Point(10D);
     styleRule5.Style.Padding.Bottom      = Telerik.Reporting.Drawing.Unit.Inch(0.04D);
     styleRule5.Style.Padding.Left        = Telerik.Reporting.Drawing.Unit.Inch(0.05D);
     styleRule5.Style.Padding.Right       = Telerik.Reporting.Drawing.Unit.Inch(0.05D);
     styleRule5.Style.VerticalAlign       = Telerik.Reporting.Drawing.VerticalAlign.Bottom;
     this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] {
         styleRule1,
         styleRule2,
         styleRule3,
         styleRule4,
         styleRule5
     });
     this.TocText = "Product Catalog";
     this.Width   = Telerik.Reporting.Drawing.Unit.Inch(8.1D);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Required method for telerik Reporting designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.Reporting.TableGroup                   tableGroup1     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup2     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup3     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup4     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup5     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup6     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup7     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.TableGroup                   tableGroup8     = new Telerik.Reporting.TableGroup();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule2 = new Telerik.Reporting.Drawing.FormattingRule();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule3 = new Telerik.Reporting.Drawing.FormattingRule();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule4 = new Telerik.Reporting.Drawing.FormattingRule();
     Telerik.Reporting.Drawing.FormattingRule       formattingRule5 = new Telerik.Reporting.Drawing.FormattingRule();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(ProductCatalog));
     Telerik.Reporting.TocLevel tocLevel1 = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.TocLevel tocLevel2 = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.TocLevel tocLevel3 = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.Group    group1    = new Telerik.Reporting.Group();
     Telerik.Reporting.Group    group2    = new Telerik.Reporting.Group();
     Telerik.Reporting.Group    group3    = new Telerik.Reporting.Group();
     Telerik.Reporting.Drawing.TextWatermark      textWatermark1      = new Telerik.Reporting.Drawing.TextWatermark();
     Telerik.Reporting.ReportParameter            reportParameter1    = new Telerik.Reporting.ReportParameter();
     Telerik.Reporting.Drawing.StyleRule          styleRule1          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule          styleRule2          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule          styleRule3          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule          styleRule4          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule          styleRule5          = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector();
     this.textBox5                    = new Telerik.Reporting.TextBox();
     this.textBox14                   = new Telerik.Reporting.TextBox();
     this.textBox15                   = new Telerik.Reporting.TextBox();
     this.textBox7                    = new Telerik.Reporting.TextBox();
     this.textBox9                    = new Telerik.Reporting.TextBox();
     this.textBox19                   = new Telerik.Reporting.TextBox();
     this.textBox21                   = new Telerik.Reporting.TextBox();
     this.groupFooterSection1         = new Telerik.Reporting.GroupFooterSection();
     this.groupHeaderSection1         = new Telerik.Reporting.GroupHeaderSection();
     this.textBoxProductCategoryLabel = new Telerik.Reporting.TextBox();
     this.textBox3                    = new Telerik.Reporting.TextBox();
     this.shape3 = new Telerik.Reporting.Shape();
     this.groupFooterSection2 = new Telerik.Reporting.GroupFooterSection();
     this.groupHeaderSection2 = new Telerik.Reporting.GroupHeaderSection();
     this.textBox4            = new Telerik.Reporting.TextBox();
     this.groupFooterSection3 = new Telerik.Reporting.GroupFooterSection();
     this.groupHeaderSection3 = new Telerik.Reporting.GroupHeaderSection();
     this.panel3             = new Telerik.Reporting.Panel();
     this.pictureBox1        = new Telerik.Reporting.PictureBox();
     this.textBox1           = new Telerik.Reporting.TextBox();
     this.table1             = new Telerik.Reporting.Table();
     this.textBox16          = new Telerik.Reporting.TextBox();
     this.textBox17          = new Telerik.Reporting.TextBox();
     this.textBox8           = new Telerik.Reporting.TextBox();
     this.textBox18          = new Telerik.Reporting.TextBox();
     this.textBox20          = new Telerik.Reporting.TextBox();
     this.textBox22          = new Telerik.Reporting.TextBox();
     this.panel7             = new Telerik.Reporting.Panel();
     this.shape1             = new Telerik.Reporting.Shape();
     this.textBox10          = new Telerik.Reporting.TextBox();
     this.textBox6           = new Telerik.Reporting.TextBox();
     this.sqlDataSource2     = new Telerik.Reporting.SqlDataSource();
     this.detailSection1     = new Telerik.Reporting.DetailSection();
     this.sqlDataSource1     = new Telerik.Reporting.SqlDataSource();
     this.tocSection1        = new Telerik.Reporting.TocSection();
     this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection();
     this.textBox2           = new Telerik.Reporting.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // textBox5
     //
     this.textBox5.Name        = "textBox5";
     this.textBox5.Size        = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.95442020893096924D), Telerik.Reporting.Drawing.Unit.Inch(0.27081868052482605D));
     this.textBox5.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox5.Value       = "Product No.";
     //
     // textBox14
     //
     this.textBox14.Name        = "textBox14";
     this.textBox14.Size        = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.2207286357879639D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D));
     this.textBox14.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox14.Value       = "Product";
     //
     // textBox15
     //
     this.textBox15.Name        = "textBox15";
     this.textBox15.Size        = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.0693451166152954D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D));
     this.textBox15.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox15.Value       = "Color";
     //
     // textBox7
     //
     this.textBox7.Name            = "textBox7";
     this.textBox7.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.63820755481719971D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D));
     this.textBox7.Style.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox7.Value           = "Size";
     //
     // textBox9
     //
     this.textBox9.Name            = "textBox9";
     this.textBox9.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.63375592231750488D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D));
     this.textBox9.Style.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox9.Value           = "Weight";
     //
     // textBox19
     //
     this.textBox19.Name            = "textBox19";
     this.textBox19.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.0724959373474121D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D));
     this.textBox19.Style.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox19.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox19.Value           = "Dealer";
     //
     // textBox21
     //
     this.textBox21.Name = "textBox21";
     this.textBox21.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1005908250808716D), Telerik.Reporting.Drawing.Unit.Cm(0.68787944316864014D));
     this.textBox21.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox21.Style.Color             = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(161)))), ((int)(((byte)(82)))));
     this.textBox21.Style.TextAlign         = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox21.Value = "List Price";
     //
     // groupFooterSection1
     //
     this.groupFooterSection1.Height        = Telerik.Reporting.Drawing.Unit.Inch(0.21875D);
     this.groupFooterSection1.Name          = "groupFooterSection1";
     this.groupFooterSection1.Style.Visible = false;
     //
     // groupHeaderSection1
     //
     this.groupHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5D);
     this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.textBoxProductCategoryLabel,
         this.textBox3,
         this.shape3
     });
     this.groupHeaderSection1.Name             = "groupHeaderSection1";
     this.groupHeaderSection1.PrintOnEveryPage = true;
     //
     // textBoxProductCategoryLabel
     //
     this.textBoxProductCategoryLabel.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(0.90000009536743164D));
     this.textBoxProductCategoryLabel.Name      = "textBoxProductCategoryLabel";
     this.textBoxProductCategoryLabel.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999212265014648D), Telerik.Reporting.Drawing.Unit.Inch(0.3999999463558197D));
     this.textBoxProductCategoryLabel.StyleName = "Category";
     this.textBoxProductCategoryLabel.Value     = "=Fields.ProductCategory";
     //
     // textBox3
     //
     this.textBox3.Culture   = new System.Globalization.CultureInfo("en");
     this.textBox3.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D));
     this.textBox3.Name      = "textBox3";
     this.textBox3.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Inch(0.60000002384185791D));
     this.textBox3.StyleName = "Header";
     this.textBox3.Value     = "Product Catalog";
     //
     // shape3
     //
     this.shape3.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Left | Telerik.Reporting.AnchoringStyles.Right)));
     this.shape3.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.60011798143386841D));
     this.shape3.Name      = "shape3";
     this.shape3.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW);
     this.shape3.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Point(2D));
     this.shape3.Stretch   = true;
     this.shape3.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid;
     this.shape3.Style.BorderStyle.Top    = Telerik.Reporting.Drawing.BorderType.Solid;
     this.shape3.Style.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(0.5D);
     this.shape3.Style.BorderWidth.Top    = Telerik.Reporting.Drawing.Unit.Point(1.5D);
     this.shape3.Style.Color = System.Drawing.Color.Transparent;
     //
     // groupFooterSection2
     //
     this.groupFooterSection2.Height        = Telerik.Reporting.Drawing.Unit.Inch(0.1979166716337204D);
     this.groupFooterSection2.Name          = "groupFooterSection2";
     this.groupFooterSection2.Style.Visible = false;
     //
     // groupHeaderSection2
     //
     this.groupHeaderSection2.Height = Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D);
     this.groupHeaderSection2.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.textBox4
     });
     this.groupHeaderSection2.KeepTogether     = false;
     this.groupHeaderSection2.Name             = "groupHeaderSection2";
     this.groupHeaderSection2.PrintOnEveryPage = true;
     //
     // textBox4
     //
     this.textBox4.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.textBox4.Name      = "textBox4";
     this.textBox4.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.0999603271484375D), Telerik.Reporting.Drawing.Unit.Inch(0.30000010132789612D));
     this.textBox4.StyleName = "SubCategory";
     this.textBox4.Value     = "=Fields.ProductSubCategory";
     //
     // groupFooterSection3
     //
     this.groupFooterSection3.Height = Telerik.Reporting.Drawing.Unit.Inch(0.14999993145465851D);
     this.groupFooterSection3.Name   = "groupFooterSection3";
     //
     // groupHeaderSection3
     //
     this.groupHeaderSection3.Height = Telerik.Reporting.Drawing.Unit.Inch(1.5000003576278687D);
     this.groupHeaderSection3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.panel3
     });
     this.groupHeaderSection3.Name             = "groupHeaderSection3";
     this.groupHeaderSection3.PrintOnEveryPage = true;
     //
     // panel3
     //
     this.panel3.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.pictureBox1,
         this.textBox1,
         this.table1,
         this.textBox6
     });
     this.panel3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.19999949634075165D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.7000007629394531D), Telerik.Reporting.Drawing.Unit.Inch(1.4530587196350098D));
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D));
     this.pictureBox1.MimeType = "";
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.3372377157211304D), Telerik.Reporting.Drawing.Unit.Inch(0.89988160133361816D));
     this.pictureBox1.Sizing   = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional;
     this.pictureBox1.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D);
     this.pictureBox1.Style.Color          = System.Drawing.Color.White;
     this.pictureBox1.Style.LineWidth      = Telerik.Reporting.Drawing.Unit.Pixel(1D);
     this.pictureBox1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.pictureBox1.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.pictureBox1.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.pictureBox1.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.pictureBox1.Style.TextAlign      = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.pictureBox1.Style.VerticalAlign  = Telerik.Reporting.Drawing.VerticalAlign.Middle;
     this.pictureBox1.Value = "=Fields.LargePhoto";
     //
     // textBox1
     //
     this.textBox1.Bindings.Add(new Telerik.Reporting.Binding("Style.Font.Name", "= IIf(Parameters.CultureID.Value = \'zh-cht\', \'Microsoft JhengHei\', IIf(Paramet" +
                                                              "ers.CultureID.Value = \'th\', \'Microsoft Sans Serif\', \'Segoe UI Light\'))"));
     this.textBox1.CanShrink = true;
     this.textBox1.Location  = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.2445292472839355D), Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D));
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.2999608516693115D), Telerik.Reporting.Drawing.Unit.Inch(0.89988160133361816D));
     this.textBox1.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox1.Style.BorderStyle.Right  = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox1.Style.Font.Name          = "Segoe UI Light";
     this.textBox1.Value = "=Fields.Description";
     //
     // table1
     //
     this.table1.Bindings.Add(new Telerik.Reporting.Binding("DataSource", "=ReportItem.DataObject"));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.95442020893096924D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(2.220726490020752D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.0693440437316895D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.63820689916610718D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.63375532627105713D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.072495698928833D)));
     this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.1005908250808716D)));
     this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D)));
     this.table1.Body.SetCellContent(0, 0, this.textBox16);
     this.table1.Body.SetCellContent(0, 1, this.textBox17);
     this.table1.Body.SetCellContent(0, 3, this.textBox8);
     this.table1.Body.SetCellContent(0, 4, this.textBox18);
     this.table1.Body.SetCellContent(0, 5, this.textBox20);
     this.table1.Body.SetCellContent(0, 6, this.textBox22);
     this.table1.Body.SetCellContent(0, 2, this.panel7);
     tableGroup1.Name       = "tableGroup1";
     tableGroup1.ReportItem = this.textBox5;
     tableGroup2.Name       = "tableGroup2";
     tableGroup2.ReportItem = this.textBox14;
     tableGroup3.Name       = "tableGroup3";
     tableGroup3.ReportItem = this.textBox15;
     tableGroup4.Name       = "tableGroup4";
     tableGroup4.ReportItem = this.textBox7;
     tableGroup5.Name       = "tableGroup5";
     tableGroup5.ReportItem = this.textBox9;
     tableGroup6.Name       = "tableGroup6";
     tableGroup6.ReportItem = this.textBox19;
     tableGroup7.Name       = "tableGroup7";
     tableGroup7.ReportItem = this.textBox21;
     this.table1.ColumnGroups.Add(tableGroup1);
     this.table1.ColumnGroups.Add(tableGroup2);
     this.table1.ColumnGroups.Add(tableGroup3);
     this.table1.ColumnGroups.Add(tableGroup4);
     this.table1.ColumnGroups.Add(tableGroup5);
     this.table1.ColumnGroups.Add(tableGroup6);
     this.table1.ColumnGroups.Add(tableGroup7);
     this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.textBox16,
         this.textBox17,
         this.panel7,
         this.textBox8,
         this.textBox18,
         this.textBox20,
         this.textBox22,
         this.textBox5,
         this.textBox14,
         this.textBox15,
         this.textBox7,
         this.textBox9,
         this.textBox19,
         this.textBox21
     });
     this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(9.987076191464439E-05D), Telerik.Reporting.Drawing.Unit.Cm(2.2860004901885986D));
     this.table1.Name     = "table1";
     tableGroup8.Groupings.Add(new Telerik.Reporting.Grouping(""));
     tableGroup8.Name = "detailGroup";
     this.table1.RowGroups.Add(tableGroup8);
     this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.6895394325256348D), Telerik.Reporting.Drawing.Unit.Cm(1.4047684669494629D));
     //
     // textBox16
     //
     this.textBox16.Name  = "textBox16";
     this.textBox16.Size  = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.95442020893096924D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D));
     this.textBox16.Value = "=Fields.ProductNumber";
     //
     // textBox17
     //
     this.textBox17.Name  = "textBox17";
     this.textBox17.Size  = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.220726490020752D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D));
     this.textBox17.Value = "=Fields.ProductName";
     //
     // textBox8
     //
     this.textBox8.Name            = "textBox8";
     this.textBox8.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.63820689916610718D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D));
     this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox8.Value           = "=IsNull(Fields.Size, \'N/A\')";
     //
     // textBox18
     //
     this.textBox18.Name            = "textBox18";
     this.textBox18.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.63375532627105713D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D));
     this.textBox18.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox18.Value           = "=IsNull(Fields.Weight, \'N/A\')";
     //
     // textBox20
     //
     this.textBox20.Format          = "{0:C2}";
     this.textBox20.Name            = "textBox20";
     this.textBox20.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.072495698928833D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D));
     this.textBox20.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox20.Value           = "=ISNULL(Fields.StandardCost, \"Call\")";
     //
     // textBox22
     //
     this.textBox22.Format = "{0:C2}";
     this.textBox22.Name   = "textBox22";
     this.textBox22.Size   = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1005908250808716D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D));
     this.textBox22.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox22.Style.TextAlign         = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox22.Value = "=IsNull(Fields.ListPrice, \'Call\')";
     //
     // panel7
     //
     this.panel7.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.shape1,
         this.textBox10
     });
     this.panel7.Name = "panel7";
     this.panel7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.0693440437316895D), Telerik.Reporting.Drawing.Unit.Cm(0.716888964176178D));
     this.panel7.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     this.panel7.Style.BorderStyle.Bottom  = Telerik.Reporting.Drawing.BorderType.Solid;
     this.panel7.Style.BorderStyle.Right   = Telerik.Reporting.Drawing.BorderType.Solid;
     this.panel7.Style.TextAlign           = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.panel7.Style.VerticalAlign       = Telerik.Reporting.Drawing.VerticalAlign.Middle;
     //
     // shape1
     //
     formattingRule1.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "red"));
     formattingRule1.StopIfTrue            = true;
     formattingRule1.Style.BackgroundColor = System.Drawing.Color.Red;
     formattingRule2.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "blue"));
     formattingRule2.StopIfTrue            = true;
     formattingRule2.Style.BackgroundColor = System.Drawing.Color.Blue;
     formattingRule3.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "black"));
     formattingRule3.StopIfTrue            = true;
     formattingRule3.Style.BackgroundColor = System.Drawing.Color.Black;
     formattingRule4.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "yellow"));
     formattingRule4.StopIfTrue            = true;
     formattingRule4.Style.BackgroundColor = System.Drawing.Color.Yellow;
     formattingRule5.Filters.Add(new Telerik.Reporting.Filter("= ToLower(Fields.Color)", Telerik.Reporting.FilterOperator.Equal, "silver"));
     formattingRule5.StopIfTrue            = true;
     formattingRule5.Style.BackgroundColor = System.Drawing.Color.Silver;
     this.shape1.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] {
         formattingRule1,
         formattingRule2,
         formattingRule3,
         formattingRule4,
         formattingRule5
     });
     this.shape1.Location    = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.0793650820851326D), Telerik.Reporting.Drawing.Unit.Cm(0.07025589793920517D));
     this.shape1.Name        = "shape1";
     this.shape1.ShapeType   = new Telerik.Reporting.Drawing.Shapes.EllipseShape(0D);
     this.shape1.Size        = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.26041331887245178D), Telerik.Reporting.Drawing.Unit.Inch(0.22303469479084015D));
     this.shape1.Style.Color = System.Drawing.Color.Transparent;
     //
     // textBox10
     //
     this.textBox10.Format   = "{0:C2}";
     this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0.8202979564666748D), Telerik.Reporting.Drawing.Unit.Cm(0.07025589793920517D));
     this.textBox10.Name     = "textBox10";
     this.textBox10.Size     = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(1.6804002523422241D), Telerik.Reporting.Drawing.Unit.Inch(0.25454029440879822D));
     this.textBox10.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox10.Style.BorderStyle.Right  = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox10.Value = "= IsNull(Fields.Color, \'N/A\')";
     //
     // textBox6
     //
     this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.4648761749267578D), Telerik.Reporting.Drawing.Unit.Inch(0D));
     this.textBox6.Name     = "textBox6";
     this.textBox6.Size     = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.0351245403289795D), Telerik.Reporting.Drawing.Unit.Inch(0.30000028014183044D));
     this.textBox6.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox6.Style.BorderStyle.Right  = Telerik.Reporting.Drawing.BorderType.None;
     this.textBox6.StyleName = "SubCategory";
     this.textBox6.Value     = "=Fields.ProductModel";
     //
     // sqlDataSource2
     //
     this.sqlDataSource2.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString";
     this.sqlDataSource2.Name             = "sqlDataSource2";
     this.sqlDataSource2.SelectCommand    = "SELECT RTRIM(CultureID) AS CultureID, Name FROM Production.Culture WHERE (NOT (RT" +
                                            "RIM(CultureID) IN (\'es\', \'\')))";
     //
     // detailSection1
     //
     this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.13208325207233429D);
     this.detailSection1.Name   = "detailSection1";
     this.detailSection1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164)))));
     this.detailSection1.Style.BorderWidth.Left    = Telerik.Reporting.Drawing.Unit.Point(3D);
     this.detailSection1.Style.Font.Size           = Telerik.Reporting.Drawing.Unit.Point(8D);
     this.detailSection1.Style.Visible             = false;
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString";
     this.sqlDataSource1.Name             = "sqlDataSource1";
     this.sqlDataSource1.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] {
         new Telerik.Reporting.SqlDataSourceParameter("@cultureID", System.Data.DbType.String, "=Parameters(\'CultureID\').Value")
     });
     this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand");
     //
     // tocSection1
     //
     this.tocSection1.Height       = Telerik.Reporting.Drawing.Unit.Inch(1.5D);
     this.tocSection1.KeepTogether = false;
     tocLevel1.LeaderSymbol        = '\0';
     tocLevel1.Name                 = "Level1";
     tocLevel1.Style.Font.Bold      = true;
     tocLevel1.Style.Font.Name      = "Segoe UI Light";
     tocLevel1.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(16D);
     tocLevel1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(5D);
     tocLevel1.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel1.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel1.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(5D);
     tocLevel2.Name                 = "Level2";
     tocLevel2.Style.Font.Name      = "Segoe UI Light";
     tocLevel2.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(13D);
     tocLevel2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel2.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(32D);
     tocLevel2.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel2.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel3.Name                 = "Level3";
     tocLevel3.Style.Font.Name      = "Segoe UI Light";
     tocLevel3.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(13D);
     tocLevel3.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel3.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(52D);
     tocLevel3.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel3.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.tocSection1.Levels.Add(tocLevel1);
     this.tocSection1.Levels.Add(tocLevel2);
     this.tocSection1.Levels.Add(tocLevel3);
     this.tocSection1.Name      = "tocSection1";
     this.tocSection1.PageBreak = Telerik.Reporting.PageBreak.After;
     this.tocSection1.Title     = "Table of Contents";
     this.tocSection1.TitleStyle.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid;
     this.tocSection1.TitleStyle.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D);
     this.tocSection1.TitleStyle.Font.Bold          = true;
     this.tocSection1.TitleStyle.Font.Name          = "Segoe UI Light";
     this.tocSection1.TitleStyle.Font.Size          = Telerik.Reporting.Drawing.Unit.Point(25D);
     this.tocSection1.TitleStyle.Padding.Bottom     = Telerik.Reporting.Drawing.Unit.Point(10D);
     //
     // pageHeaderSection1
     //
     this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D);
     this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.textBox2
     });
     this.pageHeaderSection1.Name = "pageHeaderSection1";
     //
     // textBox2
     //
     this.textBox2.Location        = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.2000002861022949D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D));
     this.textBox2.Name            = "textBox2";
     this.textBox2.Size            = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.8999993801116943D), Telerik.Reporting.Drawing.Unit.Inch(0.19996063411235809D));
     this.textBox2.Style.Font.Name = "Segoe UI Light";
     this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D);
     this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
     this.textBox2.Value           = "= PageExec(\'group1\', Fields.ProductCategory) + \', page \' + PageNumber(\'group1\', F" +
                                     "ields.ProductCategory) + \' of \' + PageCount(\'group1\', Fields.ProductCategory)";
     //
     // ProductCatalog
     //
     this.Bindings.Add(new Telerik.Reporting.Binding("Culture", "=Parameters.CultureID.Value"));
     this.DataSource        = this.sqlDataSource1;
     this.DocumentName      = "=\'ProductCatalog.\' + Parameters.CultureID.Value";
     group1.DocumentMapText = "=Fields.ProductCategory";
     group1.GroupFooter     = this.groupFooterSection1;
     group1.GroupHeader     = this.groupHeaderSection1;
     group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductCategory"));
     group1.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.All;
     group1.Name = "group1";
     group1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductCategory", Telerik.Reporting.SortDirection.Asc));
     group1.TocText         = "=Fields.ProductCategory";
     group2.DocumentMapText = "=Fields.ProductSubCategory";
     group2.GroupFooter     = this.groupFooterSection2;
     group2.GroupHeader     = this.groupHeaderSection2;
     group2.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductSubCategory"));
     group2.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.FirstDetail;
     group2.Name = "group2";
     group2.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductSubCategory", Telerik.Reporting.SortDirection.Asc));
     group2.TocText         = "=Fields.ProductSubCategory";
     group3.DocumentMapText = "=Fields.ProductModel";
     group3.GroupFooter     = this.groupFooterSection3;
     group3.GroupHeader     = this.groupHeaderSection3;
     group3.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.ProductModel"));
     group3.GroupKeepTogether = Telerik.Reporting.GroupKeepTogether.FirstDetail;
     group3.Name = "group3";
     group3.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.ProductModel", Telerik.Reporting.SortDirection.Asc));
     this.Groups.AddRange(new Telerik.Reporting.Group[] {
         group1,
         group2,
         group3
     });
     this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.groupHeaderSection1,
         this.groupFooterSection1,
         this.groupHeaderSection2,
         this.groupFooterSection2,
         this.groupHeaderSection3,
         this.groupFooterSection3,
         this.detailSection1,
         this.tocSection1,
         this.pageHeaderSection1
     });
     this.Name = "ProductCatalog";
     this.PageSettings.Landscape = false;
     this.PageSettings.Margins   = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D), Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D));
     this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter;
     textWatermark1.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(145)))), ((int)(((byte)(164)))));
     textWatermark1.Font.Name    = "Tahoma";
     textWatermark1.Font.Size    = Telerik.Reporting.Drawing.Unit.Point(100D);
     textWatermark1.Opacity      = 0.06D;
     textWatermark1.Orientation  = Telerik.Reporting.Drawing.WatermarkOrientation.Vertical;
     textWatermark1.Position     = Telerik.Reporting.Drawing.WatermarkPosition.Front;
     textWatermark1.Text         = "=PageExec(\"textBoxProductCategoryLabel\", First(Fields.ProductCategory))";
     this.PageSettings.Watermarks.Add(textWatermark1);
     reportParameter1.AutoRefresh = true;
     reportParameter1.AvailableValues.DataSource    = this.sqlDataSource2;
     reportParameter1.AvailableValues.DisplayMember = "Name";
     reportParameter1.AvailableValues.ValueMember   = "CultureID";
     reportParameter1.Name    = "CultureID";
     reportParameter1.Text    = "Language";
     reportParameter1.Value   = "en";
     reportParameter1.Visible = true;
     this.ReportParameters.Add(reportParameter1);
     styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)),
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox))
     });
     styleRule1.Style.Padding.Left  = Telerik.Reporting.Drawing.Unit.Point(2D);
     styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D);
     styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.StyleSelector("Header")
     });
     styleRule2.Style.Font.Bold    = true;
     styleRule2.Style.Font.Name    = "Segoe UI Light";
     styleRule2.Style.Font.Size    = Telerik.Reporting.Drawing.Unit.Point(25D);
     styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0D);
     styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.StyleSelector("Category")
     });
     styleRule3.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(7)))), ((int)(((byte)(5)))));
     styleRule3.Style.BorderStyle.Bottom  = Telerik.Reporting.Drawing.BorderType.Solid;
     styleRule3.Style.BorderWidth.Bottom  = Telerik.Reporting.Drawing.Unit.Point(1D);
     styleRule3.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Point(0.5D);
     styleRule3.Style.Font.Name           = "Segoe UI Light";
     styleRule3.Style.Font.Size           = Telerik.Reporting.Drawing.Unit.Point(16D);
     styleRule3.Style.Padding.Left        = Telerik.Reporting.Drawing.Unit.Inch(0D);
     styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.StyleSelector("SubCategory")
     });
     styleRule4.Style.BorderStyle.Bottom  = Telerik.Reporting.Drawing.BorderType.Solid;
     styleRule4.Style.BorderWidth.Bottom  = Telerik.Reporting.Drawing.Unit.Point(0.5D);
     styleRule4.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Point(0.5D);
     styleRule4.Style.Font.Name           = "Segoe UI Light";
     styleRule4.Style.Font.Size           = Telerik.Reporting.Drawing.Unit.Point(13D);
     styleRule4.Style.Padding.Left        = Telerik.Reporting.Drawing.Unit.Inch(0D);
     descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.GroupHeaderSection)),
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Panel)),
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextBox))
     });
     styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
         descendantSelector1
     });
     styleRule5.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
     styleRule5.Style.BorderStyle.Bottom  = Telerik.Reporting.Drawing.BorderType.Solid;
     styleRule5.Style.BorderStyle.Right   = Telerik.Reporting.Drawing.BorderType.Solid;
     styleRule5.Style.Font.Name           = "Segoe UI";
     styleRule5.Style.Font.Size           = Telerik.Reporting.Drawing.Unit.Point(10D);
     styleRule5.Style.Padding.Bottom      = Telerik.Reporting.Drawing.Unit.Inch(0.039999999105930328D);
     styleRule5.Style.Padding.Left        = Telerik.Reporting.Drawing.Unit.Inch(0.05000000074505806D);
     styleRule5.Style.Padding.Right       = Telerik.Reporting.Drawing.Unit.Inch(0.05000000074505806D);
     styleRule5.Style.VerticalAlign       = Telerik.Reporting.Drawing.VerticalAlign.Bottom;
     this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] {
         styleRule1,
         styleRule2,
         styleRule3,
         styleRule4,
         styleRule5
     });
     this.TocText = "Product Catalog";
     this.Width   = Telerik.Reporting.Drawing.Unit.Inch(8.09999942779541D);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <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.TocLevel          tocLevel1  = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.TocLevel          tocLevel2  = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.TocLevel          tocLevel3  = new Telerik.Reporting.TocLevel();
     Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule();
     Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule();
     this.detailSection1 = new Telerik.Reporting.DetailSection();
     this.tocSection1    = new Telerik.Reporting.TocSection();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // detailSection1
     //
     this.detailSection1.Height        = Telerik.Reporting.Drawing.Unit.Inch(0.30000004172325134D);
     this.detailSection1.Name          = "detailSection1";
     this.detailSection1.Style.Visible = false;
     //
     // tocSection1
     //
     this.tocSection1.Height       = Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D);
     this.tocSection1.KeepTogether = false;
     tocLevel1.LeaderSymbol        = '\0';
     tocLevel1.Name                 = "Level1";
     tocLevel1.Style.Font.Bold      = true;
     tocLevel1.Style.Font.Name      = "Segoe UI Light";
     tocLevel1.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(16D);
     tocLevel1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(5D);
     tocLevel1.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel1.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel1.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(5D);
     tocLevel2.Name                 = "Level2";
     tocLevel2.Style.Font.Name      = "Segoe UI Light";
     tocLevel2.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(13D);
     tocLevel2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel2.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(32D);
     tocLevel2.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel2.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel3.Name                 = "Level3";
     tocLevel3.Style.Font.Name      = "Segoe UI Light";
     tocLevel3.Style.Font.Size      = Telerik.Reporting.Drawing.Unit.Point(12D);
     tocLevel3.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(1D);
     tocLevel3.Style.Padding.Left   = Telerik.Reporting.Drawing.Unit.Point(52D);
     tocLevel3.Style.Padding.Right  = Telerik.Reporting.Drawing.Unit.Point(2D);
     tocLevel3.Style.Padding.Top    = Telerik.Reporting.Drawing.Unit.Point(1D);
     this.tocSection1.Levels.Add(tocLevel1);
     this.tocSection1.Levels.Add(tocLevel2);
     this.tocSection1.Levels.Add(tocLevel3);
     this.tocSection1.Name  = "tocSection1";
     this.tocSection1.Title = "Report Book Table of Contents";
     this.tocSection1.TitleStyle.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid;
     this.tocSection1.TitleStyle.BorderWidth.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D);
     this.tocSection1.TitleStyle.Font.Bold          = true;
     this.tocSection1.TitleStyle.Font.Name          = "Segoe UI Light";
     this.tocSection1.TitleStyle.Font.Size          = Telerik.Reporting.Drawing.Unit.Point(25D);
     this.tocSection1.TitleStyle.Padding.Bottom     = Telerik.Reporting.Drawing.Unit.Point(10D);
     //
     // ReportBookToc
     //
     this.DocumentMapText = "Table of Contents";
     this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
         this.detailSection1,
         this.tocSection1
     });
     this.Name = "ReportBookToc";
     this.PageSettings.ColumnCount   = 1;
     this.PageSettings.ColumnSpacing = Telerik.Reporting.Drawing.Unit.Inch(0D);
     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;
     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.TypeSelector(typeof(Telerik.Reporting.TextItemBase)),
         new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox))
     });
     styleRule2.Style.Padding.Left  = Telerik.Reporting.Drawing.Unit.Point(2D);
     styleRule2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D);
     this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] {
         styleRule1,
         styleRule2
     });
     this.Width = Telerik.Reporting.Drawing.Unit.Inch(8D);
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }