示例#1
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();
            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.button1      = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv1   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv2   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv3   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv4   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv5   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv6   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.panel1       = new System.Windows.Forms.Panel();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            this.panel1.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.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
                new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35)
            });
            this.gridControl1.CoveredRanges.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeInfo[] {
                Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cells(6, 2, 8, 8)
            });

            this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
            this.gridControl1.Font                             = new System.Drawing.Font("Segoe UI", 9F);
            this.gridControl1.ThemesEnabled                    = true;
            this.gridControl1.GridOfficeScrollBars             = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
            this.gridControl1.Location                         = new System.Drawing.Point(23, 12);
            this.gridControl1.MetroScrollBars                  = true;
            this.gridControl1.Name                             = "gridControl1";
            this.gridControl1.Properties.BackgroundColor       = System.Drawing.Color.White;
            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)))));
            gridRangeStyle2.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cell(6, 2);
            gridRangeStyle2.StyleInfo.Borders.Bottom      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle2.StyleInfo.Borders.Left        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle2.StyleInfo.Borders.Right       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle2.StyleInfo.Borders.Top         = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle2.StyleInfo.Font.Bold           = true;
            gridRangeStyle2.StyleInfo.Font.Facename       = "Tahoma";
            gridRangeStyle2.StyleInfo.Font.Italic         = false;
            gridRangeStyle2.StyleInfo.Font.Size           = 15.75F;
            gridRangeStyle2.StyleInfo.Font.Strikeout      = false;
            gridRangeStyle2.StyleInfo.Font.Underline      = false;
            gridRangeStyle2.StyleInfo.Font.Unit           = System.Drawing.GraphicsUnit.Point;
            gridRangeStyle2.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
            gridRangeStyle2.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(124)))), ((int)(((byte)(130))))));
            gridRangeStyle2.StyleInfo.Text              = "Syncfusion - Essential Grid";
            gridRangeStyle2.StyleInfo.TextColor         = System.Drawing.Color.White;
            gridRangeStyle2.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
            gridRangeStyle3.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cells(6, 3, 8, 6);
            gridRangeStyle3.StyleInfo.Borders.Bottom      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle3.StyleInfo.Borders.Left        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle3.StyleInfo.Borders.Right       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle3.StyleInfo.Borders.Top         = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle3.StyleInfo.Font.Bold           = true;
            gridRangeStyle3.StyleInfo.Font.Facename       = "Tahoma";
            gridRangeStyle3.StyleInfo.Font.Italic         = false;
            gridRangeStyle3.StyleInfo.Font.Size           = 15.75F;
            gridRangeStyle3.StyleInfo.Font.Strikeout      = false;
            gridRangeStyle3.StyleInfo.Font.Underline      = false;
            gridRangeStyle3.StyleInfo.Font.Unit           = System.Drawing.GraphicsUnit.Point;
            gridRangeStyle3.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
            gridRangeStyle3.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.PathRectangle, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(228)))), ((int)(((byte)(221))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(109))))));
            gridRangeStyle3.StyleInfo.TextColor           = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(65)))), ((int)(((byte)(125)))));
            gridRangeStyle3.StyleInfo.VerticalAlignment   = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
            gridRangeStyle4.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cells(7, 2, 8, 6);
            gridRangeStyle4.StyleInfo.Borders.Bottom      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle4.StyleInfo.Borders.Left        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle4.StyleInfo.Borders.Right       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle4.StyleInfo.Borders.Top         = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle4.StyleInfo.Font.Bold           = true;
            gridRangeStyle4.StyleInfo.Font.Facename       = "Tahoma";
            gridRangeStyle4.StyleInfo.Font.Italic         = false;
            gridRangeStyle4.StyleInfo.Font.Size           = 15.75F;
            gridRangeStyle4.StyleInfo.Font.Strikeout      = false;
            gridRangeStyle4.StyleInfo.Font.Underline      = false;
            gridRangeStyle4.StyleInfo.Font.Unit           = System.Drawing.GraphicsUnit.Point;
            gridRangeStyle4.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
            gridRangeStyle4.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.PathRectangle, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(228)))), ((int)(((byte)(221))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(109))))));
            gridRangeStyle4.StyleInfo.TextColor           = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(65)))), ((int)(((byte)(125)))));
            gridRangeStyle4.StyleInfo.VerticalAlignment   = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
            this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
                gridRangeStyle1,
                gridRangeStyle2,
                gridRangeStyle3,
                gridRangeStyle4
            });
            this.gridControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.gridControl1.RowCount    = 35;
            this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
                new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 21)
            });
            this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
            this.gridControl1.Size         = new System.Drawing.Size(869, 425);
            this.gridControl1.SmartSizeBox = false;
            this.gridControl1.TabIndex     = 0;
            this.gridControl1.Tag          = "SaveXmlSchema";
            //
            // button1
            //
            this.button1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button1.FlatStyle         = FlatStyle.Flat;
            this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.button1.BeforeTouchSize   = new System.Drawing.Size(106, 34);
            this.button1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.button1.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor         = System.Drawing.Color.White;
            this.button1.IsBackStageButton = false;
            this.button1.Location          = new System.Drawing.Point(11, 6);
            this.button1.Name              = "button1";
            this.button1.Size              = new System.Drawing.Size(106, 34);
            this.button1.TabIndex          = 12;
            this.button1.Text              = "Soap Serialize";
            this.button1.Click            += new System.EventHandler(this.button1_Click);
            //
            // buttonAdv1
            //
            this.buttonAdv1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv1.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv1.BeforeTouchSize   = new System.Drawing.Size(101, 34);
            this.buttonAdv1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv1.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv1.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv1.IsBackStageButton = false;
            this.buttonAdv1.Location          = new System.Drawing.Point(132, 6);
            this.buttonAdv1.Name              = "buttonAdv1";
            this.buttonAdv1.Size              = new System.Drawing.Size(101, 34);
            this.buttonAdv1.TabIndex          = 13;
            this.buttonAdv1.Text              = "Soap Deserialize";
            this.buttonAdv1.Click            += new System.EventHandler(this.buttonAdv1_Click);
            //
            // buttonAdv2
            //
            this.buttonAdv2.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv2.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv2.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv2.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv2.BeforeTouchSize   = new System.Drawing.Size(107, 34);
            this.buttonAdv2.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv2.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv2.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv2.IsBackStageButton = false;
            this.buttonAdv2.Location          = new System.Drawing.Point(254, 6);
            this.buttonAdv2.Name              = "buttonAdv2";
            this.buttonAdv2.Size              = new System.Drawing.Size(107, 34);
            this.buttonAdv2.TabIndex          = 14;
            this.buttonAdv2.Text              = "Binary Serialize";
            this.buttonAdv2.Click            += new System.EventHandler(this.buttonAdv2_Click);
            //
            // buttonAdv3
            //
            this.buttonAdv3.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv3.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv3.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv3.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv3.BeforeTouchSize   = new System.Drawing.Size(116, 34);
            this.buttonAdv3.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv3.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv3.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv3.IsBackStageButton = false;
            this.buttonAdv3.Location          = new System.Drawing.Point(379, 6);
            this.buttonAdv3.Name              = "buttonAdv3";
            this.buttonAdv3.Size              = new System.Drawing.Size(116, 34);
            this.buttonAdv3.TabIndex          = 15;
            this.buttonAdv3.Text              = "Binary Deserialize";
            this.buttonAdv3.Click            += new System.EventHandler(this.buttonAdv3_Click);
            //
            // buttonAdv4
            //
            this.buttonAdv4.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv4.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv4.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv4.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv4.BeforeTouchSize   = new System.Drawing.Size(118, 34);
            this.buttonAdv4.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv4.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv4.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv4.IsBackStageButton = false;
            this.buttonAdv4.Location          = new System.Drawing.Point(513, 6);
            this.buttonAdv4.Name              = "buttonAdv4";
            this.buttonAdv4.Size              = new System.Drawing.Size(118, 34);
            this.buttonAdv4.TabIndex          = 16;
            this.buttonAdv4.Text              = "Save XML Schema";
            this.buttonAdv4.Click            += new System.EventHandler(this.buttonAdv4_Click);
            //
            // buttonAdv5
            //
            this.buttonAdv5.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv5.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv5.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv5.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv5.BeforeTouchSize   = new System.Drawing.Size(114, 34);
            this.buttonAdv5.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv5.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv5.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv5.IsBackStageButton = false;
            this.buttonAdv5.Location          = new System.Drawing.Point(649, 6);
            this.buttonAdv5.Name              = "buttonAdv5";
            this.buttonAdv5.Size              = new System.Drawing.Size(114, 34);
            this.buttonAdv5.TabIndex          = 17;
            this.buttonAdv5.Text              = "Load XML Schema";
            this.buttonAdv5.Click            += new System.EventHandler(this.buttonAdv5_Click);
            //
            // buttonAdv6
            //
            this.buttonAdv6.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv6.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv6.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv6.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv6.BeforeTouchSize   = new System.Drawing.Size(87, 34);
            this.buttonAdv6.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv6.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv6.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv6.IsBackStageButton = false;
            this.buttonAdv6.Location          = new System.Drawing.Point(782, 6);
            this.buttonAdv6.Name              = "buttonAdv6";
            this.buttonAdv6.Size              = new System.Drawing.Size(87, 34);
            this.buttonAdv6.TabIndex          = 18;
            this.buttonAdv6.Text              = "Reset Grid";
            this.buttonAdv6.Click            += new System.EventHandler(this.buttonAdv6_Click);
            //
            // panel1
            //
            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.panel1.Controls.Add(this.buttonAdv4);
            this.panel1.Controls.Add(this.buttonAdv6);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.buttonAdv5);
            this.panel1.Controls.Add(this.buttonAdv1);
            this.panel1.Controls.Add(this.buttonAdv2);
            this.panel1.Controls.Add(this.buttonAdv3);
            this.panel1.Location = new System.Drawing.Point(23, 443);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(879, 51);
            this.panel1.TabIndex = 19;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.ClientSize          = new System.Drawing.Size(914, 495);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.gridControl1);
            this.MinimumSize = new System.Drawing.Size(900, 500);
            this.Name        = "Form1";
            this.Text        = "Serialize Grid Control";
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
示例#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();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle3 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.btnClear     = new Syncfusion.Windows.Forms.ButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.DpiAware = true;
     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.ExcelLikeCurrentCell    = true;
     this.gridControl1.ExcelLikeSelectionFrame = true;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F);
     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.Location             = new System.Drawing.Point(12, 5);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.GridLineColor = System.Drawing.Color.Silver;
     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.Facename  = "Segoe UI";
     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)))));
     this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1,
         gridRangeStyle2,
         gridRangeStyle3
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size          = new System.Drawing.Size(690, 361);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     //
     // btnClear
     //
     this.btnClear.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClear.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.btnClear.FlatStyle      = FlatStyle.Flat;
     this.btnClear.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.btnClear.Font           = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnClear.ForeColor      = System.Drawing.Color.White;
     this.btnClear.Location       = new System.Drawing.Point(710, 133);
     this.btnClear.Name           = "btnClear";
     this.btnClear.Size           = new System.Drawing.Size(104, 30);
     this.btnClear.TabIndex       = 1;
     this.btnClear.Text           = "Clear Grid";
     this.btnClear.Click         += new System.EventHandler(this.btnClear_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(829, 378);
     this.Controls.Add(this.btnClear);
     this.Controls.Add(this.gridControl1);
     this.MinimumSize = new System.Drawing.Size(580, 400);
     this.Name        = "Form1";
     this.Text        = "Copy Paste";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
示例#3
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.GridBaseStyle  gridBaseStyle1  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle  gridBaseStyle2  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle  gridBaseStyle3  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle  gridBaseStyle4  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle1 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle2 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     this.panel1       = new System.Windows.Forms.Panel();
     this.gridControl1 = new GridOneTimeOnlyQueryCellInfo.OneTimeOnlyQueryCellInfoGrid();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1012, 656);
     this.panel1.TabIndex = 2;
     //
     // 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)));
     gridBaseStyle1.Name = "Header";
     gridBaseStyle1.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle1.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle1.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle1.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle1.StyleInfo.CellType          = "Header";
     gridBaseStyle1.StyleInfo.Font.Bold         = true;
     gridBaseStyle1.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle1.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle2.Name = "Standard";
     gridBaseStyle2.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle3.Name = "Column Header";
     gridBaseStyle3.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle3.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle4.Name = "Row Header";
     gridBaseStyle4.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle4.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridControl1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle1,
         gridBaseStyle2,
         gridBaseStyle3,
         gridBaseStyle4
     });
     this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount    = 55;
     this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
         new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35)
     });
     this.gridControl1.DefaultColWidth        = 70;
     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.HorizontalThumbTrack = true;
     this.gridControl1.Location             = new System.Drawing.Point(10, 10);
     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.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.Facename  = "Segoe UI";
     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.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1,
         gridRangeStyle2
     });
     this.gridControl1.RowCount = 100;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 21)
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size               = new System.Drawing.Size(994, 628);
     this.gridControl1.SmartSizeBox       = false;
     this.gridControl1.TabIndex           = 1;
     this.gridControl1.Text               = "gridControl1";
     this.gridControl1.ThemesEnabled      = true;
     this.gridControl1.VerticalThumbTrack = true;
     //
     // Form1
     //
     this.ClientSize  = new System.Drawing.Size(1012, 656);
     this.MinimumSize = new Size(800, 450);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.panel1);
     this.Name = "Form1";
     this.Text = "QueryCellInfo Optimization ";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
示例#4
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();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle5 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     this.trackBar1    = new System.Windows.Forms.TrackBar();
     this.comboBox1    = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.checkBox1    = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.label2       = new System.Windows.Forms.Label();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.groupBox3    = new System.Windows.Forms.GroupBox();
     this.groupBox2    = new System.Windows.Forms.GroupBox();
     this.label4       = new System.Windows.Forms.Label();
     this.label3       = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // trackBar1
     //
     this.trackBar1.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.trackBar1.AutoSize      = false;
     this.trackBar1.BackColor     = System.Drawing.Color.White;
     this.trackBar1.Location      = new System.Drawing.Point(99, 83);
     this.trackBar1.Maximum       = 250;
     this.trackBar1.Minimum       = 50;
     this.trackBar1.Name          = "trackBar1";
     this.trackBar1.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.trackBar1.Size          = new System.Drawing.Size(96, 28);
     this.trackBar1.TabIndex      = 2;
     this.trackBar1.TickStyle     = System.Windows.Forms.TickStyle.None;
     this.trackBar1.Value         = 100;
     this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
     //
     // comboBox1
     //
     this.comboBox1.BackColor       = System.Drawing.Color.White;
     this.comboBox1.BeforeTouchSize = new System.Drawing.Size(96, 21);
     this.comboBox1.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.Items.AddRange(new object[] {
         "50",
         "75",
         "100",
         "125"
     });
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "50"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "75"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "100"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "125"));
     this.comboBox1.Location              = new System.Drawing.Point(97, 28);
     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(96, 21);
     this.comboBox1.Style                 = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox1.TabIndex              = 2;
     this.comboBox1.Text                  = "100";
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // checkBox1
     //
     this.checkBox1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox1.Checked            = true;
     this.checkBox1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor          = System.Drawing.Color.Black;
     this.checkBox1.Location           = new System.Drawing.Point(65, 21);
     this.checkBox1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox1.Name               = "checkBox1";
     this.checkBox1.Size               = new System.Drawing.Size(82, 17);
     this.checkBox1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.DrawFocusRectangle = true;
     this.checkBox1.TabIndex           = 3;
     this.checkBox1.Text               = "Zoom Cell";
     this.checkBox1.ThemesEnabled      = false;
     this.checkBox1.CheckedChanged    += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.DimGray;
     this.label2.Location  = new System.Drawing.Point(22, 267);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(210, 65);
     this.label2.TabIndex  = 15;
     this.label2.Text      = "Click a cell to view in zoomed state. \r\n\r\nUse the above slider and dropdown to zo" +
                             "om the grid with different values.";
     //
     // 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               = 5;
     this.gridControl1.DefaultColWidth        = 85;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font                             = new System.Drawing.Font("Segoe UI", 8.25F);
     this.gridControl1.ThemesEnabled                    = true;
     this.gridControl1.GridOfficeScrollBars             = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles                 = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.HorizontalThumbTrack             = true;
     this.gridControl1.Location                         = new System.Drawing.Point(12, 13);
     this.gridControl1.MetroScrollBars                  = true;
     this.gridControl1.Name                             = "gridControl1";
     this.gridControl1.Properties.ForceImmediateRepaint = false;
     this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     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.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.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;
     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)))));
     this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1,
         gridRangeStyle2,
         gridRangeStyle3,
         gridRangeStyle4,
         gridRangeStyle5
     });
     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(720, 443);
     this.gridControl1.SmartSizeBox = false;
     this.gridControl1.TabIndex     = 0;
     this.gridControl1.Text         = "gridControl1";
     this.gridControl1.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.label2);
     this.groupBox1.Controls.Add(this.groupBox3);
     this.groupBox1.Controls.Add(this.groupBox2);
     this.groupBox1.Location = new System.Drawing.Point(746, 17);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(254, 430);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Zooming Options";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.checkBox1);
     this.groupBox3.Location = new System.Drawing.Point(25, 190);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(207, 57);
     this.groupBox3.TabIndex = 3;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Cell Level";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.comboBox1);
     this.groupBox2.Controls.Add(this.trackBar1);
     this.groupBox2.Location = new System.Drawing.Point(25, 33);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(207, 129);
     this.groupBox2.TabIndex = 2;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Grid Level";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(6, 83);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(87, 13);
     this.label4.TabIndex = 16;
     this.label4.Text     = "Zoom Frequency";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(15, 36);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(63, 13);
     this.label3.TabIndex = 15;
     this.label3.Text     = "Zoom Level";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1012, 473);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.gridControl1);
     this.MinimumSize = new System.Drawing.Size(930, 454);
     this.Name        = "Form1";
     this.Text        = "Zooming";
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }