Esempio n. 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor43          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor44          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor45          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor46          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor47          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor48          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor49          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor50          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor51          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor52          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor53          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor54          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor55          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor56          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderRowDescriptor gridStackedHeaderRowDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderRowDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor13   = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor14   = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor15   = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor16   = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     this.sqlSelectCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlConnection2       = new System.Data.SqlClient.SqlConnection();
     this.sqlDataAdapterOrders = new System.Data.SqlClient.SqlDataAdapter();
     this.propertyGrid1        = new System.Windows.Forms.PropertyGrid();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.northwindDataSet1    = new StackedHeaders.DataSet1();
     this.checkBoxAdv1         = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit();
     this.SuspendLayout();
     //
     // sqlSelectCommand2
     //
     this.sqlSelectCommand2.CommandText = "SELECT OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, Shi" +
                                          "pVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, Ship" +
                                          "Country FROM Orders";
     this.sqlSelectCommand2.Connection = this.sqlConnection2;
     //
     // sqlConnection2
     //
     this.sqlConnection2.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" +
                                            "es;persist security info=True;user id=sa;packet size=4096;Pooling=true";
     this.sqlConnection2.FireInfoMessageEventOnUserErrors = false;
     //
     // sqlDataAdapterOrders
     //
     this.sqlDataAdapterOrders.SelectCommand = this.sqlSelectCommand2;
     this.sqlDataAdapterOrders.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Orders", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("OrderID", "OrderID"),
             new System.Data.Common.DataColumnMapping("CustomerID", "CustomerID"),
             new System.Data.Common.DataColumnMapping("EmployeeID", "EmployeeID"),
             new System.Data.Common.DataColumnMapping("OrderDate", "OrderDate"),
             new System.Data.Common.DataColumnMapping("RequiredDate", "RequiredDate"),
             new System.Data.Common.DataColumnMapping("ShippedDate", "ShippedDate"),
             new System.Data.Common.DataColumnMapping("ShipVia", "ShipVia"),
             new System.Data.Common.DataColumnMapping("Freight", "Freight"),
             new System.Data.Common.DataColumnMapping("ShipName", "ShipName"),
             new System.Data.Common.DataColumnMapping("ShipAddress", "ShipAddress"),
             new System.Data.Common.DataColumnMapping("ShipCity", "ShipCity"),
             new System.Data.Common.DataColumnMapping("ShipRegion", "ShipRegion"),
             new System.Data.Common.DataColumnMapping("ShipPostalCode", "ShipPostalCode"),
             new System.Data.Common.DataColumnMapping("ShipCountry", "ShipCountry")
         })
     });
     //
     // propertyGrid1
     //
     this.propertyGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid1.BackColor                 = System.Drawing.Color.White;
     this.propertyGrid1.CommandsBackColor         = System.Drawing.Color.White;
     this.propertyGrid1.CommandsDisabledLinkColor = System.Drawing.Color.White;
     this.propertyGrid1.Font           = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.propertyGrid1.HelpBackColor  = System.Drawing.Color.White;
     this.propertyGrid1.LineColor      = System.Drawing.Color.White;
     this.propertyGrid1.Location       = new System.Drawing.Point(670, 61);
     this.propertyGrid1.Name           = "propertyGrid1";
     this.propertyGrid1.SelectedObject = this.gridGroupingControl1;
     this.propertyGrid1.Size           = new System.Drawing.Size(331, 590);
     this.propertyGrid1.TabIndex       = 11;
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.gridGroupingControl1.Appearance.AnyCell.TextColor          = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(102)))));
     this.gridGroupingControl1.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))));
     this.gridGroupingControl1.Appearance.StackedHeaderCell.Themed   = false;
     this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.ChildGroupOptions.ShowColumnHeaders             = true;
     this.gridGroupingControl1.ChildGroupOptions.ShowStackedHeaders            = true;
     this.gridGroupingControl1.Font                            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridGroupingControl1.ForeColor                       = System.Drawing.Color.MidnightBlue;
     this.gridGroupingControl1.FreezeCaption                   = false;
     this.gridGroupingControl1.GridOfficeScrollBars            = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridGroupingControl1.GridVisualStyles                = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridGroupingControl1.TableOptions.DefaultColumnWidth = 40;
     this.gridGroupingControl1.Location                        = new System.Drawing.Point(9, 2);
     this.gridGroupingControl1.Name                            = "gridGroupingControl1";
     this.gridGroupingControl1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.ShowGroupDropArea = true;
     this.gridGroupingControl1.Size     = new System.Drawing.Size(655, 649);
     this.gridGroupingControl1.TabIndex = 0;
     this.gridGroupingControl1.TableDescriptor.AllowNew = false;
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename             = "Segoe UI";
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Borders.Bottom       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Borders.Right        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior             = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor            = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.Borders.Right  = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior           = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))));
     this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold        = true;
     this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType         = "ColumnHeader";
     gridColumnDescriptor43.HeaderImage          = null;
     gridColumnDescriptor43.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor43.MappingName          = "OrderID";
     gridColumnDescriptor43.SerializedImageArray = "";
     gridColumnDescriptor44.HeaderImage          = null;
     gridColumnDescriptor44.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor44.MappingName          = "CustomerID";
     gridColumnDescriptor44.SerializedImageArray = "";
     gridColumnDescriptor45.HeaderImage          = null;
     gridColumnDescriptor45.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor45.MappingName          = "EmployeeID";
     gridColumnDescriptor45.SerializedImageArray = "";
     gridColumnDescriptor46.HeaderImage          = null;
     gridColumnDescriptor46.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor46.MappingName          = "OrderDate";
     gridColumnDescriptor46.SerializedImageArray = "";
     gridColumnDescriptor47.HeaderImage          = null;
     gridColumnDescriptor47.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor47.MappingName          = "RequiredDate";
     gridColumnDescriptor47.SerializedImageArray = "";
     gridColumnDescriptor48.HeaderImage          = null;
     gridColumnDescriptor48.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor48.MappingName          = "ShippedDate";
     gridColumnDescriptor48.SerializedImageArray = "";
     gridColumnDescriptor49.HeaderImage          = null;
     gridColumnDescriptor49.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor49.MappingName          = "ShipVia";
     gridColumnDescriptor49.SerializedImageArray = "";
     gridColumnDescriptor50.HeaderImage          = null;
     gridColumnDescriptor50.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor50.MappingName          = "Freight";
     gridColumnDescriptor50.SerializedImageArray = "";
     gridColumnDescriptor51.HeaderImage          = null;
     gridColumnDescriptor51.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor51.MappingName          = "ShipName";
     gridColumnDescriptor51.SerializedImageArray = "";
     gridColumnDescriptor52.HeaderImage          = null;
     gridColumnDescriptor52.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor52.MappingName          = "ShipAddress";
     gridColumnDescriptor52.SerializedImageArray = "";
     gridColumnDescriptor53.HeaderImage          = null;
     gridColumnDescriptor53.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor53.MappingName          = "ShipCity";
     gridColumnDescriptor53.SerializedImageArray = "";
     gridColumnDescriptor54.HeaderImage          = null;
     gridColumnDescriptor54.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor54.MappingName          = "ShipRegion";
     gridColumnDescriptor54.SerializedImageArray = "";
     gridColumnDescriptor55.HeaderImage          = null;
     gridColumnDescriptor55.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor55.MappingName          = "ShipPostalCode";
     gridColumnDescriptor55.SerializedImageArray = "";
     gridColumnDescriptor56.HeaderImage          = null;
     gridColumnDescriptor56.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor56.MappingName          = "ShipCountry";
     gridColumnDescriptor56.SerializedImageArray = "";
     this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] {
         gridColumnDescriptor43,
         gridColumnDescriptor44,
         gridColumnDescriptor45,
         gridColumnDescriptor46,
         gridColumnDescriptor47,
         gridColumnDescriptor48,
         gridColumnDescriptor49,
         gridColumnDescriptor50,
         gridColumnDescriptor51,
         gridColumnDescriptor52,
         gridColumnDescriptor53,
         gridColumnDescriptor54,
         gridColumnDescriptor55,
         gridColumnDescriptor56
     });
     this.gridGroupingControl1.TableDescriptor.PrimaryKeyColumns.AddRange(new Syncfusion.Grouping.SortColumnDescriptor[] {
         new Syncfusion.Grouping.SortColumnDescriptor("OrderID", System.ComponentModel.ListSortDirection.Ascending)
     });
     gridStackedHeaderRowDescriptor4.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))));
     gridStackedHeaderDescriptor13.Appearance.StackedHeaderCell.Interior   = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))));
     gridStackedHeaderDescriptor13.Appearance.StackedHeaderCell.TextColor  = System.Drawing.Color.Black;
     gridStackedHeaderDescriptor13.HeaderText = "Header One";
     gridStackedHeaderDescriptor13.Name       = "StackedHeader 1";
     gridStackedHeaderDescriptor13.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("OrderID"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("CustomerID"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("EmployeeID")
     });
     gridStackedHeaderDescriptor14.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))));
     gridStackedHeaderDescriptor14.HeaderText = "Header Two";
     gridStackedHeaderDescriptor14.Name       = "StackedHeader 2";
     gridStackedHeaderDescriptor14.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("OrderDate"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Freight"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("RequiredDate")
     });
     gridStackedHeaderDescriptor15.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))));
     gridStackedHeaderDescriptor15.HeaderText = "Header Three";
     gridStackedHeaderDescriptor15.Name       = "StackedHeader 3";
     gridStackedHeaderDescriptor15.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShippedDate"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipVia"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipName")
     });
     gridStackedHeaderDescriptor16.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))));
     gridStackedHeaderDescriptor16.HeaderText = "Header Four";
     gridStackedHeaderDescriptor16.Name       = "StackedHeader 4";
     gridStackedHeaderDescriptor16.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipAddress"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipCity"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipRegion"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipPostalCode"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipCountry")
     });
     gridStackedHeaderRowDescriptor4.Headers.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor[] {
         gridStackedHeaderDescriptor13,
         gridStackedHeaderDescriptor14,
         gridStackedHeaderDescriptor15,
         gridStackedHeaderDescriptor16
     });
     gridStackedHeaderRowDescriptor4.Name = "Row 1";
     this.gridGroupingControl1.TableDescriptor.StackedHeaderRows.Add(gridStackedHeaderRowDescriptor4);
     this.gridGroupingControl1.TableDescriptor.SummaryRows.Add(new Syncfusion.Windows.Forms.Grid.Grouping.GridSummaryRowDescriptor("SummaryRow 1", new Syncfusion.Windows.Forms.Grid.Grouping.GridSummaryColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridSummaryColumnDescriptor("FreightAverage", Syncfusion.Grouping.SummaryType.DoubleAggregate, "Freight", "{Average:###.00}")
     }));
     this.gridGroupingControl1.TableDescriptor.SummaryRows.Add(new Syncfusion.Windows.Forms.Grid.Grouping.GridSummaryRowDescriptor("SummaryRow 2", "Total", new Syncfusion.Windows.Forms.Grid.Grouping.GridSummaryColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridSummaryColumnDescriptor("FreightTotal", Syncfusion.Grouping.SummaryType.DoubleAggregate, "Freight", "{Sum:###.00}")
     }));
     this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25;
     this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight       = 20;
     this.gridGroupingControl1.TableDescriptor.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("OrderID"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("CustomerID"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("EmployeeID"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("OrderDate"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Freight"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("RequiredDate"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ShippedDate"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ShipVia"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ShipName"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ShipAddress"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ShipCity"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ShipRegion"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ShipPostalCode"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ShipCountry")
     });
     this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))));
     this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false;
     //
     // northwindDataSet1
     //
     this.northwindDataSet1.DataSetName             = "DataSet1";
     this.northwindDataSet1.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.northwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // checkBoxAdv1
     //
     this.checkBoxAdv1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBoxAdv1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBoxAdv1.DrawFocusRectangle = false;
     this.checkBoxAdv1.Location           = new System.Drawing.Point(679, 13);
     this.checkBoxAdv1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.checkBoxAdv1.Name               = "checkBoxAdv1";
     this.checkBoxAdv1.Size               = new System.Drawing.Size(150, 21);
     this.checkBoxAdv1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxAdv1.TabIndex           = 12;
     this.checkBoxAdv1.Text               = "Enable Touch mode";
     this.checkBoxAdv1.ThemesEnabled      = false;
     this.checkBoxAdv1.CheckStateChanged += new System.EventHandler(this.checkBoxAdv1_CheckStateChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1012, 659);
     this.Controls.Add(this.checkBoxAdv1);
     this.Controls.Add(this.propertyGrid1);
     this.Controls.Add(this.gridGroupingControl1);
     this.MinimumSize = new System.Drawing.Size(850, 500);
     this.Name        = "Form1";
     this.Text        = "Stacked Headers";
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor1           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor2           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor3           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor4           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor5           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor6           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor7           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor         gridRelationDescriptor1         = new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor8           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor9           = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor10          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor11          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor12          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor           gridColumnDescriptor13          = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderRowDescriptor gridStackedHeaderRowDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderRowDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor1    = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor2    = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor3    = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor4    = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor    gridStackedHeaderDescriptor5    = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.dataset11            = new GroupingEvents.Dataset1();
     this.contextMenu1         = new System.Windows.Forms.ContextMenu();
     this.menuItem1            = new System.Windows.Forms.MenuItem();
     this.panel1                   = new System.Windows.Forms.Panel();
     this.button1                  = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label1                   = new System.Windows.Forms.Label();
     this.label2                   = new System.Windows.Forms.Label();
     this.listView1                = new System.Windows.Forms.ListView();
     this.columnHeader1            = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader2            = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.freezeCaptioncheckBoxAdv = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.freezeCaptioncheckBoxAdv)).BeginInit();
     this.SuspendLayout();
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.DataMember    = "Employees";
     this.gridGroupingControl1.DataSource    = this.dataset11;
     this.gridGroupingControl1.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridGroupingControl1.FreezeCaption = false;
     this.gridGroupingControl1.Location      = new System.Drawing.Point(2, 0);
     this.gridGroupingControl1.Name          = "gridGroupingControl1";
     this.gridGroupingControl1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.ShowGroupDropArea = true;
     this.gridGroupingControl1.Size             = new System.Drawing.Size(883, 355);
     this.gridGroupingControl1.TabIndex         = 0;
     gridColumnDescriptor1.HeaderImage          = null;
     gridColumnDescriptor1.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor1.HeaderText           = "Employee ID";
     gridColumnDescriptor1.MappingName          = "EmployeeID";
     gridColumnDescriptor1.SerializedImageArray = "";
     gridColumnDescriptor2.HeaderImage          = null;
     gridColumnDescriptor2.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor2.HeaderText           = "First Name";
     gridColumnDescriptor2.MappingName          = "FirstName";
     gridColumnDescriptor2.SerializedImageArray = "";
     gridColumnDescriptor3.HeaderImage          = null;
     gridColumnDescriptor3.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor3.HeaderText           = "Last Name";
     gridColumnDescriptor3.MappingName          = "LastName";
     gridColumnDescriptor3.SerializedImageArray = "";
     gridColumnDescriptor4.HeaderImage          = null;
     gridColumnDescriptor4.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor4.MappingName          = "Title";
     gridColumnDescriptor4.SerializedImageArray = "";
     gridColumnDescriptor5.HeaderImage          = null;
     gridColumnDescriptor5.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor5.MappingName          = "Address";
     gridColumnDescriptor5.SerializedImageArray = "";
     gridColumnDescriptor6.HeaderImage          = null;
     gridColumnDescriptor6.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor6.MappingName          = "City";
     gridColumnDescriptor6.SerializedImageArray = "";
     gridColumnDescriptor7.HeaderImage          = null;
     gridColumnDescriptor7.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor7.MappingName          = "Country";
     gridColumnDescriptor7.SerializedImageArray = "";
     this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] {
         gridColumnDescriptor1,
         gridColumnDescriptor2,
         gridColumnDescriptor3,
         gridColumnDescriptor4,
         gridColumnDescriptor5,
         gridColumnDescriptor6,
         gridColumnDescriptor7
     });
     gridColumnDescriptor8.HeaderImage           = null;
     gridColumnDescriptor8.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor8.HeaderText            = "Customer ID";
     gridColumnDescriptor8.MappingName           = "CustomerID";
     gridColumnDescriptor8.SerializedImageArray  = "";
     gridColumnDescriptor9.HeaderImage           = null;
     gridColumnDescriptor9.HeaderImageAlignment  = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor9.HeaderText            = "Order Date";
     gridColumnDescriptor9.MappingName           = "OrderDate";
     gridColumnDescriptor9.SerializedImageArray  = "";
     gridColumnDescriptor10.HeaderImage          = null;
     gridColumnDescriptor10.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor10.HeaderText           = "Order ID";
     gridColumnDescriptor10.MappingName          = "OrderID";
     gridColumnDescriptor10.SerializedImageArray = "";
     gridColumnDescriptor11.HeaderImage          = null;
     gridColumnDescriptor11.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor11.HeaderText           = "Ship Address";
     gridColumnDescriptor11.MappingName          = "ShipAddress";
     gridColumnDescriptor11.SerializedImageArray = "";
     gridColumnDescriptor12.HeaderImage          = null;
     gridColumnDescriptor12.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor12.HeaderText           = "Ship Name";
     gridColumnDescriptor12.MappingName          = "ShipName";
     gridColumnDescriptor12.SerializedImageArray = "";
     gridColumnDescriptor13.HeaderImage          = null;
     gridColumnDescriptor13.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor13.HeaderText           = "Shipped Date";
     gridColumnDescriptor13.MappingName          = "ShippedDate";
     gridColumnDescriptor13.SerializedImageArray = "";
     gridRelationDescriptor1.ChildTableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] {
         gridColumnDescriptor8,
         gridColumnDescriptor9,
         gridColumnDescriptor10,
         gridColumnDescriptor11,
         gridColumnDescriptor12,
         gridColumnDescriptor13
     });
     gridRelationDescriptor1.ChildTableDescriptor.StackedHeaderRows.Add(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderRowDescriptor("Row 1", new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor("Header 1", new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
             new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("CustomerID"),
             new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("OrderDate"),
             new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("OrderID"),
             new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipAddress"),
             new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipName"),
             new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShippedDate")
         })
     }));
     gridRelationDescriptor1.MappingName = "EmployeesOrders";
     this.gridGroupingControl1.TableDescriptor.Relations.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor[] {
         gridRelationDescriptor1
     });
     gridStackedHeaderRowDescriptor1.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridStackedHeaderDescriptor1.Appearance.StackedHeaderCell.Interior    = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))));
     gridStackedHeaderDescriptor1.Name = "Header 1";
     gridStackedHeaderDescriptor1.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("EmployeeID"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("FirstName"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("LastName")
     });
     gridStackedHeaderDescriptor2.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))));
     gridStackedHeaderDescriptor2.Name = "Header 2";
     gridStackedHeaderDescriptor2.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Title"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Address")
     });
     gridStackedHeaderDescriptor3.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.Blue);
     gridStackedHeaderDescriptor3.Name = "Header 3";
     gridStackedHeaderDescriptor3.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("City"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Country"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("TitleOfCourtesy"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("BirthDate"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("HireDate")
     });
     gridStackedHeaderDescriptor4.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))));
     gridStackedHeaderDescriptor4.Name = "Header 4";
     gridStackedHeaderDescriptor4.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Region"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("PostalCode"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("HomePhone")
     });
     gridStackedHeaderDescriptor5.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))));
     gridStackedHeaderDescriptor5.Name = "Header 5";
     gridStackedHeaderDescriptor5.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Extension"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Photo"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("SmallPhoto"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Notes"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ReportsTo")
     });
     gridStackedHeaderRowDescriptor1.Headers.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor[] {
         gridStackedHeaderDescriptor1,
         gridStackedHeaderDescriptor2,
         gridStackedHeaderDescriptor3,
         gridStackedHeaderDescriptor4,
         gridStackedHeaderDescriptor5
     });
     gridStackedHeaderRowDescriptor1.Name = "Row 1";
     this.gridGroupingControl1.TableDescriptor.StackedHeaderRows.Add(gridStackedHeaderRowDescriptor1);
     this.gridGroupingControl1.TableDescriptor.TableOptions.CaptionRowHeight      = (int)DpiAware.LogicalToDeviceUnits(25.0f);
     this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = (int)DpiAware.LogicalToDeviceUnits(30.0f);
     this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight       = (int)DpiAware.LogicalToDeviceUnits(22.0f);
     this.gridGroupingControl1.TableDescriptor.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor[] {
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("EmployeeID"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("FirstName"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("LastName"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Title"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Address"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("City"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Country"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("TitleOfCourtesy"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("BirthDate"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("HireDate"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Region"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("PostalCode"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("HomePhone"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Extension"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Photo"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("SmallPhoto"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Notes"),
         new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ReportsTo")
     });
     this.gridGroupingControl1.Text = "y";
     this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.VersionInfo = "4.301.0.0";
     //
     // dataset11
     //
     this.dataset11.DataSetName             = "Dataset1";
     this.dataset11.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Enabled = false;
     this.menuItem1.Index   = 0;
     this.menuItem1.Text    = "Clear Window";
     this.menuItem1.Click  += new System.EventHandler(this.menuItem1_Click);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.gridGroupingControl1);
     this.panel1.Location = new System.Drawing.Point(28, 23);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(888, 355);
     this.panel1.TabIndex = 6;
     //
     // button1
     //
     this.button1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.FlatStyle         = FlatStyle.Flat;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(128, 24);
     this.button1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button1.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(790, 394);
     this.button1.Name              = "button1";
     this.button1.Size              = new System.Drawing.Size(128, 24);
     this.button1.TabIndex          = 12;
     this.button1.Text              = "Trace Events";
     this.button1.Click            += new System.EventHandler(this.button1_Click_1);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.DimGray;
     this.label1.Location  = new System.Drawing.Point(25, 402);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 16);
     this.label1.TabIndex  = 7;
     this.label1.Text      = "Event Tracer:";
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.DimGray;
     this.label2.Location  = new System.Drawing.Point(93, 402);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(218, 16);
     this.label2.TabIndex  = 8;
     this.label2.Text      = "(Right click to clear the output window)";
     //
     // listView1
     //
     this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.listView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2
     });
     this.listView1.ContextMenu = this.contextMenu1;
     this.listView1.Font        = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listView1.ForeColor   = System.Drawing.Color.DimGray;
     this.listView1.Location    = new System.Drawing.Point(25, 428);
     this.listView1.Name        = "listView1";
     this.listView1.Size        = new System.Drawing.Size(893, 201);
     this.listView1.TabIndex    = 9;
     this.listView1.TabStop     = false;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Event";
     this.columnHeader1.Width = 186;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Details";
     this.columnHeader2.Width = 759;
     //
     // freezeCaptioncheckBoxAdv
     //
     this.freezeCaptioncheckBoxAdv.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.freezeCaptioncheckBoxAdv.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.freezeCaptioncheckBoxAdv.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.freezeCaptioncheckBoxAdv.Location           = new System.Drawing.Point(618, 396);
     this.freezeCaptioncheckBoxAdv.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.freezeCaptioncheckBoxAdv.Name               = "freezeCaptioncheckBoxAdv";
     this.freezeCaptioncheckBoxAdv.Size               = new System.Drawing.Size(150, 21);
     this.freezeCaptioncheckBoxAdv.TabIndex           = 11;
     this.freezeCaptioncheckBoxAdv.Text               = "Freeze Caption";
     this.freezeCaptioncheckBoxAdv.ThemesEnabled      = true;
     this.freezeCaptioncheckBoxAdv.CheckStateChanged += new System.EventHandler(this.freezeCaptioncheckBoxAdv_CheckStateChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(940, 656);
     this.Controls.Add(this.freezeCaptioncheckBoxAdv);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(800, 600);
     this.Name        = "Form1";
     this.Text        = "Grouping Events";
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataset11)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.freezeCaptioncheckBoxAdv)).EndInit();
     this.ResumeLayout(false);
 }