Example #1
0
        /// <summary>
        /// Event will be triggered when control is added in tabBarSplitterControl1.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void tabBarSplitterControl1_ControlAdded(object sender, ControlEventArgs e)
        {
            if (e.Control is TabBarPage)
            {
                e.Control.Text = "片" + sheetnumber.ToString();
                sheetnumber++;
                Syncfusion.Windows.Forms.Grid.GridControl gridControl = new Syncfusion.Windows.Forms.Grid.GridControl();

                gridControl.Dock = DockStyle.Fill;
                gridControl.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
                gridControl.ColCount = 100;
                gridControl.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
                gridControl.DefaultRowHeight       = 20;
                gridControl.Location = new System.Drawing.Point(189, 136);
                gridControl.Name     = "gridControl1";
                gridControl.Properties.ForceImmediateRepaint = false;
                gridControl.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
                gridControl.Properties.MarkColHeader         = false;
                gridControl.Properties.MarkRowHeader         = false;
                gridControl.RowCount = 100;
                gridControl.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
                    new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
                });
                gridControl.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
                gridControl.Size          = new System.Drawing.Size(321, 189);
                gridControl.SmartSizeBox  = false;
                gridControl.TabIndex      = 2;
                gridControl.Text          = "gridControl1";
                gridControl.ThemesEnabled = true;
                GridMetroColors theme = new GridMetroColors();
                theme.HeaderBottomBorderWeight        = GridBottomBorderWeight.Thick;
                theme.HeaderBottomBorderColor         = ColorTranslator.FromHtml("#217346");
                theme.HeaderColor.HoverColor          = ColorTranslator.FromHtml("#9fd5b7");
                theme.HeaderTextColor.NormalTextColor = Color.Black;
                gridControl.SetMetroStyle(theme);
                e.Control.Controls.Add(gridControl);
            }
        }
Example #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.GridRangeStyle   gridRangeStyle1 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle   gridRangeStyle2 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.gridControl1   = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.gridControl2   = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.label1         = new System.Windows.Forms.Label();
     this.BaseStyleColor = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.BaseStyleCheck = new System.Windows.Forms.CheckBox();
     this.Cell32Color    = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.Cell32Check    = new System.Windows.Forms.CheckBox();
     this.Column2Color   = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.Column2Check   = new System.Windows.Forms.CheckBox();
     this.Row3Color      = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.Row3Check      = new System.Windows.Forms.CheckBox();
     this.TableColor     = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.TableCheck     = new System.Windows.Forms.CheckBox();
     this.StandardColor  = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.StandardCheck  = new System.Windows.Forms.CheckBox();
     this.groupBox2      = new System.Windows.Forms.GroupBox();
     this.label2         = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridControl1.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.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount               = 7;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.Location             = new System.Drawing.Point(10, 111);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.ForceImmediateRepaint = false;
     this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     gridRangeStyle1.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle1.StyleInfo.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);
     gridRangeStyle1.StyleInfo.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);
     gridRangeStyle1.StyleInfo.Font.Bold      = false;
     gridRangeStyle1.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle1.StyleInfo.Font.Italic    = false;
     gridRangeStyle1.StyleInfo.Font.Size      = 9F;
     gridRangeStyle1.StyleInfo.Font.Strikeout = false;
     gridRangeStyle1.StyleInfo.Font.Underline = false;
     gridRangeStyle1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle1.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle1.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1
     });
     this.gridControl1.RowCount = 20;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size          = new System.Drawing.Size(490, 443);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     this.gridControl1.UseRightToLeftCompatibleTextBox = true;
     //
     // gridControl2
     //
     this.gridControl2.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControl2.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl2.ColCount               = 4;
     this.gridControl2.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl2.DefaultRowHeight       = 20;
     this.gridControl2.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.gridControl2.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl2.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl2.Location             = new System.Drawing.Point(15, 112);
     this.gridControl2.MetroScrollBars      = true;
     this.gridControl2.Name = "gridControl2";
     this.gridControl2.Properties.ForceImmediateRepaint = false;
     this.gridControl2.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridControl2.Properties.MarkColHeader         = false;
     this.gridControl2.Properties.MarkRowHeader         = false;
     gridRangeStyle2.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle2.StyleInfo.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);
     gridRangeStyle2.StyleInfo.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);
     gridRangeStyle2.StyleInfo.Font.Bold      = false;
     gridRangeStyle2.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle2.StyleInfo.Font.Italic    = false;
     gridRangeStyle2.StyleInfo.Font.Size      = 9F;
     gridRangeStyle2.StyleInfo.Font.Strikeout = false;
     gridRangeStyle2.StyleInfo.Font.Underline = false;
     gridRangeStyle2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle2.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle2.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl2.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle2
     });
     this.gridControl2.RowCount = 9;
     this.gridControl2.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl2.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl2.Size          = new System.Drawing.Size(313, 209);
     this.gridControl2.SmartSizeBox  = false;
     this.gridControl2.TabIndex      = 1;
     this.gridControl2.Text          = "gridControl2";
     this.gridControl2.ThemesEnabled = true;
     this.gridControl2.UseRightToLeftCompatibleTextBox = true;
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.BaseStyleColor);
     this.groupBox1.Controls.Add(this.BaseStyleCheck);
     this.groupBox1.Controls.Add(this.Cell32Color);
     this.groupBox1.Controls.Add(this.Cell32Check);
     this.groupBox1.Controls.Add(this.Column2Color);
     this.groupBox1.Controls.Add(this.Column2Check);
     this.groupBox1.Controls.Add(this.Row3Color);
     this.groupBox1.Controls.Add(this.Row3Check);
     this.groupBox1.Controls.Add(this.TableColor);
     this.groupBox1.Controls.Add(this.TableCheck);
     this.groupBox1.Controls.Add(this.StandardColor);
     this.groupBox1.Controls.Add(this.StandardCheck);
     this.groupBox1.Controls.Add(this.gridControl2);
     this.groupBox1.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.ForeColor = System.Drawing.Color.DimGray;
     this.groupBox1.Location  = new System.Drawing.Point(540, 14);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(334, 567);
     this.groupBox1.TabIndex  = 2;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Styles via StyleObjects";
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.DimGray;
     this.label1.Location  = new System.Drawing.Point(14, 34);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(314, 74);
     this.label1.TabIndex  = 0;
     this.label1.Text      = resources.GetString("label1.Text");
     //
     // BaseStyleColor
     //
     this.BaseStyleColor.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(231)))), ((int)(((byte)(242)))));
     this.BaseStyleColor.BeforeTouchSize   = new System.Drawing.Size(75, 23);
     this.BaseStyleColor.ColorUISize       = new System.Drawing.Size(208, 230);
     this.BaseStyleColor.IsBackStageButton = false;
     this.BaseStyleColor.Location          = new System.Drawing.Point(57, 382);
     this.BaseStyleColor.Name                    = "BaseStyleColor";
     this.BaseStyleColor.SelectedColor           = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(231)))), ((int)(((byte)(242)))));
     this.BaseStyleColor.SelectedColorGroup      = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
     this.BaseStyleColor.Size                    = new System.Drawing.Size(75, 23);
     this.BaseStyleColor.TabIndex                = 17;
     this.BaseStyleColor.UseVisualStyleBackColor = false;
     //
     // BaseStyleCheck
     //
     this.BaseStyleCheck.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.BaseStyleCheck.Location        = new System.Drawing.Point(151, 383);
     this.BaseStyleCheck.Name            = "BaseStyleCheck";
     this.BaseStyleCheck.Size            = new System.Drawing.Size(135, 24);
     this.BaseStyleCheck.TabIndex        = 16;
     this.BaseStyleCheck.Text            = "GridBaseStyle";
     this.BaseStyleCheck.CheckedChanged += new System.EventHandler(this.ApplySettings);
     //
     // Cell32Color
     //
     this.Cell32Color.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(67)))), ((int)(((byte)(142)))));
     this.Cell32Color.BeforeTouchSize   = new System.Drawing.Size(75, 23);
     this.Cell32Color.ColorUISize       = new System.Drawing.Size(208, 230);
     this.Cell32Color.IsBackStageButton = false;
     this.Cell32Color.Location          = new System.Drawing.Point(57, 526);
     this.Cell32Color.Name                    = "Cell32Color";
     this.Cell32Color.SelectedColor           = System.Drawing.Color.FromArgb(((int)(((byte)(42)))), ((int)(((byte)(67)))), ((int)(((byte)(142)))));
     this.Cell32Color.SelectedColorGroup      = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
     this.Cell32Color.Size                    = new System.Drawing.Size(75, 23);
     this.Cell32Color.TabIndex                = 25;
     this.Cell32Color.UseVisualStyleBackColor = false;
     //
     // Cell32Check
     //
     this.Cell32Check.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.Cell32Check.Location        = new System.Drawing.Point(151, 528);
     this.Cell32Check.Name            = "Cell32Check";
     this.Cell32Check.Size            = new System.Drawing.Size(135, 24);
     this.Cell32Check.TabIndex        = 24;
     this.Cell32Check.Text            = "Cell 3,2 GridStyleInfo";
     this.Cell32Check.CheckedChanged += new System.EventHandler(this.ApplySettings);
     //
     // Column2Color
     //
     this.Column2Color.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(191)))), ((int)(((byte)(117)))));
     this.Column2Color.BeforeTouchSize   = new System.Drawing.Size(75, 23);
     this.Column2Color.ColorUISize       = new System.Drawing.Size(208, 230);
     this.Column2Color.IsBackStageButton = false;
     this.Column2Color.Location          = new System.Drawing.Point(57, 455);
     this.Column2Color.Name                    = "Column2Color";
     this.Column2Color.SelectedColor           = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(191)))), ((int)(((byte)(117)))));
     this.Column2Color.SelectedColorGroup      = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
     this.Column2Color.Size                    = new System.Drawing.Size(75, 23);
     this.Column2Color.TabIndex                = 21;
     this.Column2Color.UseVisualStyleBackColor = false;
     //
     // Column2Check
     //
     this.Column2Check.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.Column2Check.Location        = new System.Drawing.Point(151, 457);
     this.Column2Check.Name            = "Column2Check";
     this.Column2Check.Size            = new System.Drawing.Size(143, 24);
     this.Column2Check.TabIndex        = 20;
     this.Column2Check.Text            = "Column2 GridStyleInfo";
     this.Column2Check.CheckedChanged += new System.EventHandler(this.ApplySettings);
     //
     // Row3Color
     //
     this.Row3Color.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19)))));
     this.Row3Color.BeforeTouchSize   = new System.Drawing.Size(75, 23);
     this.Row3Color.ColorUISize       = new System.Drawing.Size(208, 230);
     this.Row3Color.IsBackStageButton = false;
     this.Row3Color.Location          = new System.Drawing.Point(57, 491);
     this.Row3Color.Name                    = "Row3Color";
     this.Row3Color.SelectedColor           = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19)))));
     this.Row3Color.SelectedColorGroup      = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
     this.Row3Color.Size                    = new System.Drawing.Size(75, 23);
     this.Row3Color.TabIndex                = 23;
     this.Row3Color.UseVisualStyleBackColor = false;
     //
     // Row3Check
     //
     this.Row3Check.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.Row3Check.Location        = new System.Drawing.Point(151, 493);
     this.Row3Check.Name            = "Row3Check";
     this.Row3Check.Size            = new System.Drawing.Size(135, 24);
     this.Row3Check.TabIndex        = 22;
     this.Row3Check.Text            = "Row3 GridStyleInfo";
     this.Row3Check.CheckedChanged += new System.EventHandler(this.ApplySettings);
     //
     // TableColor
     //
     this.TableColor.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(214)))), ((int)(((byte)(233)))));
     this.TableColor.BeforeTouchSize   = new System.Drawing.Size(75, 23);
     this.TableColor.ColorUISize       = new System.Drawing.Size(208, 230);
     this.TableColor.IsBackStageButton = false;
     this.TableColor.Location          = new System.Drawing.Point(57, 418);
     this.TableColor.Name                    = "TableColor";
     this.TableColor.SelectedColor           = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(214)))), ((int)(((byte)(233)))));
     this.TableColor.SelectedColorGroup      = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
     this.TableColor.Size                    = new System.Drawing.Size(75, 23);
     this.TableColor.TabIndex                = 19;
     this.TableColor.UseVisualStyleBackColor = false;
     //
     // TableCheck
     //
     this.TableCheck.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.TableCheck.Location        = new System.Drawing.Point(151, 420);
     this.TableCheck.Name            = "TableCheck";
     this.TableCheck.Size            = new System.Drawing.Size(135, 24);
     this.TableCheck.TabIndex        = 18;
     this.TableCheck.Text            = "Table GridStyleInfo";
     this.TableCheck.CheckedChanged += new System.EventHandler(this.ApplySettings);
     //
     // StandardColor
     //
     this.StandardColor.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(191)))), ((int)(((byte)(242)))));
     this.StandardColor.BeforeTouchSize   = new System.Drawing.Size(75, 23);
     this.StandardColor.ColorUISize       = new System.Drawing.Size(208, 230);
     this.StandardColor.IsBackStageButton = false;
     this.StandardColor.Location          = new System.Drawing.Point(57, 348);
     this.StandardColor.Name                    = "StandardColor";
     this.StandardColor.SelectedColor           = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(191)))), ((int)(((byte)(242)))));
     this.StandardColor.SelectedColorGroup      = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
     this.StandardColor.Size                    = new System.Drawing.Size(75, 23);
     this.StandardColor.TabIndex                = 15;
     this.StandardColor.UseVisualStyleBackColor = false;
     //
     // StandardCheck
     //
     this.StandardCheck.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.StandardCheck.Location        = new System.Drawing.Point(151, 349);
     this.StandardCheck.Name            = "StandardCheck";
     this.StandardCheck.Size            = new System.Drawing.Size(152, 24);
     this.StandardCheck.TabIndex        = 14;
     this.StandardCheck.Text            = "Standard GridStyleInfo";
     this.StandardCheck.CheckedChanged += new System.EventHandler(this.ApplySettings);
     //
     // groupBox2
     //
     this.groupBox2.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.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.gridControl1);
     this.groupBox2.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.ForeColor = System.Drawing.Color.DimGray;
     this.groupBox2.Location  = new System.Drawing.Point(12, 14);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(511, 567);
     this.groupBox2.TabIndex  = 3;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "CellStyles ";
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.DimGray;
     this.label2.Location  = new System.Drawing.Point(10, 34);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(493, 74);
     this.label2.TabIndex  = 27;
     this.label2.Text      = resources.GetString("label2.Text");
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(891, 595);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.groupBox2);
     this.MinimumSize = new System.Drawing.Size(670, 622);
     this.Name        = "Form1";
     this.Text        = "Grid Style ";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     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();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle   gridRangeStyle1 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle   gridRangeStyle2 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle   gridRangeStyle3 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle   gridRangeStyle4 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle   gridRangeStyle5 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle   gridRangeStyle6 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle   gridRangeStyle7 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.imageList1   = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.DpiAware = true;
     this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridControl1.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.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F);
     //this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     //this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.DefaultRowHeight = (int)DpiAware.LogicalToDeviceUnits(20.0f);
     this.gridControl1.ColWidths[0]     = (int)DpiAware.LogicalToDeviceUnits(30.0f);
     this.gridControl1.Location         = new System.Drawing.Point(12, 12);
     //this.gridControl1.MetroScrollBars = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.ForceImmediateRepaint = false;
     this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     gridRangeStyle1.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle1.StyleInfo.Font.Bold      = false;
     gridRangeStyle1.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle1.StyleInfo.Font.Italic    = false;
     gridRangeStyle1.StyleInfo.Font.Size      = 9F;
     gridRangeStyle1.StyleInfo.Font.Strikeout = false;
     gridRangeStyle1.StyleInfo.Font.Underline = false;
     gridRangeStyle1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle2.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle2.StyleInfo.Font.Bold      = false;
     gridRangeStyle2.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle2.StyleInfo.Font.Italic    = false;
     gridRangeStyle2.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle2.StyleInfo.Font.Strikeout = false;
     gridRangeStyle2.StyleInfo.Font.Underline = false;
     gridRangeStyle2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle3.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle3.StyleInfo.Font.Bold      = false;
     gridRangeStyle3.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle3.StyleInfo.Font.Italic    = false;
     gridRangeStyle3.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle3.StyleInfo.Font.Strikeout = false;
     gridRangeStyle3.StyleInfo.Font.Underline = false;
     gridRangeStyle3.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle4.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle4.StyleInfo.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);
     gridRangeStyle4.StyleInfo.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);
     gridRangeStyle4.StyleInfo.Font.Bold      = false;
     gridRangeStyle4.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle4.StyleInfo.Font.Italic    = false;
     gridRangeStyle4.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle4.StyleInfo.Font.Strikeout = false;
     gridRangeStyle4.StyleInfo.Font.Underline = false;
     gridRangeStyle4.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle4.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle4.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     gridRangeStyle5.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle5.StyleInfo.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);
     gridRangeStyle5.StyleInfo.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);
     gridRangeStyle5.StyleInfo.Font.Bold      = false;
     gridRangeStyle5.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle5.StyleInfo.Font.Italic    = false;
     gridRangeStyle5.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle5.StyleInfo.Font.Strikeout = false;
     gridRangeStyle5.StyleInfo.Font.Underline = false;
     gridRangeStyle5.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle5.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle5.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     gridRangeStyle6.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle6.StyleInfo.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);
     gridRangeStyle6.StyleInfo.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);
     gridRangeStyle6.StyleInfo.Font.Bold      = false;
     gridRangeStyle6.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle6.StyleInfo.Font.Italic    = false;
     gridRangeStyle6.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle6.StyleInfo.Font.Strikeout = false;
     gridRangeStyle6.StyleInfo.Font.Underline = false;
     gridRangeStyle6.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle6.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle6.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     gridRangeStyle7.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle7.StyleInfo.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);
     gridRangeStyle7.StyleInfo.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);
     gridRangeStyle7.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle7.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle7.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1,
         gridRangeStyle2,
         gridRangeStyle3,
         gridRangeStyle4,
         gridRangeStyle5,
         gridRangeStyle6,
         gridRangeStyle7
     });
     this.gridControl1.RowCount = 65;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, (int)DpiAware.LogicalToDeviceUnits(29.0f))
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size          = new System.Drawing.Size(764, 469);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     this.gridControl1.UseRightToLeftCompatibleTextBox = true;
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "box.jpg");
     this.imageList1.Images.SetKeyName(1, "bopen.jpg");
     this.imageList1.Images.SetKeyName(2, "let.jpg");
     this.imageList1.Images.SetKeyName(3, "let2.jpg");
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(788, 493);
     this.Controls.Add(this.gridControl1);
     this.DropShadow  = true;
     this.MinimumSize = new System.Drawing.Size(500, 400);
     this.Name        = "Form1";
     this.Text        = "Cell Customization ";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).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()
 {
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle1 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     this.comboBox2        = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.comboBox1        = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.label2           = new System.Windows.Forms.Label();
     this.label1           = new System.Windows.Forms.Label();
     this.grid             = new System.Windows.Forms.GroupBox();
     this.gridControl1     = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.gridListControl1 = new Syncfusion.Windows.Forms.Grid.GridListControl();
     this.gridList         = new System.Windows.Forms.GroupBox();
     this.parent           = new System.Windows.Forms.GroupBox();
     this.styles           = new System.Windows.Forms.GroupBox();
     this.label3           = new System.Windows.Forms.Label();
     this.label4           = new System.Windows.Forms.Label();
     this.label5           = new System.Windows.Forms.Label();
     this.label6           = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
     this.grid.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListControl1)).BeginInit();
     this.gridList.SuspendLayout();
     this.parent.SuspendLayout();
     this.styles.SuspendLayout();
     this.SuspendLayout();
     //
     // comboBox2
     //
     this.comboBox2.BackColor       = System.Drawing.Color.White;
     this.comboBox2.BeforeTouchSize = new System.Drawing.Size(159, 23);
     this.comboBox2.Font            = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.Items.AddRange(new object[] {
         "Office2007Blue",
         "Office2007Black",
         "Office2007Silver",
         "Office2010Blue",
         "Office2010Black",
         "Office2010Silver",
         "Office2016Black",
         "Office2016White",
         "Office2016Colorful",
         "Office2016DarkGray"
     });
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2007Blue"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2007Black"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2007Silver"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2010Blue"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2010Black"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2010Silver"));
     this.comboBox2.Location              = new System.Drawing.Point(119, 75);
     this.comboBox2.MetroColor            = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.comboBox2.Name                  = "comboBox2";
     this.comboBox2.Size                  = new System.Drawing.Size(159, 23);
     this.comboBox2.Style                 = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox2.TabIndex              = 3;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // comboBox1
     //
     this.comboBox1.BackColor       = System.Drawing.Color.White;
     this.comboBox1.BeforeTouchSize = new System.Drawing.Size(159, 23);
     this.comboBox1.Font            = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.Items.AddRange(new object[] {
         "Parent Container",
         "GridControl",
         "GridListControl"
     });
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "Parent Container"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "GridControl"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "GridListControl"));
     this.comboBox1.Location              = new System.Drawing.Point(119, 37);
     this.comboBox1.MetroColor            = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(159, 23);
     this.comboBox1.Style                 = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox1.TabIndex              = 2;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(17, 80);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(78, 15);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Visual Theme";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(14, 39);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(84, 15);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Parent Control";
     //
     // grid
     //
     this.grid.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.grid.Controls.Add(this.gridControl1);
     this.grid.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grid.Location = new System.Drawing.Point(20, 24);
     this.grid.Name     = "grid";
     this.grid.Size     = new System.Drawing.Size(640, 424);
     this.grid.TabIndex = 5;
     this.grid.TabStop  = false;
     this.grid.Text     = "GridControl";
     //
     // gridControl1
     //
     this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridControl1.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.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount               = 15;
     this.gridControl1.DefaultColWidth        = 90;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.Location             = new System.Drawing.Point(17, 30);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.ForceImmediateRepaint = false;
     this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     gridRangeStyle1.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle1.StyleInfo.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);
     gridRangeStyle1.StyleInfo.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);
     gridRangeStyle1.StyleInfo.Font.Bold      = false;
     gridRangeStyle1.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle1.StyleInfo.Font.Italic    = false;
     gridRangeStyle1.StyleInfo.Font.Size      = 9F;
     gridRangeStyle1.StyleInfo.Font.Strikeout = false;
     gridRangeStyle1.StyleInfo.Font.Underline = false;
     gridRangeStyle1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1
     });
     this.gridControl1.RowCount = 20;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size          = new System.Drawing.Size(607, 371);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     this.gridControl1.UseRightToLeftCompatibleTextBox = true;
     //
     // gridListControl1
     //
     this.gridListControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridListControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.gridListControl1.BackColor                        = System.Drawing.SystemColors.Control;
     this.gridListControl1.BorderStyle                      = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridListControl1.GridVisualStyles                 = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridListControl1.ItemHeight                       = 20;
     this.gridListControl1.Location                         = new System.Drawing.Point(17, 22);
     this.gridListControl1.MultiColumn                      = false;
     this.gridListControl1.Name                             = "gridListControl1";
     this.gridListControl1.Properties.BackgroundColor       = System.Drawing.SystemColors.Window;
     this.gridListControl1.Properties.ForceImmediateRepaint = false;
     this.gridListControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridListControl1.Properties.MarkColHeader         = false;
     this.gridListControl1.Properties.MarkRowHeader         = false;
     this.gridListControl1.SelectedIndex                    = -1;
     this.gridListControl1.Size                             = new System.Drawing.Size(607, 101);
     this.gridListControl1.TabIndex                         = 1;
     this.gridListControl1.ThemesEnabled                    = true;
     this.gridListControl1.TopIndex                         = 0;
     //
     // gridList
     //
     this.gridList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.gridList.Controls.Add(this.gridListControl1);
     this.gridList.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridList.Location = new System.Drawing.Point(20, 471);
     this.gridList.Name     = "gridList";
     this.gridList.Size     = new System.Drawing.Size(640, 136);
     this.gridList.TabIndex = 6;
     this.gridList.TabStop  = false;
     this.gridList.Text     = "GridListControl";
     //
     // parent
     //
     this.parent.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.parent.Controls.Add(this.grid);
     this.parent.Controls.Add(this.gridList);
     this.parent.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parent.ForeColor = System.Drawing.Color.Black;
     this.parent.Location  = new System.Drawing.Point(12, 12);
     this.parent.Name      = "parent";
     this.parent.Size      = new System.Drawing.Size(673, 618);
     this.parent.TabIndex  = 7;
     this.parent.TabStop   = false;
     this.parent.Text      = "Parent Container";
     //
     // styles
     //
     this.styles.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.styles.BackColor = System.Drawing.Color.White;
     this.styles.Controls.Add(this.comboBox2);
     this.styles.Controls.Add(this.comboBox1);
     this.styles.Controls.Add(this.label2);
     this.styles.Controls.Add(this.label1);
     this.styles.Font     = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.styles.Location = new System.Drawing.Point(712, 36);
     this.styles.Name     = "styles";
     this.styles.Size     = new System.Drawing.Size(295, 133);
     this.styles.TabIndex = 4;
     this.styles.TabStop  = false;
     this.styles.Text     = "Apply Styles Here";
     //
     // label3
     //
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.Font     = new System.Drawing.Font("Segoe UI", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(709, 207);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(298, 29);
     this.label3.TabIndex = 8;
     this.label3.Text     = "This sample demonstrates the implementation of SkinManager in GridControl and Gri" +
                            "dListControl.";
     //
     // label4
     //
     this.label4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(709, 251);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(281, 30);
     this.label4.TabIndex = 9;
     this.label4.Text     = "You can apply themes to a collection of controls within a container just with a s" +
                            "ingle component call.";
     //
     // label5
     //
     this.label5.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label5.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(709, 294);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(310, 36);
     this.label5.TabIndex = 10;
     this.label5.Text     = "Below is the code used to set themes to all controls within the GroupBox \'ParentC" +
                            "ontainer\'";
     //
     // label6
     //
     this.label6.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label6.Font      = new System.Drawing.Font("Segoe UI", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.DarkOrange;
     this.label6.Location  = new System.Drawing.Point(720, 343);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(287, 23);
     this.label6.TabIndex  = 11;
     this.label6.Text      = "SkinManager.SetVisualStyle(this, \"Office2010Blue\");";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1012, 643);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.styles);
     this.Controls.Add(this.parent);
     this.MinimumSize = new System.Drawing.Size(800, 450);
     this.Name        = "Form1";
     this.Text        = "SkinManager";
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
     this.grid.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListControl1)).EndInit();
     this.gridList.ResumeLayout(false);
     this.parent.ResumeLayout(false);
     this.styles.ResumeLayout(false);
     this.styles.PerformLayout();
     this.ResumeLayout(false);
 }
Example #5
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.GridRangeStyle gridRangeStyle1 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle2 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle3 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle4 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.checkBoxAdv1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.label1       = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridControl1.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.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount               = 9;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.Location             = new System.Drawing.Point(9, 43);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.ForceImmediateRepaint = false;
     this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     gridRangeStyle1.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle1.StyleInfo.Font.Bold      = false;
     gridRangeStyle1.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle1.StyleInfo.Font.Italic    = false;
     gridRangeStyle1.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle1.StyleInfo.Font.Strikeout = false;
     gridRangeStyle1.StyleInfo.Font.Underline = false;
     gridRangeStyle1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle2.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle2.StyleInfo.Font.Bold      = false;
     gridRangeStyle2.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle2.StyleInfo.Font.Italic    = false;
     gridRangeStyle2.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle2.StyleInfo.Font.Strikeout = false;
     gridRangeStyle2.StyleInfo.Font.Underline = false;
     gridRangeStyle2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle3.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle3.StyleInfo.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);
     gridRangeStyle3.StyleInfo.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);
     gridRangeStyle3.StyleInfo.Font.Bold      = false;
     gridRangeStyle3.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle3.StyleInfo.Font.Italic    = false;
     gridRangeStyle3.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle3.StyleInfo.Font.Strikeout = false;
     gridRangeStyle3.StyleInfo.Font.Underline = false;
     gridRangeStyle3.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle3.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle3.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     gridRangeStyle4.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle4.StyleInfo.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);
     gridRangeStyle4.StyleInfo.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);
     gridRangeStyle4.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle4.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle4.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1,
         gridRangeStyle2,
         gridRangeStyle3,
         gridRangeStyle4
     });
     this.gridControl1.RowCount = 21;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size          = new System.Drawing.Size(769, 411);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     this.gridControl1.UseRightToLeftCompatibleTextBox = true;
     //
     // checkBoxAdv1
     //
     this.checkBoxAdv1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBoxAdv1.Checked            = true;
     this.checkBoxAdv1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAdv1.DrawFocusRectangle = false;
     this.checkBoxAdv1.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxAdv1.Location           = new System.Drawing.Point(43, 16);
     this.checkBoxAdv1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBoxAdv1.Name               = "checkBoxAdv1";
     this.checkBoxAdv1.Size               = new System.Drawing.Size(91, 21);
     this.checkBoxAdv1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxAdv1.TabIndex           = 1;
     this.checkBoxAdv1.Text               = "Metro Style";
     this.checkBoxAdv1.ThemesEnabled      = false;
     this.checkBoxAdv1.CheckStateChanged += new System.EventHandler(this.checkBoxAdv1_CheckStateChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(128, 19);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(282, 13);
     this.label1.TabIndex = 2;
     this.label1.Text     = ": UnCheck this to view the cell controls in OfficeStyles";
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(788, 464);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.checkBoxAdv1);
     this.Controls.Add(this.gridControl1);
     this.DropShadow  = false;
     this.MinimumSize = new System.Drawing.Size(500, 500);
     this.Name        = "Form1";
     this.Text        = "Interactive Cell ";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }