/// <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(); DevComponents.DotNetBar.SuperGrid.Style.Padding padding1 = new DevComponents.DotNetBar.SuperGrid.Style.Padding(); DevComponents.DotNetBar.SuperGrid.Style.Padding padding2 = new DevComponents.DotNetBar.SuperGrid.Style.Padding(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn1 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn3 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn4 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn5 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn6 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow1 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell1 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell2 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell3 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell4 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell5 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow2 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell6 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell7 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell8 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell9 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell10 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow3 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell11 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell12 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell13 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell14 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell15 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridPanel gridPanel1 = new DevComponents.DotNetBar.SuperGrid.GridPanel(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn7 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn8 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn9 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn10 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn11 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.Style.BorderPattern borderPattern1 = new DevComponents.DotNetBar.SuperGrid.Style.BorderPattern(); DevComponents.DotNetBar.SuperGrid.Style.Thickness thickness1 = new DevComponents.DotNetBar.SuperGrid.Style.Thickness(); DevComponents.DotNetBar.SuperGrid.Style.Padding padding3 = new DevComponents.DotNetBar.SuperGrid.Style.Padding(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow4 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell16 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell17 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell18 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell19 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell20 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow5 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell21 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell22 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell23 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell24 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell25 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow6 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell26 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell27 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell28 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell29 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell30 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridPanel gridPanel2 = new DevComponents.DotNetBar.SuperGrid.GridPanel(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn12 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn13 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn14 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn15 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn16 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn17 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow7 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell31 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell32 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell33 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell34 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell35 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell36 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow8 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell37 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell38 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell39 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell40 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell41 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell42 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow9 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell43 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell44 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell45 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell46 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell47 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell48 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridPanel gridPanel3 = new DevComponents.DotNetBar.SuperGrid.GridPanel(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn18 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn19 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn20 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow10 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell49 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell50 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell51 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow11 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell52 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell53 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell54 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridRow gridRow12 = new DevComponents.DotNetBar.SuperGrid.GridRow(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell55 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell56 = new DevComponents.DotNetBar.SuperGrid.GridCell(); DevComponents.DotNetBar.SuperGrid.GridCell gridCell57 = new DevComponents.DotNetBar.SuperGrid.GridCell(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DemoStyling)); this.superGridControl1 = new DevComponents.DotNetBar.SuperGrid.SuperGridControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.bar1 = new DevComponents.DotNetBar.Bar(); ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit(); this.SuspendLayout(); // // superGridControl1 // this.superGridControl1.DefaultVisualStyles.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter; padding1.Bottom = 2; padding1.Left = 2; padding1.Right = 2; padding1.Top = 2; this.superGridControl1.DefaultVisualStyles.CellStyles.Default.Margin = padding1; padding2.Bottom = 4; padding2.Top = 4; this.superGridControl1.DefaultVisualStyles.ColumnHeaderStyles.Default.Margin = padding2; this.superGridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.superGridControl1.Location = new System.Drawing.Point(0, 25); this.superGridControl1.Name = "superGridControl1"; this.superGridControl1.PrimaryGrid.Caption.RowHeight = 30; this.superGridControl1.PrimaryGrid.Caption.Text = "SuperGrid Style Demo"; this.superGridControl1.PrimaryGrid.CheckBoxes = true; gridColumn1.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl); gridColumn1.Name = "ButtonX"; gridColumn2.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridCheckBoxXEditControl); gridColumn2.Name = "CheckBoxX"; gridColumn3.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridComboBoxExEditControl); gridColumn3.Name = "ComboBoxEx"; gridColumn4.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDateTimeInputEditControl); gridColumn4.Name = "DateTimeInput"; gridColumn5.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDateTimePickerEditControl); gridColumn5.Name = "DateTimePicker"; gridColumn6.Name = "Empty"; this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn1); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn2); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn3); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn4); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn5); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn6); this.superGridControl1.PrimaryGrid.DefaultRowHeight = 0; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter; this.superGridControl1.PrimaryGrid.Footer.RowHeight = 30; this.superGridControl1.PrimaryGrid.Footer.Text = "Styling Demo Footer"; this.superGridControl1.PrimaryGrid.Header.RowHeight = 30; this.superGridControl1.PrimaryGrid.Header.Text = "Styling Demo Header"; gridCell1.Value = "SuperGrid"; gridRow1.Cells.Add(gridCell1); gridRow1.Cells.Add(gridCell2); gridRow1.Cells.Add(gridCell3); gridRow1.Cells.Add(gridCell4); gridRow1.Cells.Add(gridCell5); gridCell6.Value = "Styling"; gridRow2.Cells.Add(gridCell6); gridRow2.Cells.Add(gridCell7); gridRow2.Cells.Add(gridCell8); gridRow2.Cells.Add(gridCell9); gridRow2.Cells.Add(gridCell10); gridRow2.ReadOnly = true; gridCell11.Value = "Demo"; gridRow3.Cells.Add(gridCell11); gridRow3.Cells.Add(gridCell12); gridRow3.Cells.Add(gridCell13); gridRow3.Cells.Add(gridCell14); gridRow3.Cells.Add(gridCell15); gridRow3.Expanded = true; gridPanel1.ActiveRowIndicatorStyle = DevComponents.DotNetBar.SuperGrid.ActiveRowIndicatorStyle.Highlight; gridPanel1.Caption.Text = "Sub Panel Caption"; gridColumn7.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight; gridColumn7.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDoubleInputEditControl); gridColumn7.Name = "DoubleInput"; gridColumn8.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight; gridColumn8.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridIntegerInputEditControl); gridColumn8.Name = "IntegerInput"; gridColumn9.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridIpAddressInputEditControl); gridColumn9.Name = "IpAddress"; gridColumn10.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridMaskedTextBoxEditControl); gridColumn10.Name = "MaskedTextBox"; gridColumn11.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight; gridColumn11.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridNumericUpDownEditControl); gridColumn11.Name = "NumericUpDown"; gridPanel1.Columns.Add(gridColumn7); gridPanel1.Columns.Add(gridColumn8); gridPanel1.Columns.Add(gridColumn9); gridPanel1.Columns.Add(gridColumn10); gridPanel1.Columns.Add(gridColumn11); gridPanel1.DefaultRowHeight = 0; borderPattern1.Bottom = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.Dot; borderPattern1.Left = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.Dot; borderPattern1.Right = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.Dot; borderPattern1.Top = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.Dot; gridPanel1.DefaultVisualStyles.CaptionStyles.Default.BorderPattern = borderPattern1; thickness1.Bottom = 1; thickness1.Left = 1; thickness1.Right = 1; thickness1.Top = 1; gridPanel1.DefaultVisualStyles.CaptionStyles.Default.BorderThickness = thickness1; padding3.Bottom = 2; padding3.Left = 2; padding3.Right = 2; padding3.Top = 2; gridPanel1.DefaultVisualStyles.CaptionStyles.Default.Margin = padding3; gridPanel1.Footer.Text = "And Footer"; gridPanel1.Name = "GridPanel1"; gridRow4.Cells.Add(gridCell16); gridRow4.Cells.Add(gridCell17); gridRow4.Cells.Add(gridCell18); gridRow4.Cells.Add(gridCell19); gridRow4.Cells.Add(gridCell20); gridRow5.Cells.Add(gridCell21); gridRow5.Cells.Add(gridCell22); gridRow5.Cells.Add(gridCell23); gridRow5.Cells.Add(gridCell24); gridRow5.Cells.Add(gridCell25); gridRow5.ReadOnly = true; gridRow6.Cells.Add(gridCell26); gridRow6.Cells.Add(gridCell27); gridRow6.Cells.Add(gridCell28); gridRow6.Cells.Add(gridCell29); gridRow6.Cells.Add(gridCell30); gridRow6.Expanded = true; gridPanel1.Rows.Add(gridRow4); gridPanel1.Rows.Add(gridRow5); gridPanel1.Rows.Add(gridRow6); gridPanel1.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled; gridPanel2.ActiveRowIndicatorStyle = DevComponents.DotNetBar.SuperGrid.ActiveRowIndicatorStyle.Both; gridColumn12.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridProgressBarXEditControl); gridColumn12.Name = "ProgressBarX"; gridColumn13.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridRatingStarEditControl); gridColumn13.Name = "RatingStar"; gridColumn13.Width = 80; gridColumn14.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridSliderEditControl); gridColumn14.Name = "Slider"; gridColumn14.Width = 150; gridColumn15.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridSwitchButtonEditControl); gridColumn15.Name = "SwitchButton"; gridColumn16.Name = "TextBoxX"; gridColumn17.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleLeft; gridColumn17.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxDropDownEditControl); gridColumn17.Name = "TextBoxDropDown"; gridColumn17.Width = 120; gridPanel2.Columns.Add(gridColumn12); gridPanel2.Columns.Add(gridColumn13); gridPanel2.Columns.Add(gridColumn14); gridPanel2.Columns.Add(gridColumn15); gridPanel2.Columns.Add(gridColumn16); gridPanel2.Columns.Add(gridColumn17); gridPanel2.DefaultRowHeight = 0; gridPanel2.Name = "GridPanel2"; gridPanel2.PrimaryColumnIndex = 5; gridRow7.Cells.Add(gridCell31); gridRow7.Cells.Add(gridCell32); gridRow7.Cells.Add(gridCell33); gridRow7.Cells.Add(gridCell34); gridRow7.Cells.Add(gridCell35); gridRow7.Cells.Add(gridCell36); gridRow8.Cells.Add(gridCell37); gridRow8.Cells.Add(gridCell38); gridRow8.Cells.Add(gridCell39); gridRow8.Cells.Add(gridCell40); gridRow8.Cells.Add(gridCell41); gridRow8.Cells.Add(gridCell42); gridRow8.ReadOnly = true; gridRow9.Cells.Add(gridCell43); gridRow9.Cells.Add(gridCell44); gridRow9.Cells.Add(gridCell45); gridRow9.Cells.Add(gridCell46); gridRow9.Cells.Add(gridCell47); gridRow9.Cells.Add(gridCell48); gridPanel2.Rows.Add(gridRow7); gridPanel2.Rows.Add(gridRow8); gridPanel2.Rows.Add(gridRow9); gridPanel2.ShowTreeButtons = true; gridPanel2.ShowTreeLines = true; gridPanel2.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled; gridColumn18.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridLabelXEditControl); gridColumn18.Name = "LabelX"; gridColumn19.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridImageEditControl); gridColumn19.Name = "Image"; gridColumn20.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridMicroChartEditControl); gridColumn20.Name = "MicroChart"; gridPanel3.Columns.Add(gridColumn18); gridPanel3.Columns.Add(gridColumn19); gridPanel3.Columns.Add(gridColumn20); gridPanel3.DefaultRowHeight = 100; gridPanel3.Name = "GridPanel3"; gridRow10.Cells.Add(gridCell49); gridRow10.Cells.Add(gridCell50); gridRow10.Cells.Add(gridCell51); gridRow11.Cells.Add(gridCell52); gridRow11.Cells.Add(gridCell53); gridRow11.Cells.Add(gridCell54); gridRow11.ReadOnly = true; gridRow12.Cells.Add(gridCell55); gridRow12.Cells.Add(gridCell56); gridRow12.Cells.Add(gridCell57); gridPanel3.Rows.Add(gridRow10); gridPanel3.Rows.Add(gridRow11); gridPanel3.Rows.Add(gridRow12); gridPanel3.ShowRowGridIndex = true; gridPanel3.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled; gridRow3.Rows.Add(gridPanel1); gridRow3.Rows.Add(gridPanel2); gridRow3.Rows.Add(gridPanel3); this.superGridControl1.PrimaryGrid.Rows.Add(gridRow1); this.superGridControl1.PrimaryGrid.Rows.Add(gridRow2); this.superGridControl1.PrimaryGrid.Rows.Add(gridRow3); this.superGridControl1.PrimaryGrid.ShowRowGridIndex = true; this.superGridControl1.PrimaryGrid.ShowTreeButtons = true; this.superGridControl1.PrimaryGrid.ShowTreeLines = true; this.superGridControl1.PrimaryGrid.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled; this.superGridControl1.PrimaryGrid.Title.RowHeight = 30; this.superGridControl1.PrimaryGrid.Title.Text = "Demo Title"; this.superGridControl1.PrimaryGrid.UseAlternateColumnStyle = true; this.superGridControl1.PrimaryGrid.UseAlternateRowStyle = true; this.superGridControl1.Size = new System.Drawing.Size(950, 577); this.superGridControl1.TabIndex = 6; this.superGridControl1.Text = "superGridControl1"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "Avion Small"); this.imageList1.Images.SetKeyName(1, "Car Small"); this.imageList1.Images.SetKeyName(2, "Helicopter Small"); this.imageList1.Images.SetKeyName(3, "Truck Small"); // // imageList2 // this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName(0, "Avion Large"); this.imageList2.Images.SetKeyName(1, "Car Large"); this.imageList2.Images.SetKeyName(2, "Helicopter Large"); this.imageList2.Images.SetKeyName(3, "Truck Large"); // // bar1 // this.bar1.AntiAlias = true; this.bar1.Dock = System.Windows.Forms.DockStyle.Top; this.bar1.Font = new System.Drawing.Font("Segoe UI", 9F); this.bar1.Location = new System.Drawing.Point(0, 0); this.bar1.Name = "bar1"; this.bar1.Size = new System.Drawing.Size(950, 25); this.bar1.Stretch = true; this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.bar1.TabIndex = 7; this.bar1.TabStop = false; this.bar1.Text = "bar1"; // // DemoStyling // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(950, 602); this.Controls.Add(this.superGridControl1); this.Controls.Add(this.bar1); this.DoubleBuffered = true; this.Name = "DemoStyling"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SuperGrid Demo - Grid Styling"; ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit(); this.ResumeLayout(false); }
/// <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(); DevComponents.DotNetBar.SuperGrid.Style.Padding padding1 = new DevComponents.DotNetBar.SuperGrid.Style.Padding(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn1 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DemoGridBasics2)); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn3 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn4 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.Style.Padding padding2 = new DevComponents.DotNetBar.SuperGrid.Style.Padding(); DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn5 = new DevComponents.DotNetBar.SuperGrid.GridColumn(); DevComponents.DotNetBar.SuperGrid.Style.Padding padding3 = new DevComponents.DotNetBar.SuperGrid.Style.Padding(); DevComponents.DotNetBar.SuperGrid.Style.Background background1 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend backColorBlend1 = new DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend(); DevComponents.DotNetBar.SuperGrid.Style.BorderPattern borderPattern1 = new DevComponents.DotNetBar.SuperGrid.Style.BorderPattern(); DevComponents.DotNetBar.SuperGrid.Style.Padding padding4 = new DevComponents.DotNetBar.SuperGrid.Style.Padding(); DevComponents.DotNetBar.SuperGrid.Style.Padding padding5 = new DevComponents.DotNetBar.SuperGrid.Style.Padding(); this.richTextBox1 = new DevComponents.DotNetBar.Controls.RichTextBoxEx(); this.cbxAltRowStyle = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.cbxAltColStyle = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.cbxTreeButtons = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.cbxHeaderImages = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.btnExpandAll = new DevComponents.DotNetBar.ButtonX(); this.btnCollapseAll = new DevComponents.DotNetBar.ButtonX(); this.comboBoxEx1 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.superGridControl1 = new DevComponents.DotNetBar.SuperGrid.SuperGridControl(); this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components); this.SuspendLayout(); // // richTextBox1 // this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.richTextBox1.BackColorRichTextBox = System.Drawing.Color.White; // // // this.richTextBox1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.richTextBox1.Location = new System.Drawing.Point(4, 4); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.ReadOnly = true; this.richTextBox1.Size = new System.Drawing.Size(780, 113); this.richTextBox1.TabIndex = 3; this.richTextBox1.TabStop = false; // // cbxAltRowStyle // this.cbxAltRowStyle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); // // // this.cbxAltRowStyle.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.cbxAltRowStyle.Location = new System.Drawing.Point(193, 555); this.cbxAltRowStyle.Name = "cbxAltRowStyle"; this.cbxAltRowStyle.Size = new System.Drawing.Size(160, 23); this.cbxAltRowStyle.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.cbxAltRowStyle.TabIndex = 3; this.cbxAltRowStyle.Text = "Use Alternate Row Style"; this.cbxAltRowStyle.CheckedChanged += new System.EventHandler(this.CbxAltRowStyleCheckedChanged); // // cbxAltColStyle // this.cbxAltColStyle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); // // // this.cbxAltColStyle.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.cbxAltColStyle.Location = new System.Drawing.Point(193, 583); this.cbxAltColStyle.Name = "cbxAltColStyle"; this.cbxAltColStyle.Size = new System.Drawing.Size(160, 23); this.cbxAltColStyle.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.cbxAltColStyle.TabIndex = 4; this.cbxAltColStyle.Text = "Use Alternate Column Style"; this.cbxAltColStyle.CheckedChanged += new System.EventHandler(this.CbxAltColStyleCheckedChanged); // // cbxTreeButtons // this.cbxTreeButtons.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); // // // this.cbxTreeButtons.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.cbxTreeButtons.Location = new System.Drawing.Point(14, 555); this.cbxTreeButtons.Name = "cbxTreeButtons"; this.cbxTreeButtons.Size = new System.Drawing.Size(173, 23); this.cbxTreeButtons.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.cbxTreeButtons.TabIndex = 1; this.cbxTreeButtons.Text = "Set Tree Buttons"; this.cbxTreeButtons.CheckedChanged += new System.EventHandler(this.CbxTreeButtonsCheckedChanged); // // cbxHeaderImages // this.cbxHeaderImages.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); // // // this.cbxHeaderImages.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.cbxHeaderImages.Location = new System.Drawing.Point(14, 583); this.cbxHeaderImages.Name = "cbxHeaderImages"; this.cbxHeaderImages.Size = new System.Drawing.Size(173, 23); this.cbxHeaderImages.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.cbxHeaderImages.TabIndex = 2; this.cbxHeaderImages.Text = "Show Column Header Images"; this.cbxHeaderImages.CheckedChanged += new System.EventHandler(this.CbxHeaderImagesCheckedChanged); // // btnExpandAll // this.btnExpandAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnExpandAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnExpandAll.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnExpandAll.Location = new System.Drawing.Point(620, 561); this.btnExpandAll.Name = "btnExpandAll"; this.btnExpandAll.Size = new System.Drawing.Size(152, 20); this.btnExpandAll.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnExpandAll.TabIndex = 7; this.btnExpandAll.Text = "Expand All Rows"; this.btnExpandAll.Click += new System.EventHandler(this.BtnExpandAllClick); // // btnCollapseAll // this.btnCollapseAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnCollapseAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnCollapseAll.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnCollapseAll.Location = new System.Drawing.Point(620, 587); this.btnCollapseAll.Name = "btnCollapseAll"; this.btnCollapseAll.Size = new System.Drawing.Size(152, 20); this.btnCollapseAll.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnCollapseAll.TabIndex = 8; this.btnCollapseAll.Text = "Collapse All Rows"; this.btnCollapseAll.Click += new System.EventHandler(this.BtnCollapseAllClick); // // comboBoxEx1 // this.comboBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.comboBoxEx1.DisplayMember = "Text"; this.comboBoxEx1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx1.FormattingEnabled = true; this.comboBoxEx1.ItemHeight = 14; this.comboBoxEx1.Location = new System.Drawing.Point(414, 584); this.comboBoxEx1.Name = "comboBoxEx1"; this.comboBoxEx1.Size = new System.Drawing.Size(106, 20); this.comboBoxEx1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.comboBoxEx1.TabIndex = 6; this.comboBoxEx1.SelectedIndexChanged += new System.EventHandler(this.ComboBoxEx1SelectedIndexChanged); // // labelX1 // this.labelX1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); // // // this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX1.Location = new System.Drawing.Point(414, 562); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(96, 19); this.labelX1.TabIndex = 5; this.labelX1.Text = "Sort Level"; // // superGridControl1 // this.superGridControl1.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))); padding1.Bottom = 2; padding1.Left = 2; padding1.Right = 2; padding1.Top = 2; this.superGridControl1.DefaultVisualStyles.CellStyles.Default.Margin = padding1; this.superGridControl1.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed; this.superGridControl1.Location = new System.Drawing.Point(0, 123); this.superGridControl1.Name = "superGridControl1"; this.superGridControl1.PrimaryGrid.Caption.Text = "Numeric related Input Cell Editors"; this.superGridControl1.PrimaryGrid.ColumnHeader.ShowHeaderImages = false; gridColumn1.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.Fill; gridColumn1.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleLeft; gridColumn1.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDateTimeInputEditControl); gridColumn1.FillWeight = 140; gridColumn1.HeaderStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image"))); gridColumn1.Name = "DateTimeInput"; gridColumn2.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.Fill; gridColumn2.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter; gridColumn2.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDateTimePickerEditControl); gridColumn2.FillWeight = 170; gridColumn2.HeaderStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image1"))); gridColumn2.Name = "DateTimePicker"; gridColumn3.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.Fill; gridColumn3.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight; gridColumn3.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridNumericUpDownEditControl); gridColumn3.FillWeight = 130; gridColumn3.HeaderStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image2"))); gridColumn3.Name = "NumericUpDown"; gridColumn4.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.Fill; gridColumn4.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight; gridColumn4.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridIntegerInputEditControl); gridColumn4.HeaderStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image3"))); gridColumn4.HeaderStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.BottomCenter; padding2.Bottom = 8; padding2.Left = 4; padding2.Right = 4; padding2.Top = 4; gridColumn4.HeaderStyles.Default.ImagePadding = padding2; gridColumn4.Name = "IntegerInput"; gridColumn5.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.Fill; gridColumn5.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight; gridColumn5.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDoubleInputEditControl); gridColumn5.HeaderStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image4"))); padding3.Bottom = 8; padding3.Left = 4; padding3.Right = 4; padding3.Top = 4; gridColumn5.HeaderStyles.Default.ImagePadding = padding3; gridColumn5.Name = "DoubleInput"; this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn1); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn2); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn3); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn4); this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn5); this.superGridControl1.PrimaryGrid.DefaultRowHeight = 30; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.False; backColorBlend1.Colors = new System.Drawing.Color[] { System.Drawing.Color.SkyBlue, System.Drawing.Color.SteelBlue, System.Drawing.Color.SteelBlue, System.Drawing.Color.Aqua }; background1.BackColorBlend = backColorBlend1; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.Background = background1; borderPattern1.Bottom = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.DashDotDot; borderPattern1.Left = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.DashDotDot; borderPattern1.Right = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.DashDotDot; borderPattern1.Top = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.DashDotDot; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.BorderPattern = borderPattern1; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); padding4.Bottom = 6; padding4.Left = 6; padding4.Right = 6; padding4.Top = 6; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.Margin = padding4; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.TextColor = System.Drawing.Color.White; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.ColumnHeaderStyles.Default.Font = new System.Drawing.Font("Segoe Print", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.superGridControl1.PrimaryGrid.DefaultVisualStyles.ColumnHeaderStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.BottomCenter; padding5.Bottom = 4; this.superGridControl1.PrimaryGrid.DefaultVisualStyles.ColumnHeaderStyles.Default.ImagePadding = padding5; this.superGridControl1.PrimaryGrid.FilterExpr = null; this.superGridControl1.PrimaryGrid.RowHeaderWidth = 50; this.superGridControl1.PrimaryGrid.ShowRowGridIndex = true; this.superGridControl1.PrimaryGrid.ShowTreeButtons = true; this.superGridControl1.PrimaryGrid.ShowTreeLines = true; this.superGridControl1.PrimaryGrid.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled; this.superGridControl1.Size = new System.Drawing.Size(784, 422); this.superGridControl1.TabIndex = 0; this.superGridControl1.Text = "superGridControl1"; // // styleManager1 // this.styleManager1.ManagerStyle = DevComponents.DotNetBar.eStyle.Windows7Blue; this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(26)))))); // // DemoGridBasics2 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 621); this.Controls.Add(this.labelX1); this.Controls.Add(this.comboBoxEx1); this.Controls.Add(this.btnCollapseAll); this.Controls.Add(this.btnExpandAll); this.Controls.Add(this.cbxHeaderImages); this.Controls.Add(this.cbxTreeButtons); this.Controls.Add(this.cbxAltColStyle); this.Controls.Add(this.cbxAltRowStyle); this.Controls.Add(this.superGridControl1); this.Controls.Add(this.richTextBox1); this.DoubleBuffered = true; this.EnableGlass = false; this.Name = "DemoGridBasics2"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "SuperGrid Demo - Numeric Related Control Types"; this.ResumeLayout(false); }