Ejemplo n.º 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.ColCount = 2;
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(0, 0);
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RowCount = 2;
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size          = new System.Drawing.Size(387, 280);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     //
     // Form2
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(387, 280);
     this.Controls.Add(this.gridControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "Form2";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Essential Chart - Displayed in Grid";
     this.Load         += new System.EventHandler(this.Form2_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).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               = 15;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F);
     gridCellInfo3.Col      = -1;
     gridCellInfo3.Row      = -1;
     gridCellInfo3.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);
     gridCellInfo3.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);
     gridCellInfo3.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo3.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo3.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo3
     });
     //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, 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;
     this.gridControl1.RowCount = 97;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.Size          = new System.Drawing.Size(764, 369);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     this.gridControl1.DpiAware      = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(788, 393);
     this.Controls.Add(this.gridControl1);
     this.MinimumSize = new System.Drawing.Size(500, 400);
     this.Name        = "Form1";
     this.Text        = "Drop Down Cells ";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 3
0
 public MainForm(Form1 form)
 {
     this.form             = form;
     this.gridControl1     = form.gridControl1;
     this.splitterControl1 = form.splitterControl1;
     this.dataSet11        = form.dataSet11;
     InitializeForm();
 }
Ejemplo n.º 4
0
        GridControl CreateGridControl()
        {
            GridControl gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();

            gridControl1.ColCount = 20;
            gridControl1.RowCount = 100;

            return(gridControl1);
        }
Ejemplo n.º 5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.DpiAware             = true;
     this.gridControl1.AllowDrop            = true;
     this.gridControl1.Dock                 = DockStyle.Fill;
     this.gridControl1.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.HorizontalThumbTrack = true;
     this.gridControl1.Location             = new System.Drawing.Point(12, 12);
     this.gridControl1.Name                 = "gridControl1";
     this.gridControl1.RowCount             = 100;
     this.gridControl1.Size                 = new System.Drawing.Size(862, 629);
     this.gridControl1.SmartSizeBox         = false;
     this.gridControl1.TabIndex             = 0;
     this.gridControl1.Text                 = "gridControl1";
     this.gridControl1.ThemesEnabled        = true;
     this.gridControl1.VerticalThumbTrack   = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(888, 653);
     this.Controls.Add(this.gridControl1);
     this.MinimumSize = new System.Drawing.Size(500, 400);
     this.Name        = "Form1";
     this.Text        = "Sorting ";
     this.Load       += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 6
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
            this.gridControl2 = new Syncfusion.Windows.Forms.Grid.GridControl();
            this.panel1       = new System.Windows.Forms.Panel();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
            this.panel1.SuspendLayout();
            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.ColCount    = 55;
            this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
                new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35)
            });
            this.gridControl1.HorizontalThumbTrack = true;
            this.gridControl1.Location             = new System.Drawing.Point(22, 12);
            this.gridControl1.Name     = "gridControl1";
            this.gridControl1.RowCount = 100;
            this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
                new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 25)
            });
            this.gridControl1.Size               = new System.Drawing.Size(307, 400);
            this.gridControl1.SmartSizeBox       = false;
            this.gridControl1.TabIndex           = 0;
            this.gridControl1.Text               = "gridControl1";
            this.gridControl1.ThemesEnabled      = true;
            this.gridControl1.VerticalThumbTrack = true;
            //
            // gridControl2
            //
            this.gridControl2.DpiAware = true;
            this.gridControl2.Anchor   = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
            this.gridControl2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gridControl2.ColCount    = 55;
            this.gridControl2.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
                new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35)
            });
            this.gridControl2.HorizontalThumbTrack = true;
            this.gridControl2.Location             = new System.Drawing.Point(336, 12);
            this.gridControl2.Name     = "gridControl2";
            this.gridControl2.RowCount = 100;
            this.gridControl2.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
                new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 25)
            });
            this.gridControl2.Size               = new System.Drawing.Size(307, 400);
            this.gridControl2.SmartSizeBox       = false;
            this.gridControl2.TabIndex           = 1;
            this.gridControl2.Text               = "gridControl1";
            this.gridControl2.ThemesEnabled      = true;
            this.gridControl2.VerticalThumbTrack = true;
            //
            // panel1
            //
            this.panel1.BackColor = System.Drawing.Color.White;
            this.panel1.Controls.Add(this.gridControl2);
            this.panel1.Controls.Add(this.gridControl1);
            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(663, 473);
            this.panel1.TabIndex = 2;

            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(663, 473);
            this.Controls.Add(this.panel1);
            //this.Controls.Add(richTextPanel);
            this.DropShadow  = true;
            this.MinimumSize = new System.Drawing.Size(560, 440);
            this.Name        = "Form1";
            this.Text        = "OLE Drag-and-Drop";
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Ejemplo n.º 7
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.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo4 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo5 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo6 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo7 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.tabBarSplitterControl1 = new Syncfusion.Windows.Forms.TabBarSplitterControl();
     this.tabBarPage1            = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridControl1           = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.tabBarPage2            = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridControl2           = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.tabBarPage3            = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridControl3           = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.panel1 = new System.Windows.Forms.Panel();
     this.tabBarSplitterControl1.SuspendLayout();
     this.tabBarPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.tabBarPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     this.tabBarPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).BeginInit();
     this.SuspendLayout();
     //
     // tabBarSplitterControl1
     //
     this.tabBarSplitterControl1.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.tabBarSplitterControl1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.tabBarSplitterControl1.Controls.Add(this.tabBarPage1);
     this.tabBarSplitterControl1.Controls.Add(this.tabBarPage2);
     this.tabBarSplitterControl1.Controls.Add(this.tabBarPage3);
     this.tabBarSplitterControl1.DisabledColor    = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19)))));
     this.tabBarSplitterControl1.EnabledColor     = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19)))));
     this.tabBarSplitterControl1.ForeColor        = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19)))));
     this.tabBarSplitterControl1.Location         = new System.Drawing.Point(12, 12);
     this.tabBarSplitterControl1.Name             = "tabBarSplitterControl1";
     this.tabBarSplitterControl1.RelativeWidth    = 45;
     this.tabBarSplitterControl1.RepeatClickDelay = 80;
     this.tabBarSplitterControl1.Size             = new System.Drawing.Size(750, 405);
     this.tabBarSplitterControl1.SplitBars        = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.tabBarSplitterControl1.Style            = Syncfusion.Windows.Forms.TabBarSplitterStyle.Metro;
     this.tabBarSplitterControl1.TabFolderDelta   = 11;
     this.tabBarSplitterControl1.TabIndex         = 0;
     this.tabBarSplitterControl1.Text             = "tabBarSplitterControl1";
     this.tabBarSplitterControl1.ThemesEnabled    = true;
     this.tabBarSplitterControl1.ScrollButtons    = DisplayArrowButtons.None;
     //
     // tabBarPage1
     //
     this.tabBarPage1.Controls.Add(this.gridControl1);
     this.tabBarPage1.Location      = new System.Drawing.Point(0, 0);
     this.tabBarPage1.Name          = "tabBarPage1";
     this.tabBarPage1.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.tabBarPage1.TabBackColor  = System.Drawing.SystemColors.Control;
     this.tabBarPage1.Text          = "tabBarPage1";
     this.tabBarPage1.ThemesEnabled = true;
     //
     // gridControl1
     //
     this.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.DefaultColWidth        = 70;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.FillSplitterPane       = true;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F);
     gridCellInfo1.Col      = -1;
     gridCellInfo1.Row      = -1;
     gridCellInfo1.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);
     gridCellInfo1.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);
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo1.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1
     });
     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(0, 0);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name               = "gridControl1";
     this.gridControl1.RowCount           = 20;
     this.gridControl1.Size               = new System.Drawing.Size(733, 388);
     this.gridControl1.SmartSizeBox       = false;
     this.gridControl1.Text               = "gridControl1";
     this.gridControl1.ThemesEnabled      = true;
     this.gridControl1.VerticalThumbTrack = true;
     //
     // tabBarPage2
     //
     this.tabBarPage2.Controls.Add(this.gridControl2);
     this.tabBarPage2.HSplitPos     = 80;
     this.tabBarPage2.Location      = new System.Drawing.Point(0, 0);
     this.tabBarPage2.Name          = "tabBarPage2";
     this.tabBarPage2.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.tabBarPage2.TabBackColor  = System.Drawing.SystemColors.Control;
     this.tabBarPage2.Text          = "tabBarPage2";
     this.tabBarPage2.ThemesEnabled = true;
     //
     // gridControl2
     //
     this.gridControl2.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl2.ColCount               = 40;
     this.gridControl2.DefaultColWidth        = 70;
     this.gridControl2.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl2.DefaultRowHeight       = 20;
     this.gridControl2.FillSplitterPane       = true;
     this.gridControl2.Font                 = new System.Drawing.Font("Segoe UI", 8.25F);
     gridCellInfo2.Col                      = -1;
     gridCellInfo2.Row                      = -1;
     gridCellInfo2.StyleInfo.Font.Bold      = false;
     gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo2.StyleInfo.Font.Italic    = false;
     gridCellInfo2.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo2.StyleInfo.Font.Strikeout = false;
     gridCellInfo2.StyleInfo.Font.Underline = false;
     gridCellInfo2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo3.Col                      = -1;
     gridCellInfo3.Row                      = -1;
     gridCellInfo3.StyleInfo.Font.Bold      = false;
     gridCellInfo3.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo3.StyleInfo.Font.Italic    = false;
     gridCellInfo3.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo3.StyleInfo.Font.Strikeout = false;
     gridCellInfo3.StyleInfo.Font.Underline = false;
     gridCellInfo3.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo4.Col                      = -1;
     gridCellInfo4.Row                      = -1;
     gridCellInfo4.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);
     gridCellInfo4.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);
     gridCellInfo4.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo4.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo4.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl2.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo2,
         gridCellInfo3,
         gridCellInfo4
     });
     this.gridControl2.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl2.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl2.HorizontalThumbTrack = true;
     this.gridControl2.Location             = new System.Drawing.Point(0, 0);
     this.gridControl2.MetroScrollBars      = true;
     this.gridControl2.Name               = "gridControl2";
     this.gridControl2.RowCount           = 1000;
     this.gridControl2.Size               = new System.Drawing.Size(156, 98);
     this.gridControl2.SmartSizeBox       = false;
     this.gridControl2.Text               = "gridControl2";
     this.gridControl2.ThemesEnabled      = true;
     this.gridControl2.VerticalThumbTrack = true;
     //
     // tabBarPage3
     //
     this.tabBarPage3.Controls.Add(this.gridControl3);
     this.tabBarPage3.Location      = new System.Drawing.Point(0, 0);
     this.tabBarPage3.Name          = "tabBarPage3";
     this.tabBarPage3.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.tabBarPage3.TabBackColor  = System.Drawing.SystemColors.Control;
     this.tabBarPage3.Text          = "tabBarPage3";
     this.tabBarPage3.ThemesEnabled = true;
     this.tabBarPage3.VSplitPos     = 50;
     //
     // gridControl3
     //
     this.gridControl3.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl3.ColCount               = 16;
     this.gridControl3.DefaultColWidth        = 70;
     this.gridControl3.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl3.DefaultRowHeight       = 20;
     this.gridControl3.FillSplitterPane       = true;
     this.gridControl3.Font                 = new System.Drawing.Font("Segoe UI", 8.25F);
     gridCellInfo5.Col                      = -1;
     gridCellInfo5.Row                      = -1;
     gridCellInfo5.StyleInfo.Font.Bold      = false;
     gridCellInfo5.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo5.StyleInfo.Font.Italic    = false;
     gridCellInfo5.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo5.StyleInfo.Font.Strikeout = false;
     gridCellInfo5.StyleInfo.Font.Underline = false;
     gridCellInfo5.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo6.Col                      = -1;
     gridCellInfo6.Row                      = -1;
     gridCellInfo6.StyleInfo.Font.Bold      = false;
     gridCellInfo6.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo6.StyleInfo.Font.Italic    = false;
     gridCellInfo6.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo6.StyleInfo.Font.Strikeout = false;
     gridCellInfo6.StyleInfo.Font.Underline = false;
     gridCellInfo6.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo7.Col                      = -1;
     gridCellInfo7.Row                      = -1;
     gridCellInfo7.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);
     gridCellInfo7.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);
     gridCellInfo7.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo7.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo7.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl3.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo5,
         gridCellInfo6,
         gridCellInfo7
     });
     this.gridControl3.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl3.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl3.HorizontalThumbTrack = true;
     this.gridControl3.Location             = new System.Drawing.Point(0, 0);
     this.gridControl3.MetroScrollBars      = true;
     this.gridControl3.Name               = "gridControl3";
     this.gridControl3.RowCount           = 20;
     this.gridControl3.Size               = new System.Drawing.Size(156, 98);
     this.gridControl3.SmartSizeBox       = false;
     this.gridControl3.Text               = "gridControl3";
     this.gridControl3.ThemesEnabled      = true;
     this.gridControl3.VerticalThumbTrack = true;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Location  = new System.Drawing.Point(0, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(774, 429);
     this.panel1.TabIndex  = 1;
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(774, 429);
     this.Controls.Add(this.tabBarSplitterControl1);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(500, 300);
     this.Name        = "Form1";
     this.Text        = "Workbook";
     this.tabBarSplitterControl1.ResumeLayout(false);
     this.tabBarPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.tabBarPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     this.tabBarPage3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 8
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.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.GridCellInfo  gridCellInfo1  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo  gridCellInfo2  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1              = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.propertyGrid1             = new System.Windows.Forms.PropertyGrid();
     this.splitterControl1          = new Syncfusion.Windows.Forms.SplitterControl();
     this.CheckBoxMouseEnable       = new System.Windows.Forms.CheckBox();
     this.CheckBoxCurrentCellEnable = new System.Windows.Forms.CheckBox();
     this.contextMenu1              = new System.Windows.Forms.ContextMenu();
     this.menuItem1          = new System.Windows.Forms.MenuItem();
     this.panel1             = new System.Windows.Forms.Panel();
     this.panel2             = new System.Windows.Forms.Panel();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.button1            = new Syncfusion.Windows.Forms.ButtonAdv();
     this.CheckBoxGridEnable = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.splitterControl1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.groupBox1.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)));
     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(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     gridBaseStyle1.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle2.Name = "Standard";
     gridBaseStyle2.StyleInfo.Font.Facename = "Segoe UI";
     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;
     gridBaseStyle4.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     this.gridControl1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle1,
         gridBaseStyle2,
         gridBaseStyle3,
         gridBaseStyle4
     });
     this.gridControl1.ColCount = 12;
     this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
         new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35)
     });
     this.gridControl1.DefaultColWidth        = 110;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.FillSplitterPane       = true;
     this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ForeColor            = System.Drawing.Color.MidnightBlue;
     gridCellInfo1.Col                      = -1;
     gridCellInfo1.Row                      = -1;
     gridCellInfo1.StyleInfo.Font.Bold      = false;
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Font.Italic    = false;
     gridCellInfo1.StyleInfo.Font.Size      = 8.5F;
     gridCellInfo1.StyleInfo.Font.Strikeout = false;
     gridCellInfo1.StyleInfo.Font.Underline = false;
     gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.Col                      = -1;
     gridCellInfo2.Row                      = -1;
     gridCellInfo2.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);
     gridCellInfo2.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);
     gridCellInfo2.StyleInfo.Font.Bold      = false;
     gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo2.StyleInfo.Font.Italic    = false;
     gridCellInfo2.StyleInfo.Font.Size      = 8.5F;
     gridCellInfo2.StyleInfo.Font.Strikeout = false;
     gridCellInfo2.StyleInfo.Font.Underline = false;
     gridCellInfo2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo2.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1,
         gridCellInfo2
     });
     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(0, 0);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.BackgroundColor       = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     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;
     this.gridControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.gridControl1.RowCount    = 120;
     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.SerializeIntoCode;
     this.gridControl1.Size               = new System.Drawing.Size(679, 278);
     this.gridControl1.SmartSizeBox       = false;
     this.gridControl1.ThemesEnabled      = true;
     this.gridControl1.VerticalThumbTrack = true;
     this.gridControl1.SelectionChanged  += new Syncfusion.Windows.Forms.Grid.GridSelectionChangedEventHandler(this.grid_SelectionChanged);
     this.gridControl1.CurrentCellMoved  += new Syncfusion.Windows.Forms.Grid.GridCurrentCellMovedEventHandler(this.grid_CurrentCellMoved);
     //
     // propertyGrid1
     //
     this.propertyGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid1.BackColor     = System.Drawing.Color.White;
     this.propertyGrid1.HelpBackColor = System.Drawing.Color.White;
     this.propertyGrid1.LineColor     = System.Drawing.Color.White;
     this.propertyGrid1.Location      = new System.Drawing.Point(748, 12);
     this.propertyGrid1.Name          = "propertyGrid1";
     this.propertyGrid1.Size          = new System.Drawing.Size(250, 297);
     this.propertyGrid1.TabIndex      = 3;
     //
     // splitterControl1
     //
     this.splitterControl1.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.splitterControl1.BackColor       = System.Drawing.Color.White;
     this.splitterControl1.BeforeTouchSize = new System.Drawing.Size(698, 297);
     this.splitterControl1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.splitterControl1.Controls.Add(this.gridControl1);
     this.splitterControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.splitterControl1.Location             = new System.Drawing.Point(26, 12);
     this.splitterControl1.Name          = "splitterControl1";
     this.splitterControl1.Size          = new System.Drawing.Size(698, 297);
     this.splitterControl1.SizeFactor    = 0D;
     this.splitterControl1.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.splitterControl1.TabIndex      = 1;
     this.splitterControl1.ThemesEnabled = true;
     this.splitterControl1.PaneCreated  += new Syncfusion.Windows.Forms.SplitterPaneEventHandler(this.splitterControl1_PaneCreated);
     this.splitterControl1.PaneClosing  += new Syncfusion.Windows.Forms.SplitterPaneEventHandler(this.splitterControl1_PaneClosing);
     //
     // CheckBoxMouseEnable
     //
     this.CheckBoxMouseEnable.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.CheckBoxMouseEnable.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.CheckBoxMouseEnable.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CheckBoxMouseEnable.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.CheckBoxMouseEnable.Location        = new System.Drawing.Point(43, 58);
     this.CheckBoxMouseEnable.Name            = "CheckBoxMouseEnable";
     this.CheckBoxMouseEnable.Size            = new System.Drawing.Size(182, 26);
     this.CheckBoxMouseEnable.TabIndex        = 5;
     this.CheckBoxMouseEnable.Text            = "Enable Mouse Events.";
     this.CheckBoxMouseEnable.CheckedChanged += new System.EventHandler(this.checkBoxMouseMessage_CheckedChanged);
     //
     // CheckBoxCurrentCellEnable
     //
     this.CheckBoxCurrentCellEnable.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.CheckBoxCurrentCellEnable.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.CheckBoxCurrentCellEnable.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CheckBoxCurrentCellEnable.ForeColor       = System.Drawing.Color.Black;
     this.CheckBoxCurrentCellEnable.Location        = new System.Drawing.Point(43, 31);
     this.CheckBoxCurrentCellEnable.Name            = "CheckBoxCurrentCellEnable";
     this.CheckBoxCurrentCellEnable.Size            = new System.Drawing.Size(182, 21);
     this.CheckBoxCurrentCellEnable.TabIndex        = 4;
     this.CheckBoxCurrentCellEnable.Text            = "Enable CurrentCell Events.";
     this.CheckBoxCurrentCellEnable.CheckedChanged += new System.EventHandler(this.checkBoxEnableTracing_CheckedChanged);
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index  = 0;
     this.menuItem1.Text   = "&Clear Window";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.splitterControl1);
     this.panel1.Controls.Add(this.propertyGrid1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1020, 315);
     this.panel1.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.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.panel2.Controls.Add(this.groupBox1);
     this.panel2.Location = new System.Drawing.Point(0, 315);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(1020, 181);
     this.panel2.TabIndex = 9;
     //
     // 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.button1);
     this.groupBox1.Controls.Add(this.CheckBoxGridEnable);
     this.groupBox1.Controls.Add(this.CheckBoxCurrentCellEnable);
     this.groupBox1.Controls.Add(this.CheckBoxMouseEnable);
     this.groupBox1.Location = new System.Drawing.Point(748, 6);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(250, 172);
     this.groupBox1.TabIndex = 11;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Event Trace Options";
     //
     // button1
     //
     this.button1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(182, 28);
     this.button1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(42, 122);
     this.button1.Name              = "button1";
     this.button1.Size              = new System.Drawing.Size(182, 28);
     this.button1.TabIndex          = 10;
     this.button1.Text              = "Clear Tracer";
     this.button1.Click            += new System.EventHandler(this.button1_Click);
     //
     // CheckBoxGridEnable
     //
     this.CheckBoxGridEnable.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.CheckBoxGridEnable.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.CheckBoxGridEnable.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CheckBoxGridEnable.ForeColor       = System.Drawing.Color.Black;
     this.CheckBoxGridEnable.Location        = new System.Drawing.Point(43, 90);
     this.CheckBoxGridEnable.Name            = "CheckBoxGridEnable";
     this.CheckBoxGridEnable.Size            = new System.Drawing.Size(182, 21);
     this.CheckBoxGridEnable.TabIndex        = 9;
     this.CheckBoxGridEnable.Text            = "Enable Grid Events.";
     this.CheckBoxGridEnable.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1020, 496);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(800, 535);
     this.Name        = "Form1";
     this.Text        = "Grid Control Event Logger";
     this.Load       += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.splitterControl1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 9
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.tabBarSplitterControl1 = new Syncfusion.Windows.Forms.TabBarSplitterControl();
            this.tabBarPage1            = new Syncfusion.Windows.Forms.TabBarPage();
            this.gridDisplay            = new Syncfusion.Windows.Forms.Grid.GridControl();
            this.tabBarPage2            = new Syncfusion.Windows.Forms.TabBarPage();
            this.gridCalculations       = new Syncfusion.Windows.Forms.Grid.GridControl();
            this.tabBarSplitterControl1.SuspendLayout();
            this.tabBarPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridDisplay)).BeginInit();
            this.tabBarPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridCalculations)).BeginInit();
            this.SuspendLayout();
            //
            // tabBarSplitterControl1
            //
            this.tabBarSplitterControl1.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.tabBarSplitterControl1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tabBarSplitterControl1.Controls.Add(this.tabBarPage1);
            this.tabBarSplitterControl1.Controls.Add(this.tabBarPage2);
            this.tabBarSplitterControl1.EnabledColor   = System.Drawing.SystemColors.WindowText;
            this.tabBarSplitterControl1.Location       = new System.Drawing.Point(12, 13);
            this.tabBarSplitterControl1.Name           = "tabBarSplitterControl1";
            this.tabBarSplitterControl1.Size           = new System.Drawing.Size(675, 391);
            this.tabBarSplitterControl1.SplitBars      = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
            this.tabBarSplitterControl1.Style          = Syncfusion.Windows.Forms.TabBarSplitterStyle.Metro;
            this.tabBarSplitterControl1.TabFolderDelta = 11;
            this.tabBarSplitterControl1.TabIndex       = 0;
            this.tabBarSplitterControl1.Text           = "tabBarSplitterControl1";
            this.tabBarSplitterControl1.ThemesEnabled  = true;
            this.tabBarSplitterControl1.ScrollButtons  = Syncfusion.Windows.Forms.DisplayArrowButtons.None;
            //
            // tabBarPage1
            //
            this.tabBarPage1.Controls.Add(this.gridDisplay);
            this.tabBarPage1.Location      = new System.Drawing.Point(0, 0);
            this.tabBarPage1.Name          = "tabBarPage1";
            this.tabBarPage1.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
            this.tabBarPage1.TabBackColor  = System.Drawing.SystemColors.Control;
            this.tabBarPage1.Text          = "Display";
            this.tabBarPage1.ThemesEnabled = true;
            //
            // gridDisplay
            //
            this.gridDisplay.DpiAware    = true;
            this.gridDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gridDisplay.ColCount    = 15;

            this.gridDisplay.Dock                        = System.Windows.Forms.DockStyle.Fill;
            this.gridDisplay.FillSplitterPane            = true;
            this.gridDisplay.Location                    = new System.Drawing.Point(0, 0);
            this.gridDisplay.Name                        = "gridDisplay";
            this.gridDisplay.Properties.ColHeaders       = false;
            this.gridDisplay.Properties.DisplayHorzLines = false;
            this.gridDisplay.Properties.DisplayVertLines = false;
            this.gridDisplay.Properties.MarkColHeader    = false;
            this.gridDisplay.Properties.MarkRowHeader    = false;
            this.gridDisplay.Properties.RowHeaders       = false;
            this.gridDisplay.RowCount                    = 30;
            //this.gridDisplay.Size = new System.Drawing.Size(658, 374);
            this.gridDisplay.SmartSizeBox  = false;
            this.gridDisplay.Text          = "gridControl1";
            this.gridDisplay.ThemesEnabled = true;
            //
            // tabBarPage2
            //
            this.tabBarPage2.Controls.Add(this.gridCalculations);
            this.tabBarPage2.Location      = new System.Drawing.Point(0, 0);
            this.tabBarPage2.Name          = "tabBarPage2";
            this.tabBarPage2.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
            this.tabBarPage2.TabBackColor  = System.Drawing.SystemColors.Control;
            this.tabBarPage2.Text          = "Calculations";
            this.tabBarPage2.ThemesEnabled = true;
            //
            // gridCalculations
            //
            this.gridCalculations.DpiAware         = true;
            this.gridCalculations.ColCount         = 15;
            this.gridCalculations.FillSplitterPane = true;
            this.gridCalculations.Location         = new System.Drawing.Point(0, 0);
            this.gridCalculations.Name             = "gridCalculations";
            this.gridCalculations.RowCount         = 50;
            this.gridCalculations.Size             = new System.Drawing.Size(656, 372);
            this.gridCalculations.SmartSizeBox     = false;
            this.gridCalculations.Text             = "gridControl2";
            this.gridCalculations.DpiAware         = true;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(699, 416);
            this.Controls.Add(this.tabBarSplitterControl1);
            this.DropShadow  = false;
            this.MinimumSize = new Size(500, 400);
            this.Name        = "Form1";
            this.Text        = "Retirement Simulation Demo";
            this.Load       += new System.EventHandler(this.Form1_Load);
            this.tabBarSplitterControl1.ResumeLayout(false);
            this.tabBarPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridDisplay)).EndInit();
            this.tabBarPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridCalculations)).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 10
0
 public GridControl()
 {
     _grid = new Syncfusion.Windows.Forms.Grid.GridControl();
     InitializeGrid();
 }
Ejemplo n.º 11
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.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.panel1       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).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.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F);
     gridCellInfo1.Col      = -1;
     gridCellInfo1.Row      = -1;
     gridCellInfo1.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);
     gridCellInfo1.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);
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo1.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1
     });
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.Location             = new System.Drawing.Point(19, 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;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.Size          = new System.Drawing.Size(650, 440);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(688, 464);
     this.panel1.TabIndex = 1;
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(688, 464);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(500, 300);
     this.Name        = "Form1";
     this.Text        = "Cell Tip";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.radioButton3   = new System.Windows.Forms.RadioButton();
     this.radioButton2   = new System.Windows.Forms.RadioButton();
     this.radioButton1   = new System.Windows.Forms.RadioButton();
     this.gradientPanel3 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.gridControl1   = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.dataSet11      = new SelectionModes.DataSet1();
     this.groupBox2      = new System.Windows.Forms.GroupBox();
     this.checkBox10     = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox9      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox8      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox7      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox6      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox5      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox4      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox3      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox2      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox1      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.groupBox3      = new System.Windows.Forms.GroupBox();
     this.checkBox11     = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox12     = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox13     = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox14     = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
     this.gradientPanel2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox14)).BeginInit();
     this.SuspendLayout();
     //
     // gradientPanel2
     //
     this.gradientPanel2.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.Maroon, System.Drawing.Color.IndianRed);
     this.gradientPanel2.Controls.Add(this.groupBox1);
     this.gradientPanel2.Location = new System.Drawing.Point(2, 46);
     this.gradientPanel2.Name     = "gradientPanel2";
     this.gradientPanel2.Size     = new System.Drawing.Size(0, 0);
     this.gradientPanel2.TabIndex = 1;
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.Transparent;
     this.groupBox1.Controls.Add(this.radioButton3);
     this.groupBox1.Controls.Add(this.radioButton2);
     this.groupBox1.Controls.Add(this.radioButton1);
     this.groupBox1.ForeColor = System.Drawing.Color.White;
     this.groupBox1.Location  = new System.Drawing.Point(8, 8);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(184, 120);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Selection Mode";
     //
     // radioButton3
     //
     this.radioButton3.ForeColor = System.Drawing.Color.White;
     this.radioButton3.Location  = new System.Drawing.Point(8, 88);
     this.radioButton3.Name      = "radioButton3";
     this.radioButton3.Size      = new System.Drawing.Size(104, 24);
     this.radioButton3.TabIndex  = 2;
     this.radioButton3.Text      = "MultiExtended";
     //
     // radioButton2
     //
     this.radioButton2.ForeColor = System.Drawing.Color.White;
     this.radioButton2.Location  = new System.Drawing.Point(8, 56);
     this.radioButton2.Name      = "radioButton2";
     this.radioButton2.Size      = new System.Drawing.Size(104, 24);
     this.radioButton2.TabIndex  = 1;
     this.radioButton2.Text      = "MultiSimple";
     //
     // radioButton1
     //
     this.radioButton1.ForeColor = System.Drawing.Color.White;
     this.radioButton1.Location  = new System.Drawing.Point(8, 24);
     this.radioButton1.Name      = "radioButton1";
     this.radioButton1.Size      = new System.Drawing.Size(104, 24);
     this.radioButton1.TabIndex  = 0;
     this.radioButton1.Text      = "One";
     //
     // gradientPanel3
     //
     this.gradientPanel3.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.gradientPanel3.Border3DStyle = System.Windows.Forms.Border3DStyle.Adjust;
     this.gradientPanel3.Location      = new System.Drawing.Point(9, 32);
     this.gradientPanel3.Name          = "gradientPanel3";
     this.gradientPanel3.Size          = new System.Drawing.Size(607, 126);
     this.gradientPanel3.TabIndex      = 3;
     //
     // gridControl1
     //
     this.gridControl1.DpiAware       = true;
     this.gridControl1.AllowSelection = ((Syncfusion.Windows.Forms.Grid.GridSelectionFlags)(((((((Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Row | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Table)
                                                                                                 | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Cell)
                                                                                                | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Multiple)
                                                                                               | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Shift)
                                                                                              | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Keyboard)
                                                                                             | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.AlphaBlend)));
     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.BackColor   = System.Drawing.Color.White;
     this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount    = 5;
     this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
         new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(1, 126),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(2, 127),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(3, 113),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(4, 109),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(5, 139)
     });
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.Font                             = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ForeColor                        = System.Drawing.SystemColors.ControlText;
     this.gridControl1.ThemesEnabled                    = true;
     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(14, 7);
     this.gridControl1.MetroScrollBars                  = true;
     this.gridControl1.Name                             = "gridControl1";
     this.gridControl1.NumberedColHeaders               = false;
     this.gridControl1.NumberedRowHeaders               = false;
     this.gridControl1.Properties.BackgroundColor       = System.Drawing.Color.White;
     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;
     this.gridControl1.RightToLeft                      = System.Windows.Forms.RightToLeft.No;
     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(612, 395);
     this.gridControl1.SmartSizeBox = false;
     this.gridControl1.TabIndex     = 0;
     //
     // dataSet11
     //
     this.dataSet11.DataSetName             = "DataSet1";
     this.dataSet11.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.BackColor = System.Drawing.Color.White;
     this.groupBox2.Controls.Add(this.checkBox10);
     this.groupBox2.Controls.Add(this.checkBox9);
     this.groupBox2.Controls.Add(this.checkBox8);
     this.groupBox2.Controls.Add(this.checkBox7);
     this.groupBox2.Controls.Add(this.checkBox6);
     this.groupBox2.Controls.Add(this.checkBox5);
     this.groupBox2.Controls.Add(this.checkBox4);
     this.groupBox2.Controls.Add(this.checkBox3);
     this.groupBox2.Controls.Add(this.checkBox2);
     this.groupBox2.Controls.Add(this.checkBox1);
     this.groupBox2.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.ForeColor = System.Drawing.Color.Black;
     this.groupBox2.Location  = new System.Drawing.Point(641, 1);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(241, 203);
     this.groupBox2.TabIndex  = 0;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Selection Modes";
     //
     // checkBox10
     //
     this.checkBox10.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox10.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox10.Location           = new System.Drawing.Point(146, 145);
     this.checkBox10.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox10.Name               = "checkBox10";
     this.checkBox10.Size               = new System.Drawing.Size(89, 24);
     this.checkBox10.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox10.DrawFocusRectangle = true;
     this.checkBox10.TabIndex           = 10;
     this.checkBox10.Text               = "Table";
     this.checkBox10.ThemesEnabled      = false;
     this.checkBox10.CheckStateChanged += new System.EventHandler(this.checkBox10_CheckStateChanged);
     //
     // checkBox9
     //
     this.checkBox9.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox9.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox9.Location           = new System.Drawing.Point(10, 143);
     this.checkBox9.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox9.Name               = "checkBox9";
     this.checkBox9.Size               = new System.Drawing.Size(104, 24);
     this.checkBox9.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox9.DrawFocusRectangle = true;
     this.checkBox9.TabIndex           = 9;
     this.checkBox9.Text               = "Shift";
     this.checkBox9.ThemesEnabled      = false;
     this.checkBox9.CheckStateChanged += new System.EventHandler(this.checkBox9_CheckStateChanged);
     //
     // checkBox8
     //
     this.checkBox8.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox8.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox8.Location           = new System.Drawing.Point(146, 115);
     this.checkBox8.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox8.Name               = "checkBox8";
     this.checkBox8.Size               = new System.Drawing.Size(89, 24);
     this.checkBox8.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox8.DrawFocusRectangle = true;
     this.checkBox8.TabIndex           = 8;
     this.checkBox8.Text               = "Row";
     this.checkBox8.ThemesEnabled      = false;
     this.checkBox8.CheckStateChanged += new System.EventHandler(this.checkBox8_CheckStateChanged);
     //
     // checkBox7
     //
     this.checkBox7.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox7.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox7.Location           = new System.Drawing.Point(146, 83);
     this.checkBox7.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox7.Name               = "checkBox7";
     this.checkBox7.Size               = new System.Drawing.Size(89, 24);
     this.checkBox7.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox7.DrawFocusRectangle = true;
     this.checkBox7.TabIndex           = 6;
     this.checkBox7.Text               = "Multiple";
     this.checkBox7.ThemesEnabled      = false;
     this.checkBox7.CheckStateChanged += new System.EventHandler(this.checkBox7_CheckStateChanged);
     //
     // checkBox6
     //
     this.checkBox6.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox6.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox6.Location           = new System.Drawing.Point(10, 113);
     this.checkBox6.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox6.Name               = "checkBox6";
     this.checkBox6.Size               = new System.Drawing.Size(119, 24);
     this.checkBox6.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox6.DrawFocusRectangle = true;
     this.checkBox6.TabIndex           = 7;
     this.checkBox6.Text               = "MixRangeType";
     this.checkBox6.ThemesEnabled      = false;
     this.checkBox6.CheckStateChanged += new System.EventHandler(this.checkBox6_CheckStateChanged);
     //
     // checkBox5
     //
     this.checkBox5.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox5.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox5.Location           = new System.Drawing.Point(10, 83);
     this.checkBox5.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox5.Name               = "checkBox5";
     this.checkBox5.Size               = new System.Drawing.Size(105, 24);
     this.checkBox5.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox5.DrawFocusRectangle = true;
     this.checkBox5.TabIndex           = 5;
     this.checkBox5.Text               = "Keyboard";
     this.checkBox5.ThemesEnabled      = false;
     this.checkBox5.CheckedChanged    += new System.EventHandler(this.checkBox5_CheckedChanged);
     //
     // checkBox4
     //
     this.checkBox4.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox4.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox4.Location           = new System.Drawing.Point(146, 53);
     this.checkBox4.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox4.Name               = "checkBox4";
     this.checkBox4.Size               = new System.Drawing.Size(89, 24);
     this.checkBox4.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox4.DrawFocusRectangle = true;
     this.checkBox4.TabIndex           = 4;
     this.checkBox4.Text               = "Column";
     this.checkBox4.ThemesEnabled      = false;
     this.checkBox4.CheckedChanged    += new System.EventHandler(this.checkBox4_CheckedChanged);
     //
     // checkBox3
     //
     this.checkBox3.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox3.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox3.Location           = new System.Drawing.Point(146, 21);
     this.checkBox3.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox3.Name               = "checkBox3";
     this.checkBox3.Size               = new System.Drawing.Size(89, 24);
     this.checkBox3.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox3.DrawFocusRectangle = true;
     this.checkBox3.TabIndex           = 2;
     this.checkBox3.Text               = "Cell";
     this.checkBox3.ThemesEnabled      = false;
     this.checkBox3.CheckedChanged    += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox2.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.Location           = new System.Drawing.Point(10, 21);
     this.checkBox2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox2.Name               = "checkBox2";
     this.checkBox2.Size               = new System.Drawing.Size(104, 24);
     this.checkBox2.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox2.DrawFocusRectangle = true;
     this.checkBox2.TabIndex           = 3;
     this.checkBox2.Text               = "Any";
     this.checkBox2.ThemesEnabled      = false;
     this.checkBox2.CheckedChanged    += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // checkBox1
     //
     this.checkBox1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox1.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.Location           = new System.Drawing.Point(10, 53);
     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(104, 24);
     this.checkBox1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.DrawFocusRectangle = true;
     this.checkBox1.TabIndex           = 1;
     this.checkBox1.Text               = "AlphaBlend";
     this.checkBox1.ThemesEnabled      = false;
     this.checkBox1.CheckedChanged    += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // groupBox3
     //
     this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox3.Controls.Add(this.checkBox11);
     this.groupBox3.Controls.Add(this.checkBox12);
     this.groupBox3.Controls.Add(this.checkBox13);
     this.groupBox3.Controls.Add(this.checkBox14);
     this.groupBox3.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox3.ForeColor = System.Drawing.Color.Black;
     this.groupBox3.Location  = new System.Drawing.Point(641, 222);
     this.groupBox3.Name      = "groupBox3";
     this.groupBox3.Size      = new System.Drawing.Size(241, 180);
     this.groupBox3.TabIndex  = 1;
     this.groupBox3.TabStop   = false;
     this.groupBox3.Text      = "ListBox Selection Modes";
     //
     // checkBox11
     //
     this.checkBox11.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox11.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox11.Location           = new System.Drawing.Point(10, 23);
     this.checkBox11.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox11.Name               = "checkBox11";
     this.checkBox11.Size               = new System.Drawing.Size(119, 24);
     this.checkBox11.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox11.DrawFocusRectangle = true;
     this.checkBox11.TabIndex           = 9;
     this.checkBox11.Text               = "MultiSimple";
     this.checkBox11.ThemesEnabled      = false;
     this.checkBox11.CheckedChanged    += new System.EventHandler(this.checkBox11_CheckedChanged);
     //
     // checkBox12
     //
     this.checkBox12.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox12.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox12.Location           = new System.Drawing.Point(146, 23);
     this.checkBox12.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox12.Name               = "checkBox12";
     this.checkBox12.Size               = new System.Drawing.Size(75, 24);
     this.checkBox12.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox12.DrawFocusRectangle = true;
     this.checkBox12.TabIndex           = 10;
     this.checkBox12.Text               = "One";
     this.checkBox12.ThemesEnabled      = false;
     this.checkBox12.CheckStateChanged += new System.EventHandler(this.checkBox12_CheckStateChanged);
     //
     // checkBox13
     //
     this.checkBox13.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox13.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox13.Location           = new System.Drawing.Point(10, 53);
     this.checkBox13.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox13.Name               = "checkBox13";
     this.checkBox13.Size               = new System.Drawing.Size(104, 24);
     this.checkBox13.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox13.DrawFocusRectangle = true;
     this.checkBox13.TabIndex           = 11;
     this.checkBox13.Text               = "MultiExtended";
     this.checkBox13.ThemesEnabled      = false;
     this.checkBox13.CheckedChanged    += new System.EventHandler(this.checkBox13_CheckedChanged);
     //
     // checkBox14
     //
     this.checkBox14.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox14.Font               = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox14.Location           = new System.Drawing.Point(146, 53);
     this.checkBox14.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBox14.Name               = "checkBox14";
     this.checkBox14.Size               = new System.Drawing.Size(75, 24);
     this.checkBox14.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox14.DrawFocusRectangle = true;
     this.checkBox14.TabIndex           = 12;
     this.checkBox14.Text               = "None";
     this.checkBox14.ThemesEnabled      = false;
     this.checkBox14.CheckedChanged    += new System.EventHandler(this.checkBox14_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(893, 414);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.gradientPanel3);
     this.MinimumSize = new System.Drawing.Size(780, 420);
     this.Name        = "Form1";
     this.Text        = "Selection Mode ";
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
     this.gradientPanel2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBox10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     this.groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBox11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox14)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 13
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();
     this.gridControl1          = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.statsLabel            = new System.Windows.Forms.Label();
     this.gridCellIndexerButton = new Syncfusion.Windows.Forms.ButtonAdv();
     this.populateValuesbutton  = new Syncfusion.Windows.Forms.ButtonAdv();
     this.virtualButton         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.groupBox1             = new System.Windows.Forms.GroupBox();
     this.label2      = new System.Windows.Forms.Label();
     this.label1      = new System.Windows.Forms.Label();
     this.applyButton = new Syncfusion.Windows.Forms.ButtonAdv();
     this.colNumeric  = new System.Windows.Forms.NumericUpDown();
     this.rowNumeric  = new System.Windows.Forms.NumericUpDown();
     this.panel1      = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.colNumeric)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rowNumeric)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.DblClickOnCell;
     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.BackColor              = System.Drawing.Color.White;
     this.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.DefaultColWidth        = 70;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 18;
     this.gridControl1.ForeColor              = System.Drawing.Color.White;
     this.gridControl1.Location      = new System.Drawing.Point(23, 3);
     this.gridControl1.Name          = "gridControl1";
     this.gridControl1.RowCount      = 1000;
     this.gridControl1.Size          = new System.Drawing.Size(518, 345);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "grid";
     this.gridControl1.ThemesEnabled = true;
     //
     // statsLabel
     //
     this.statsLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.statsLabel.BackColor   = System.Drawing.Color.White;
     this.statsLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.statsLabel.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.statsLabel.Font        = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.statsLabel.Location    = new System.Drawing.Point(559, 268);
     this.statsLabel.Name        = "statsLabel";
     this.statsLabel.Size        = new System.Drawing.Size(144, 80);
     this.statsLabel.TabIndex    = 0;
     this.statsLabel.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // gridCellIndexerButton
     //
     this.gridCellIndexerButton.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.gridCellIndexerButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.gridCellIndexerButton.FlatStyle         = FlatStyle.Flat;
     this.gridCellIndexerButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.gridCellIndexerButton.BeforeTouchSize   = new System.Drawing.Size(120, 23);
     this.gridCellIndexerButton.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.gridCellIndexerButton.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridCellIndexerButton.ForeColor         = System.Drawing.Color.White;
     this.gridCellIndexerButton.IsBackStageButton = false;
     this.gridCellIndexerButton.Location          = new System.Drawing.Point(570, 139);
     this.gridCellIndexerButton.Name              = "gridCellIndexerButton";
     this.gridCellIndexerButton.Size              = new System.Drawing.Size(120, 23);
     this.gridCellIndexerButton.TabIndex          = 4;
     this.gridCellIndexerButton.Text              = "Grid Cell Indexer";
     this.gridCellIndexerButton.Click            += new System.EventHandler(this.gridCellIndexerButton_Click);
     //
     // populateValuesbutton
     //
     this.populateValuesbutton.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.populateValuesbutton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.populateValuesbutton.FlatStyle         = FlatStyle.Flat;
     this.populateValuesbutton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.populateValuesbutton.BeforeTouchSize   = new System.Drawing.Size(120, 23);
     this.populateValuesbutton.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.populateValuesbutton.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.populateValuesbutton.ForeColor         = System.Drawing.Color.White;
     this.populateValuesbutton.IsBackStageButton = false;
     this.populateValuesbutton.Location          = new System.Drawing.Point(570, 182);
     this.populateValuesbutton.Name              = "populateValuesbutton";
     this.populateValuesbutton.Size              = new System.Drawing.Size(120, 23);
     this.populateValuesbutton.TabIndex          = 5;
     this.populateValuesbutton.Text              = "PopulateValues ";
     this.populateValuesbutton.Click            += new System.EventHandler(this.populateValuesbutton_Click);
     //
     // virtualButton
     //
     this.virtualButton.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.virtualButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.virtualButton.FlatStyle         = FlatStyle.Flat;
     this.virtualButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.virtualButton.BeforeTouchSize   = new System.Drawing.Size(120, 23);
     this.virtualButton.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.virtualButton.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.virtualButton.ForeColor         = System.Drawing.Color.White;
     this.virtualButton.IsBackStageButton = false;
     this.virtualButton.Location          = new System.Drawing.Point(570, 226);
     this.virtualButton.Name              = "virtualButton";
     this.virtualButton.Size              = new System.Drawing.Size(120, 23);
     this.virtualButton.TabIndex          = 6;
     this.virtualButton.Text              = "Virtual Grid";
     this.virtualButton.Click            += new System.EventHandler(this.virtualButton_Click);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.applyButton);
     this.groupBox1.Controls.Add(this.colNumeric);
     this.groupBox1.Controls.Add(this.rowNumeric);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location  = new System.Drawing.Point(559, 0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(144, 116);
     this.groupBox1.TabIndex  = 1;
     this.groupBox1.TabStop   = false;
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Location  = new System.Drawing.Point(8, 42);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(48, 20);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Columns";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(8, 20);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(32, 20);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Rows";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // applyButton
     //
     this.applyButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.applyButton.FlatStyle         = FlatStyle.Flat;
     this.applyButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.applyButton.BeforeTouchSize   = new System.Drawing.Size(128, 24);
     this.applyButton.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.applyButton.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.applyButton.ForeColor         = System.Drawing.Color.White;
     this.applyButton.IsBackStageButton = false;
     this.applyButton.Location          = new System.Drawing.Point(8, 72);
     this.applyButton.Name              = "applyButton";
     this.applyButton.Size              = new System.Drawing.Size(128, 24);
     this.applyButton.TabIndex          = 3;
     this.applyButton.Text              = "Change Data";
     this.applyButton.Click            += new System.EventHandler(this.applyButton_Click);
     //
     // colNumeric
     //
     this.colNumeric.BackColor   = System.Drawing.Color.White;
     this.colNumeric.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.colNumeric.Increment   = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.colNumeric.Location = new System.Drawing.Point(80, 42);
     this.colNumeric.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.colNumeric.Minimum = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.colNumeric.Name     = "colNumeric";
     this.colNumeric.Size     = new System.Drawing.Size(56, 20);
     this.colNumeric.TabIndex = 2;
     this.colNumeric.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.colNumeric.ValueChanged += new System.EventHandler(this.Numeric_ValueChanged);
     //
     // rowNumeric
     //
     this.rowNumeric.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.rowNumeric.Increment   = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.rowNumeric.Location = new System.Drawing.Point(80, 16);
     this.rowNumeric.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.rowNumeric.Minimum = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.rowNumeric.Name     = "rowNumeric";
     this.rowNumeric.Size     = new System.Drawing.Size(56, 20);
     this.rowNumeric.TabIndex = 1;
     this.rowNumeric.Value    = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.rowNumeric.ValueChanged += new System.EventHandler(this.Numeric_ValueChanged);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.virtualButton);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.populateValuesbutton);
     this.panel1.Controls.Add(this.statsLabel);
     this.panel1.Controls.Add(this.gridCellIndexerButton);
     this.panel1.Controls.Add(this.gridControl1);
     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(718, 365);
     this.panel1.TabIndex = 6;
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(718, 365);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(300, 400);
     this.Name        = "Form1";
     this.Text        = "Grid Population";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.colNumeric)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rowNumeric)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 14
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.gridControl1                 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.contextMenuStrip1            = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.formatCellsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.contextMenuStrip1.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.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.ContextMenuStrip       = this.contextMenuStrip1;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     resources.ApplyResources(this.gridControl1, "gridControl1");
     this.gridControl1.ForeColor            = System.Drawing.SystemColors.ControlText;
     this.gridControl1.ThemesEnabled        = true;
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     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)(215)))), ((int)(((byte)(228)))), ((int)(((byte)(255)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     this.gridControl1.RowCount = 20;
     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.SmartSizeBox                    = false;
     this.gridControl1.UseRightToLeftCompatibleTextBox = true;
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.formatCellsToolStripMenuItem
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     resources.ApplyResources(this.contextMenuStrip1, "contextMenuStrip1");
     //
     // formatCellsToolStripMenuItem
     //
     this.formatCellsToolStripMenuItem.Name = "formatCellsToolStripMenuItem";
     resources.ApplyResources(this.formatCellsToolStripMenuItem, "formatCellsToolStripMenuItem");
     this.formatCellsToolStripMenuItem.Click += new System.EventHandler(this.formatCellsToolStripMenuItem_Click);
     //
     // Form1
     //
     resources.ApplyResources(this, "$this");
     this.Controls.Add(this.gridControl1);
     this.MinimumSize = new System.Drawing.Size(355, 162);
     this.Name        = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 15
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.GridCellInfo  gridCellInfo1  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo  gridCellInfo2  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.panel1       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).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)));
     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(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     gridBaseStyle1.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle2.Name = "Standard";
     gridBaseStyle2.StyleInfo.Font.Facename = "Segoe UI";
     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;
     gridBaseStyle4.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     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    = 8;
     this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
         new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(3, 179),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(4, 196)
     });
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ForeColor            = System.Drawing.Color.MidnightBlue;
     gridCellInfo1.Col                      = -1;
     gridCellInfo1.Row                      = -1;
     gridCellInfo1.StyleInfo.Font.Bold      = false;
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Font.Italic    = false;
     gridCellInfo1.StyleInfo.Font.Size      = 8.5F;
     gridCellInfo1.StyleInfo.Font.Strikeout = false;
     gridCellInfo1.StyleInfo.Font.Underline = false;
     gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.Col                      = -1;
     gridCellInfo2.Row                      = -1;
     gridCellInfo2.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);
     gridCellInfo2.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);
     gridCellInfo2.StyleInfo.Font.Bold      = false;
     gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo2.StyleInfo.Font.Italic    = false;
     gridCellInfo2.StyleInfo.Font.Size      = 8.5F;
     gridCellInfo2.StyleInfo.Font.Strikeout = false;
     gridCellInfo2.StyleInfo.Font.Underline = false;
     gridCellInfo2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo2.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1,
         gridCellInfo2
     });
     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, 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)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     this.gridControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.gridControl1.RowCount    = 30;
     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.SerializeIntoCode;
     this.gridControl1.Size                   = new System.Drawing.Size(988, 629);
     this.gridControl1.SmartSizeBox           = false;
     this.gridControl1.TabIndex               = 3;
     this.gridControl1.ThemesEnabled          = true;
     this.gridControl1.VerticalThumbTrack     = true;
     this.gridControl1.SaveCellText          += new Syncfusion.Windows.Forms.Grid.GridCellTextEventHandler(this.gridControl1_SaveCellText);
     this.gridControl1.SaveCellFormattedText += new Syncfusion.Windows.Forms.Grid.GridCellTextEventHandler(this.gridControl1_SaveCellFormattedText);
     //
     // 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, 653);
     this.panel1.TabIndex = 4;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1012, 653);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(800, 503);
     this.Name        = "Form1";
     this.Text        = "Text Format";
     this.Load       += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 16
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1   = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.pictureBox1    = new System.Windows.Forms.PictureBox();
     this.button1        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button2        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button3        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.button4        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.panel1         = new System.Windows.Forms.Panel();
     this.groupBox2      = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.panel1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.AllowDrop = 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.ColCount               = 7;
     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);
     gridCellInfo2.Col      = -1;
     gridCellInfo2.Row      = -1;
     gridCellInfo2.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);
     gridCellInfo2.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);
     gridCellInfo2.StyleInfo.Font.Bold      = false;
     gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo2.StyleInfo.Font.Italic    = false;
     gridCellInfo2.StyleInfo.Font.Size      = 9F;
     gridCellInfo2.StyleInfo.Font.Strikeout = false;
     gridCellInfo2.StyleInfo.Font.Underline = false;
     gridCellInfo2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo2.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo2
     });
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.Location             = new System.Drawing.Point(12, 0);
     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;
     this.gridControl1.RowCount = 16;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.Size          = new System.Drawing.Size(460, 630);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     //
     // pictureBox1
     //
     this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pictureBox1.Location    = new System.Drawing.Point(647, 3);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(362, 627);
     this.pictureBox1.TabIndex    = 1;
     this.pictureBox1.TabStop     = false;
     //
     // button1
     //
     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(134, 28);
     this.button1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button1.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(16, 32);
     this.button1.Name              = "button1";
     this.button1.Size              = new System.Drawing.Size(134, 28);
     this.button1.TabIndex          = 6;
     this.button1.Text              = "Show Bitmap";
     this.button1.Click            += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button2.FlatStyle         = FlatStyle.Flat;
     this.button2.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button2.BeforeTouchSize   = new System.Drawing.Size(134, 29);
     this.button2.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button2.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor         = System.Drawing.Color.White;
     this.button2.IsBackStageButton = false;
     this.button2.Location          = new System.Drawing.Point(16, 80);
     this.button2.Name              = "button2";
     this.button2.Size              = new System.Drawing.Size(134, 29);
     this.button2.TabIndex          = 7;
     this.button2.Text              = "PrintPreviewToFit";
     this.button2.Click            += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.FlatStyle         = FlatStyle.Flat;
     this.button3.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button3.BeforeTouchSize   = new System.Drawing.Size(134, 29);
     this.button3.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button3.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.ForeColor         = System.Drawing.Color.White;
     this.button3.IsBackStageButton = false;
     this.button3.Location          = new System.Drawing.Point(16, 127);
     this.button3.Name              = "button3";
     this.button3.Size              = new System.Drawing.Size(134, 29);
     this.button3.TabIndex          = 8;
     this.button3.Text              = "PrintToFit";
     this.button3.Click            += new System.EventHandler(this.button3_Click);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.button4);
     this.groupBox1.Controls.Add(this.numericUpDown2);
     this.groupBox1.Controls.Add(this.numericUpDown1);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location  = new System.Drawing.Point(478, 3);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(163, 196);
     this.groupBox1.TabIndex  = 1;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Change Content";
     //
     // button4
     //
     this.button4.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button4.FlatStyle         = FlatStyle.Flat;
     this.button4.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button4.BeforeTouchSize   = new System.Drawing.Size(134, 28);
     this.button4.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button4.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button4.ForeColor         = System.Drawing.Color.White;
     this.button4.IsBackStageButton = false;
     this.button4.Location          = new System.Drawing.Point(15, 128);
     this.button4.Name              = "button4";
     this.button4.Size              = new System.Drawing.Size(134, 28);
     this.button4.TabIndex          = 4;
     this.button4.Text              = "Apply";
     this.button4.Click            += new System.EventHandler(this.button4_Click);
     //
     // numericUpDown2
     //
     this.numericUpDown2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.numericUpDown2.Location    = new System.Drawing.Point(92, 83);
     this.numericUpDown2.Maximum     = new decimal(new int[] {
         20,
         0,
         0,
         0
     });
     this.numericUpDown2.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown2.Name     = "numericUpDown2";
     this.numericUpDown2.Size     = new System.Drawing.Size(57, 23);
     this.numericUpDown2.TabIndex = 3;
     this.numericUpDown2.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     //
     // numericUpDown1
     //
     this.numericUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.numericUpDown1.Location    = new System.Drawing.Point(92, 38);
     this.numericUpDown1.Maximum     = new decimal(new int[] {
         80,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(57, 23);
     this.numericUpDown1.TabIndex = 2;
     this.numericUpDown1.Value    = new decimal(new int[] {
         30,
         0,
         0,
         0
     });
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(13, 86);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(38, 28);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Cols:";
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(13, 38);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 28);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Rows:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.groupBox2);
     this.panel1.Controls.Add(this.pictureBox1);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.gridControl1);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1012, 652);
     this.panel1.TabIndex = 6;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.button1);
     this.groupBox2.Controls.Add(this.button2);
     this.groupBox2.Controls.Add(this.button3);
     this.groupBox2.Location = new System.Drawing.Point(478, 224);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(163, 406);
     this.groupBox2.TabIndex = 6;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Printing Options";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1012, 656);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(800, 500);
     this.Name        = "Form1";
     this.Text        = "Print To Fit ";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.checkBox1    = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.panel1       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).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.ColCount    = 11;
     this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
         new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(1, 176),
         new Syncfusion.Windows.Forms.Grid.GridColWidth(2, 66)
     });
     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.ForeColor                        = System.Drawing.SystemColors.ControlText;
     this.gridControl1.ThemesEnabled                    = true;
     this.gridControl1.GridOfficeScrollBars             = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles                 = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.Location                         = new System.Drawing.Point(-2, -2);
     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;
     this.gridControl1.RightToLeft                      = System.Windows.Forms.RightToLeft.No;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 21),
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(1, 17),
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(2, 18),
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(3, 17),
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(4, 18)
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size         = new System.Drawing.Size(866, 489);
     this.gridControl1.SmartSizeBox = false;
     this.gridControl1.TabIndex     = 0;
     //
     // checkBox1
     //
     this.checkBox1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBox1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox1.Checked            = true;
     this.checkBox1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.DrawFocusRectangle = false;
     this.checkBox1.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.Location        = new System.Drawing.Point(511, 511);
     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(90, 24);
     this.checkBox1.Style           = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.TabIndex        = 1;
     this.checkBox1.Text            = "Resize To Fit";
     this.checkBox1.ThemesEnabled   = false;
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor   = System.Drawing.SystemColors.Control;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.gridControl1);
     this.panel1.Location = new System.Drawing.Point(12, 12);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(864, 493);
     this.panel1.TabIndex = 2;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(888, 543);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(600, 500);
     this.Name        = "Form1";
     this.Text        = "Custom Cell Autosizing";
     this.Load       += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 18
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();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.button1      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button2      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button4      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button3      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControl1
     //
     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.Location     = new System.Drawing.Point(12, 1);
     this.gridControl1.Name         = "gridControl1";
     this.gridControl1.RowCount     = 200;
     this.gridControl1.Size         = new System.Drawing.Size(572, 376);
     this.gridControl1.SmartSizeBox = false;
     this.gridControl1.TabIndex     = 0;
     this.gridControl1.Text         = "gridControl1";
     //
     // button1
     //
     this.button1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.FlatStyle         = FlatStyle.Flat;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(148, 29);
     this.button1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(20, 192);
     this.button1.Name              = "button1";
     this.button1.Size              = new System.Drawing.Size(156, 29);
     this.button1.TabIndex          = 7;
     this.button1.Text              = "&Freeze Current Row/Col";
     this.button1.Click            += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button2.FlatStyle         = FlatStyle.Flat;
     this.button2.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button2.BeforeTouchSize   = new System.Drawing.Size(148, 30);
     this.button2.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button2.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor         = System.Drawing.Color.White;
     this.button2.IsBackStageButton = false;
     this.button2.Location          = new System.Drawing.Point(20, 48);
     this.button2.Name              = "button2";
     this.button2.Size              = new System.Drawing.Size(156, 30);
     this.button2.TabIndex          = 3;
     this.button2.Text              = "Freeze Row, Column";
     this.button2.Click            += new System.EventHandler(this.button2_Click);
     //
     // button4
     //
     this.button4.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button4.FlatStyle         = FlatStyle.Flat;
     this.button4.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button4.BeforeTouchSize   = new System.Drawing.Size(148, 28);
     this.button4.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button4.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button4.ForeColor         = System.Drawing.Color.White;
     this.button4.IsBackStageButton = false;
     this.button4.Location          = new System.Drawing.Point(20, 145);
     this.button4.Name              = "button4";
     this.button4.Size              = new System.Drawing.Size(156, 28);
     this.button4.TabIndex          = 6;
     this.button4.Text              = "Reset All";
     this.button4.Click            += new System.EventHandler(this.button4_Click);
     //
     // button3
     //
     this.button3.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.FlatStyle         = FlatStyle.Flat;
     this.button3.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button3.BeforeTouchSize   = new System.Drawing.Size(148, 29);
     this.button3.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button3.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.ForeColor         = System.Drawing.Color.White;
     this.button3.IsBackStageButton = false;
     this.button3.Location          = new System.Drawing.Point(20, 96);
     this.button3.Name              = "button3";
     this.button3.Size              = new System.Drawing.Size(156, 29);
     this.button3.TabIndex          = 5;
     this.button3.Text              = "Freeze Range";
     this.button3.Click            += new System.EventHandler(this.button3_Click);
     //
     // 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.button2);
     this.groupBox1.Controls.Add(this.button1);
     this.groupBox1.Controls.Add(this.button4);
     this.groupBox1.Controls.Add(this.button3);
     this.groupBox1.Location = new System.Drawing.Point(603, 1);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(190, 376);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Freeze Options";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(793, 403);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.gridControl1);
     this.MinimumSize = new System.Drawing.Size(600, 350);
     this.Name        = "Form1";
     this.Text        = "Freeze Pane";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 19
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.GridCellInfo  gridCellInfo1  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.panel1       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.panel1.SuspendLayout();
     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.BackColor                  = System.Drawing.Color.White;
     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(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     gridBaseStyle1.StyleInfo.VerticalAlignment   = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle2.Name                          = "Standard";
     gridBaseStyle2.StyleInfo.Font.Facename       = "Segoe UI";
     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;
     gridBaseStyle4.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     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.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ForeColor            = System.Drawing.Color.MidnightBlue;
     gridCellInfo1.Col                      = -1;
     gridCellInfo1.Row                      = -1;
     gridCellInfo1.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);
     gridCellInfo1.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);
     gridCellInfo1.StyleInfo.Font.Bold      = false;
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Font.Italic    = false;
     gridCellInfo1.StyleInfo.Font.Size      = 8.5F;
     gridCellInfo1.StyleInfo.Font.Strikeout = false;
     gridCellInfo1.StyleInfo.Font.Underline = false;
     gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo1.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo1.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1
     });
     //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.HorizontalThumbTrack = true;
     this.gridControl1.Location             = new System.Drawing.Point(21, 12);
     //this.gridControl1.MetroScrollBars = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     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;
     this.gridControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     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.SerializeIntoCode;
     this.gridControl1.Size               = new System.Drawing.Size(750, 404);
     this.gridControl1.SmartSizeBox       = false;
     this.gridControl1.TabIndex           = 1;
     this.gridControl1.ThemesEnabled      = true;
     this.gridControl1.VerticalThumbTrack = true;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.gridControl1);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(792, 437);
     this.panel1.TabIndex = 2;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(792, 437);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(300, 200);
     this.Name        = "Form1";
     this.Text        = "Virtual Grid";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 20
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.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.GridCellInfo     gridCellInfo1  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            Syncfusion.Windows.Forms.Grid.GridCellInfo     gridCellInfo2  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            Syncfusion.Windows.Forms.Grid.GridCellInfo     gridCellInfo3  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            Syncfusion.Windows.Forms.Grid.GridCellInfo     gridCellInfo4  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            Syncfusion.Windows.Forms.Grid.GridCellInfo     gridCellInfo5  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            Syncfusion.Windows.Forms.Grid.GridCellInfo     gridCellInfo6  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            Syncfusion.Windows.Forms.Grid.GridCellInfo     gridCellInfo7  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            Syncfusion.Windows.Forms.Grid.GridCellInfo     gridCellInfo8  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            Syncfusion.Windows.Forms.Grid.GridCellInfo     gridCellInfo9  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
            System.ComponentModel.ComponentResourceManager resources      = new System.ComponentModel.ComponentResourceManager(typeof(TreeGridForm));
            this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
            this.imageList1   = new System.Windows.Forms.ImageList(this.components);
            this.label1       = new System.Windows.Forms.Label();
            this.panel1       = new System.Windows.Forms.Panel();
            this.checkBox1    = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
            this.comboBox1    = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
            this.SuspendLayout();
            //
            // gridControl1
            //
            this.gridControl1.DpiAware       = true;
            this.gridControl1.AllowSelection = ((Syncfusion.Windows.Forms.Grid.GridSelectionFlags)(((((((Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Row | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Table)
                                                                                                        | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Cell)
                                                                                                       | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Multiple)
                                                                                                      | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Shift)
                                                                                                     | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Keyboard)
                                                                                                    | Syncfusion.Windows.Forms.Grid.GridSelectionFlags.AlphaBlend)));
            this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            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.BackColor                  = System.Drawing.Color.White;
            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.Font.Facename       = "Segoe UI";
            gridBaseStyle1.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
            gridBaseStyle1.StyleInfo.VerticalAlignment   = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
            gridBaseStyle2.Name                          = "Standard";
            gridBaseStyle2.StyleInfo.Font.Facename       = "Segoe UI";
            gridBaseStyle2.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
            gridBaseStyle3.Name                          = "Column Header";
            gridBaseStyle3.StyleInfo.BaseStyle           = "Header";
            gridBaseStyle3.StyleInfo.Font.Facename       = "Segoe UI";
            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;
            gridBaseStyle4.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
            this.gridControl1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
                gridBaseStyle1,
                gridBaseStyle2,
                gridBaseStyle3,
                gridBaseStyle4
            });
            this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.gridControl1.ColCount    = 5;
            this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
                new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35),
                new Syncfusion.Windows.Forms.Grid.GridColWidth(4, 89)
            });
            this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 8.25F);
            gridCellInfo1.Col                      = -1;
            gridCellInfo1.Row                      = -1;
            gridCellInfo1.StyleInfo.Font.Bold      = false;
            gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
            gridCellInfo1.StyleInfo.Font.Italic    = false;
            gridCellInfo1.StyleInfo.Font.Size      = 8.25F;
            gridCellInfo1.StyleInfo.Font.Strikeout = false;
            gridCellInfo1.StyleInfo.Font.Underline = false;
            gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
            gridCellInfo2.Col                      = -1;
            gridCellInfo2.Row                      = -1;
            gridCellInfo2.StyleInfo.Font.Bold      = false;
            gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
            gridCellInfo2.StyleInfo.Font.Italic    = false;
            gridCellInfo2.StyleInfo.Font.Size      = 8.25F;
            gridCellInfo2.StyleInfo.Font.Strikeout = false;
            gridCellInfo2.StyleInfo.Font.Underline = false;
            gridCellInfo2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
            gridCellInfo3.Col                      = -1;
            gridCellInfo3.Row                      = -1;
            gridCellInfo3.StyleInfo.Font.Bold      = false;
            gridCellInfo3.StyleInfo.Font.Facename  = "Segoe UI";
            gridCellInfo3.StyleInfo.Font.Italic    = false;
            gridCellInfo3.StyleInfo.Font.Size      = 8.25F;
            gridCellInfo3.StyleInfo.Font.Strikeout = false;
            gridCellInfo3.StyleInfo.Font.Underline = false;
            gridCellInfo3.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
            gridCellInfo4.Col                      = -1;
            gridCellInfo4.Row                      = -1;
            gridCellInfo4.StyleInfo.Font.Bold      = false;
            gridCellInfo4.StyleInfo.Font.Facename  = "Segoe UI";
            gridCellInfo4.StyleInfo.Font.Italic    = false;
            gridCellInfo4.StyleInfo.Font.Size      = 8.25F;
            gridCellInfo4.StyleInfo.Font.Strikeout = false;
            gridCellInfo4.StyleInfo.Font.Underline = false;
            gridCellInfo4.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
            gridCellInfo5.Col                      = 1;
            gridCellInfo5.Row                      = 0;
            gridCellInfo5.StyleInfo.Text           = "Name";
            gridCellInfo6.Col                      = 2;
            gridCellInfo6.Row                      = 0;
            gridCellInfo6.StyleInfo.Text           = "Size";
            gridCellInfo7.Col                      = 3;
            gridCellInfo7.Row                      = 0;
            gridCellInfo7.StyleInfo.Text           = "Path";
            gridCellInfo8.Col                      = 4;
            gridCellInfo8.Row                      = 0;
            gridCellInfo8.StyleInfo.Text           = "Modified Time";
            gridCellInfo8.StyleInfo.Themed         = true;
            gridCellInfo9.Col                      = 5;
            gridCellInfo9.Row                      = 0;
            gridCellInfo9.StyleInfo.Text           = "Type";
            this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
                gridCellInfo1,
                gridCellInfo2,
                gridCellInfo3,
                gridCellInfo4,
                gridCellInfo5,
                gridCellInfo6,
                gridCellInfo7,
                gridCellInfo8,
                gridCellInfo9
            });
            this.gridControl1.HorizontalThumbTrack = true;
            this.gridControl1.Location             = new System.Drawing.Point(-1, 50);
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.Properties.BackgroundColor       = System.Drawing.Color.White;
            this.gridControl1.Properties.ForceImmediateRepaint = false;
            this.gridControl1.Properties.MarkColHeader         = false;
            this.gridControl1.Properties.MarkRowHeader         = false;
            this.gridControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            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.SerializeIntoCode;
            this.gridControl1.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.HideAlways;
            this.gridControl1.Size               = new System.Drawing.Size(860, 564);
            this.gridControl1.SmartSizeBox       = false;
            this.gridControl1.TabIndex           = 0;
            this.gridControl1.ThemesEnabled      = true;
            this.gridControl1.DpiAware           = true;
            this.gridControl1.VerticalThumbTrack = 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, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            this.imageList1.Images.SetKeyName(3, "");
            this.imageList1.Images.SetKeyName(4, "");
            this.imageList1.Images.SetKeyName(5, "");
            //
            // label1
            //
            this.label1.BackColor = System.Drawing.Color.White;
            this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19)))));
            this.label1.Location  = new System.Drawing.Point(3, 13);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(136, 16);
            this.label1.TabIndex  = 4;
            this.label1.Text      = "Logical Drives";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // panel1
            //
            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.panel1.BackColor   = System.Drawing.Color.White;
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.label1);
            this.panel1.Controls.Add(this.checkBox1);
            this.panel1.Controls.Add(this.gridControl1);
            this.panel1.Controls.Add(this.comboBox1);
            this.panel1.Location = new System.Drawing.Point(12, 12);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(863, 619);
            this.panel1.TabIndex = 7;
            //
            // checkBox1
            //
            this.checkBox1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
            this.checkBox1.Font               = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.checkBox1.ForeColor          = System.Drawing.Color.Navy;
            this.checkBox1.Location           = new System.Drawing.Point(407, 12);
            this.checkBox1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(216)))));
            this.checkBox1.Name               = "checkBox1";
            this.checkBox1.Size               = new System.Drawing.Size(104, 24);
            this.checkBox1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
            this.checkBox1.DrawFocusRectangle = true;
            this.checkBox1.TabIndex           = 2;
            this.checkBox1.Text               = "Hide Details";
            this.checkBox1.ThemesEnabled      = false;
            this.checkBox1.CheckedChanged    += new System.EventHandler(this.checkBox1_CheckedChanged);
            //
            // comboBox1
            //
            this.comboBox1.BackColor             = System.Drawing.Color.White;
            this.comboBox1.BeforeTouchSize       = new System.Drawing.Size(184, 23);
            this.comboBox1.Font                  = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.comboBox1.Location              = new System.Drawing.Point(162, 13);
            this.comboBox1.Name                  = "comboBox1";
            this.comboBox1.Size                  = new System.Drawing.Size(184, 23);
            this.comboBox1.Style                 = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.comboBox1.TabIndex              = 1;
            this.comboBox1.Text                  = "[select drive]";
            this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
            //
            //High DPI Support
            //
            if (DpiAware.GetCurrentDpi() > 96)
            {
                this.checkBox1.Size = new System.Drawing.Size((int)DpiAware.LogicalToDeviceUnits(104.0f), 24);
                this.label1.Size    = new System.Drawing.Size(136, (int)DpiAware.LogicalToDeviceUnits(16.0f));
            }
            //
            // TreeGridForm
            //

            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.CaptionFont         = new System.Drawing.Font("Segoe UI Semibold", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ClientSize          = new System.Drawing.Size(888, 646);
            this.Controls.Add(this.panel1);
            this.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.MinimumSize = new System.Drawing.Size(600, 500);
            this.Name        = "TreeGridForm";
            this.Text        = "Grid Folder Browser";
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 21
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);
 }
Ejemplo n.º 22
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();
     this.gridControl1     = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.radioButtonAdv11 = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv12 = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.radioButtonAdv2  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv1  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.groupBox4        = new System.Windows.Forms.GroupBox();
     this.textBox3         = new System.Windows.Forms.TextBox();
     this.label4           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     this.ButtonAdv5       = new Syncfusion.Windows.Forms.ButtonAdv();
     this.radioButtonAdv8  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv7  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv6  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv5  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.textBox1         = new Syncfusion.Windows.Forms.Tools.IntegerTextBox();
     this.textBox2         = new Syncfusion.Windows.Forms.Tools.IntegerTextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.label1           = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv12)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv1)).BeginInit();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv5)).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.ApplyVisualStyles      = false;
     this.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount               = 12;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.Font                             = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ThemesEnabled                    = true;
     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.DefaultColWidth                  = (int)DpiAware.LogicalToDeviceUnits(70.0f);
     this.gridControl1.Location                         = new System.Drawing.Point(12, 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)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     this.gridControl1.RightToLeft                      = System.Windows.Forms.RightToLeft.No;
     this.gridControl1.RowCount                         = 30;
     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(674, 488);
     this.gridControl1.SmartSizeBox = false;
     this.gridControl1.TabIndex     = 0;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.radioButtonAdv11);
     this.groupBox2.Controls.Add(this.radioButtonAdv12);
     this.groupBox2.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.Location = new System.Drawing.Point(703, 89);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(261, 72);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "ReSizeToFit";
     //
     // radioButtonAdv11
     //
     this.radioButtonAdv11.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv11.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv11.Location           = new System.Drawing.Point(16, 48);
     this.radioButtonAdv11.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv11.Name               = "radioButtonAdv11";
     this.radioButtonAdv11.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv11.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv11.DrawFocusRectangle = true;
     this.radioButtonAdv11.TabIndex           = 4;
     this.radioButtonAdv11.Text               = "Row Height";
     this.radioButtonAdv11.ThemesEnabled      = false;
     this.radioButtonAdv11.CheckChanged      += new System.EventHandler(this.radioButtonAdv11_CheckChanged);
     //
     // radioButtonAdv12
     //
     this.radioButtonAdv12.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv12.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv12.Location           = new System.Drawing.Point(16, 21);
     this.radioButtonAdv12.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv12.Name               = "radioButtonAdv12";
     this.radioButtonAdv12.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv12.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv12.DrawFocusRectangle = true;
     this.radioButtonAdv12.TabIndex           = 3;
     this.radioButtonAdv12.Text               = "Column Width";
     this.radioButtonAdv12.ThemesEnabled      = false;
     this.radioButtonAdv12.CheckChanged      += new System.EventHandler(this.radioButtonAdv12_CheckChanged);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.radioButtonAdv2);
     this.groupBox1.Controls.Add(this.radioButtonAdv1);
     this.groupBox1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(703, 6);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(261, 77);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Options";
     //
     // radioButtonAdv2
     //
     this.radioButtonAdv2.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv2.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv2.Location           = new System.Drawing.Point(16, 48);
     this.radioButtonAdv2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv2.Name               = "radioButtonAdv2";
     this.radioButtonAdv2.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv2.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv2.DrawFocusRectangle = true;
     this.radioButtonAdv2.TabIndex           = 2;
     this.radioButtonAdv2.Text               = "Set Column Width";
     this.radioButtonAdv2.ThemesEnabled      = false;
     this.radioButtonAdv2.CheckChanged      += new System.EventHandler(this.radioButtonAdv2_CheckChanged);
     //
     // radioButtonAdv1
     //
     this.radioButtonAdv1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv1.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv1.Location           = new System.Drawing.Point(16, 21);
     this.radioButtonAdv1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv1.Name               = "radioButtonAdv1";
     this.radioButtonAdv1.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv1.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv1.DrawFocusRectangle = true;
     this.radioButtonAdv1.TabIndex           = 1;
     this.radioButtonAdv1.Text               = "Set Row Height";
     this.radioButtonAdv1.ThemesEnabled      = false;
     this.radioButtonAdv1.CheckChanged      += new System.EventHandler(this.radioButtonAdv1_CheckChanged);
     //
     // groupBox4
     //
     this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox4.Controls.Add(this.textBox3);
     this.groupBox4.Controls.Add(this.label4);
     this.groupBox4.Controls.Add(this.label3);
     this.groupBox4.Controls.Add(this.ButtonAdv5);
     this.groupBox4.Controls.Add(this.radioButtonAdv8);
     this.groupBox4.Controls.Add(this.radioButtonAdv7);
     this.groupBox4.Controls.Add(this.radioButtonAdv6);
     this.groupBox4.Controls.Add(this.radioButtonAdv5);
     this.groupBox4.Controls.Add(this.textBox1);
     this.groupBox4.Controls.Add(this.textBox2);
     this.groupBox4.Controls.Add(this.label2);
     this.groupBox4.Controls.Add(this.label1);
     this.groupBox4.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox4.Location = new System.Drawing.Point(703, 167);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(261, 333);
     this.groupBox4.TabIndex = 5;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "AutoFit";
     //
     // textBox3
     //
     this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox3.Location    = new System.Drawing.Point(129, 47);
     this.textBox3.MaxLength   = 1;
     this.textBox3.Name        = "textBox3";
     this.textBox3.Size        = new System.Drawing.Size(46, 22);
     this.textBox3.TabIndex    = 8;
     this.textBox3.Text        = "#";
     this.textBox3.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(13, 56);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(109, 13);
     this.label4.TabIndex = 25;
     this.label4.Text     = "Enter the Character:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(13, 87);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(102, 13);
     this.label3.TabIndex = 24;
     this.label3.Text     = "AutoFit Options:";
     //
     // ButtonAdv5
     //
     this.ButtonAdv5.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.ButtonAdv5.FlatStyle         = FlatStyle.Flat;
     this.ButtonAdv5.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.ButtonAdv5.BeforeTouchSize   = new System.Drawing.Size(118, 27);
     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(57, 211);
     this.ButtonAdv5.Name              = "ButtonAdv5";
     this.ButtonAdv5.Size              = new System.Drawing.Size(118, 27);
     this.ButtonAdv5.TabIndex          = 13;
     this.ButtonAdv5.Text              = "Update";
     this.ButtonAdv5.Click            += new System.EventHandler(this.ButtonAdv5_Click);
     //
     // radioButtonAdv8
     //
     this.radioButtonAdv8.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv8.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv8.Location           = new System.Drawing.Point(54, 184);
     this.radioButtonAdv8.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv8.Name               = "radioButtonAdv8";
     this.radioButtonAdv8.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv8.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv8.DrawFocusRectangle = true;
     this.radioButtonAdv8.TabIndex           = 12;
     this.radioButtonAdv8.Text               = "Both";
     this.radioButtonAdv8.ThemesEnabled      = false;
     this.radioButtonAdv8.CheckChanged      += new System.EventHandler(this.radioButtonAdv8_CheckChanged);
     //
     // radioButtonAdv7
     //
     this.radioButtonAdv7.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv7.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv7.Location           = new System.Drawing.Point(54, 157);
     this.radioButtonAdv7.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv7.Name               = "radioButtonAdv7";
     this.radioButtonAdv7.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv7.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv7.DrawFocusRectangle = true;
     this.radioButtonAdv7.TabIndex           = 11;
     this.radioButtonAdv7.Text               = "Numbers";
     this.radioButtonAdv7.ThemesEnabled      = false;
     this.radioButtonAdv7.CheckChanged      += new System.EventHandler(this.radioButtonAdv7_CheckChanged);
     //
     // radioButtonAdv6
     //
     this.radioButtonAdv6.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv6.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv6.Location           = new System.Drawing.Point(54, 130);
     this.radioButtonAdv6.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv6.Name               = "radioButtonAdv6";
     this.radioButtonAdv6.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv6.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv6.DrawFocusRectangle = true;
     this.radioButtonAdv6.TabIndex           = 10;
     this.radioButtonAdv6.Text               = "Alphabets";
     this.radioButtonAdv6.ThemesEnabled      = false;
     this.radioButtonAdv6.CheckChanged      += new System.EventHandler(this.radioButtonAdv6_CheckChanged);
     //
     // radioButtonAdv5
     //
     this.radioButtonAdv5.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv5.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv5.Location           = new System.Drawing.Point(54, 103);
     this.radioButtonAdv5.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv5.Name               = "radioButtonAdv5";
     this.radioButtonAdv5.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv5.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv5.DrawFocusRectangle = true;
     this.radioButtonAdv5.TabIndex           = 9;
     this.radioButtonAdv5.Text               = "None";
     this.radioButtonAdv5.ThemesEnabled      = false;
     this.radioButtonAdv5.CheckChanged      += new System.EventHandler(this.radioButtonAdv5_CheckChanged);
     //
     // textBox1
     //
     this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox1.Location    = new System.Drawing.Point(76, 17);
     this.textBox1.Name        = "textBox1";
     this.textBox1.Size        = new System.Drawing.Size(38, 22);
     this.textBox1.TabIndex    = 6;
     this.textBox1.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // textBox2
     //
     this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox2.Location    = new System.Drawing.Point(204, 17);
     this.textBox2.Name        = "textBox2";
     this.textBox2.Size        = new System.Drawing.Size(36, 22);
     this.textBox2.TabIndex    = 7;
     this.textBox2.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(120, 26);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(78, 13);
     this.label2.TabIndex = 16;
     this.label2.Text     = "Column Index:";
     //
     // 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(13, 26);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(61, 13);
     this.label1.TabIndex = 15;
     this.label1.Text     = "Row Index:";
     //
     // Form1
     //
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(988, 512);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.gridControl1);
     this.MinimumSize = new System.Drawing.Size(740, 540);
     this.Name        = "Form1";
     this.Text        = "Resize To Fit ";
     this.Load       += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv12)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv1)).EndInit();
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv5)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 23
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.GridCellInfo gridCellInfo1  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo4  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo5  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo6  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo7  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo8  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo9  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo10 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.tabBarSplitterControl1 = new Syncfusion.Windows.Forms.TabBarSplitterControl();
     this.CashFlow     = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridCashFlow = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.contextMenu1 = new System.Windows.Forms.ContextMenu();
     this.menuItem1    = new System.Windows.Forms.MenuItem();
     this.Expenses     = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridExpenses = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.Income       = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridIncome   = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.label1       = new System.Windows.Forms.Label();
     this.panel1       = new System.Windows.Forms.Panel();
     this.tabBarSplitterControl1.SuspendLayout();
     this.CashFlow.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridCashFlow)).BeginInit();
     this.Expenses.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridExpenses)).BeginInit();
     this.Income.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridIncome)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // tabBarSplitterControl1
     //
     this.tabBarSplitterControl1.ActivePageBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(217)))));
     this.tabBarSplitterControl1.ActivePageIndex       = 2;
     this.tabBarSplitterControl1.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.tabBarSplitterControl1.BeforeTouchSize = new System.Drawing.Size(732, 321);
     this.tabBarSplitterControl1.BorderStyle     = System.Windows.Forms.BorderStyle.None;
     this.tabBarSplitterControl1.Controls.Add(this.CashFlow);
     this.tabBarSplitterControl1.Controls.Add(this.Expenses);
     this.tabBarSplitterControl1.Controls.Add(this.Income);
     this.tabBarSplitterControl1.EnabledColor   = System.Drawing.SystemColors.WindowText;
     this.tabBarSplitterControl1.Location       = new System.Drawing.Point(25, 42);
     this.tabBarSplitterControl1.Name           = "tabBarSplitterControl1";
     this.tabBarSplitterControl1.ScrollButtons  = Syncfusion.Windows.Forms.DisplayArrowButtons.None;
     this.tabBarSplitterControl1.Size           = new System.Drawing.Size(732, 321);
     this.tabBarSplitterControl1.SplitBars      = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.tabBarSplitterControl1.Style          = Syncfusion.Windows.Forms.TabBarSplitterStyle.Metro;
     this.tabBarSplitterControl1.TabFolderDelta = 11;
     this.tabBarSplitterControl1.TabIndex       = 0;
     this.tabBarSplitterControl1.Text           = "tabBarSplitterControl1";
     this.tabBarSplitterControl1.ThemesEnabled  = true;
     //
     // CashFlow
     //
     this.CashFlow.Controls.Add(this.gridCashFlow);
     this.CashFlow.Location      = new System.Drawing.Point(0, 0);
     this.CashFlow.Name          = "CashFlow";
     this.CashFlow.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.CashFlow.TabBackColor  = System.Drawing.SystemColors.Control;
     this.CashFlow.TabBarColor   = System.Drawing.Color.Empty;
     this.CashFlow.TabMaxWidth   = 100;
     this.CashFlow.Text          = "CashFlow";
     this.CashFlow.ThemesEnabled = true;
     //
     // gridCashFlow
     //
     this.gridCashFlow.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridCashFlow.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.gridCashFlow.ContextMenu            = this.contextMenu1;
     this.gridCashFlow.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridCashFlow.DefaultRowHeight       = 20;
     this.gridCashFlow.FillSplitterPane       = true;
     this.gridCashFlow.Font                 = new System.Drawing.Font("Segoe UI", 9F);
     gridCellInfo1.Col                      = -1;
     gridCellInfo1.Row                      = -1;
     gridCellInfo1.StyleInfo.Font.Bold      = false;
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Font.Italic    = false;
     gridCellInfo1.StyleInfo.Font.Size      = 9F;
     gridCellInfo1.StyleInfo.Font.Strikeout = false;
     gridCellInfo1.StyleInfo.Font.Underline = false;
     gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.Col                      = -1;
     gridCellInfo2.Row                      = -1;
     gridCellInfo2.StyleInfo.Font.Bold      = false;
     gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo2.StyleInfo.Font.Italic    = false;
     gridCellInfo2.StyleInfo.Font.Size      = 9F;
     gridCellInfo2.StyleInfo.Font.Strikeout = false;
     gridCellInfo2.StyleInfo.Font.Underline = false;
     gridCellInfo2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo3.Col                      = -1;
     gridCellInfo3.Row                      = -1;
     gridCellInfo3.StyleInfo.Font.Bold      = false;
     gridCellInfo3.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo3.StyleInfo.Font.Italic    = false;
     gridCellInfo3.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo3.StyleInfo.Font.Strikeout = false;
     gridCellInfo3.StyleInfo.Font.Underline = false;
     gridCellInfo3.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo4.Col                      = -1;
     gridCellInfo4.Row                      = -1;
     gridCellInfo4.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);
     gridCellInfo4.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);
     gridCellInfo4.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo4.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo4.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridCashFlow.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1,
         gridCellInfo2,
         gridCellInfo3,
         gridCellInfo4
     });
     this.gridCashFlow.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridCashFlow.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridCashFlow.Location             = new System.Drawing.Point(0, 0);
     this.gridCashFlow.MetroScrollBars      = true;
     this.gridCashFlow.Name = "gridCashFlow";
     this.gridCashFlow.Properties.ForceImmediateRepaint = false;
     this.gridCashFlow.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridCashFlow.Properties.MarkColHeader         = false;
     this.gridCashFlow.Properties.MarkRowHeader         = false;
     this.gridCashFlow.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridCashFlow.Size          = new System.Drawing.Size(444, 252);
     this.gridCashFlow.SmartSizeBox  = false;
     this.gridCashFlow.Text          = "gridControl1";
     this.gridCashFlow.ThemesEnabled = true;
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index  = 0;
     this.menuItem1.Text   = "Edit Inputs";
     this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
     //
     // Expenses
     //
     this.Expenses.Controls.Add(this.gridExpenses);
     this.Expenses.Location      = new System.Drawing.Point(0, 0);
     this.Expenses.Name          = "Expenses";
     this.Expenses.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.Expenses.TabBackColor  = System.Drawing.SystemColors.Control;
     this.Expenses.TabBarColor   = System.Drawing.Color.Empty;
     this.Expenses.TabMaxWidth   = 100;
     this.Expenses.Text          = "Expenses";
     this.Expenses.ThemesEnabled = true;
     //
     // gridExpenses
     //
     this.gridExpenses.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridExpenses.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.gridExpenses.ContextMenu            = this.contextMenu1;
     this.gridExpenses.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridExpenses.DefaultRowHeight       = 20;
     this.gridExpenses.FillSplitterPane       = true;
     this.gridExpenses.Font                 = new System.Drawing.Font("Segoe UI", 9F);
     gridCellInfo5.Col                      = -1;
     gridCellInfo5.Row                      = -1;
     gridCellInfo5.StyleInfo.Font.Bold      = false;
     gridCellInfo5.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo5.StyleInfo.Font.Italic    = false;
     gridCellInfo5.StyleInfo.Font.Size      = 9F;
     gridCellInfo5.StyleInfo.Font.Strikeout = false;
     gridCellInfo5.StyleInfo.Font.Underline = false;
     gridCellInfo5.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo6.Col                      = -1;
     gridCellInfo6.Row                      = -1;
     gridCellInfo6.StyleInfo.Font.Bold      = false;
     gridCellInfo6.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo6.StyleInfo.Font.Italic    = false;
     gridCellInfo6.StyleInfo.Font.Size      = 9F;
     gridCellInfo6.StyleInfo.Font.Strikeout = false;
     gridCellInfo6.StyleInfo.Font.Underline = false;
     gridCellInfo6.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo7.Col                      = -1;
     gridCellInfo7.Row                      = -1;
     gridCellInfo7.StyleInfo.Font.Bold      = false;
     gridCellInfo7.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo7.StyleInfo.Font.Italic    = false;
     gridCellInfo7.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo7.StyleInfo.Font.Strikeout = false;
     gridCellInfo7.StyleInfo.Font.Underline = false;
     gridCellInfo7.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo8.Col                      = -1;
     gridCellInfo8.Row                      = -1;
     gridCellInfo8.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);
     gridCellInfo8.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);
     gridCellInfo8.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo8.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo8.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridExpenses.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo5,
         gridCellInfo6,
         gridCellInfo7,
         gridCellInfo8
     });
     this.gridExpenses.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridExpenses.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridExpenses.Location             = new System.Drawing.Point(0, 0);
     this.gridExpenses.MetroScrollBars      = true;
     this.gridExpenses.Name = "gridExpenses";
     this.gridExpenses.Properties.ForceImmediateRepaint = false;
     this.gridExpenses.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridExpenses.Properties.MarkColHeader         = false;
     this.gridExpenses.Properties.MarkRowHeader         = false;
     this.gridExpenses.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridExpenses.Size          = new System.Drawing.Size(444, 252);
     this.gridExpenses.SmartSizeBox  = false;
     this.gridExpenses.Text          = "gridControl2";
     this.gridExpenses.ThemesEnabled = true;
     //
     // Income
     //
     this.Income.ContextMenu = this.contextMenu1;
     this.Income.Controls.Add(this.gridIncome);
     this.Income.Location      = new System.Drawing.Point(0, 0);
     this.Income.Name          = "Income";
     this.Income.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.Income.TabBackColor  = System.Drawing.SystemColors.Control;
     this.Income.TabBarColor   = System.Drawing.Color.Empty;
     this.Income.TabMaxWidth   = 100;
     this.Income.Text          = "Income";
     this.Income.ThemesEnabled = true;
     //
     // gridIncome
     //
     this.gridIncome.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridIncome.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.gridIncome.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridIncome.DefaultRowHeight       = 20;
     this.gridIncome.FillSplitterPane       = true;
     this.gridIncome.Font = new System.Drawing.Font("Segoe UI", 9F);
     gridCellInfo9.Col    = -1;
     gridCellInfo9.Row    = -1;
     gridCellInfo9.StyleInfo.Font.Bold      = false;
     gridCellInfo9.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo9.StyleInfo.Font.Italic    = false;
     gridCellInfo9.StyleInfo.Font.Size      = 9F;
     gridCellInfo9.StyleInfo.Font.Strikeout = false;
     gridCellInfo9.StyleInfo.Font.Underline = false;
     gridCellInfo9.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo10.Col = -1;
     gridCellInfo10.Row = -1;
     gridCellInfo10.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);
     gridCellInfo10.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);
     gridCellInfo10.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo10.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo10.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridIncome.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo9,
         gridCellInfo10
     });
     this.gridIncome.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridIncome.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridIncome.Location             = new System.Drawing.Point(0, 0);
     this.gridIncome.MetroScrollBars      = true;
     this.gridIncome.Name = "gridIncome";
     this.gridIncome.Properties.ForceImmediateRepaint = false;
     this.gridIncome.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridIncome.Properties.MarkColHeader         = false;
     this.gridIncome.Properties.MarkRowHeader         = false;
     this.gridIncome.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridIncome.Size          = new System.Drawing.Size(715, 304);
     this.gridIncome.SmartSizeBox  = false;
     this.gridIncome.Text          = "gridControl3";
     this.gridIncome.ThemesEnabled = true;
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(10, 3);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(246, 23);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Right-Click Any Cell To Edit the Input";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(24, 13);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(734, 370);
     this.panel1.TabIndex = 2;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(788, 414);
     this.Controls.Add(this.tabBarSplitterControl1);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(500, 400);
     this.Name        = "Form1";
     this.Text        = "Named Range";
     this.Load       += new System.EventHandler(this.Form1_Load);
     this.tabBarSplitterControl1.ResumeLayout(false);
     this.CashFlow.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridCashFlow)).EndInit();
     this.Expenses.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridExpenses)).EndInit();
     this.Income.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridIncome)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 24
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();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.panel1       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControl1
     //
     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(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(203)), ((System.Byte)(199)), ((System.Byte)(184))), System.Drawing.Color.FromArgb(((System.Byte)(238)), ((System.Byte)(234)), ((System.Byte)(216))));
     gridBaseStyle1.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle2.Name = "Column Header";
     gridBaseStyle2.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle2.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle3.Name = "Row Header";
     gridBaseStyle3.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle3.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     gridBaseStyle3.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.FromArgb(((System.Byte)(203)), ((System.Byte)(199)), ((System.Byte)(184))), System.Drawing.Color.FromArgb(((System.Byte)(238)), ((System.Byte)(234)), ((System.Byte)(216))));
     gridBaseStyle4.Name = "Standard";
     gridBaseStyle4.StyleInfo.Font.Facename = "Tahoma";
     gridBaseStyle4.StyleInfo.Interior      = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     this.gridControl1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle1,
         gridBaseStyle2,
         gridBaseStyle3,
         gridBaseStyle4
     });
     this.gridControl1.ColCount = 2;
     this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
         new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35)
     });
     this.gridControl1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.gridControl1.Location  = new System.Drawing.Point(0, 0);
     this.gridControl1.Name      = "gridControl1";
     this.gridControl1.Properties.BackgroundColorString         = "Control";
     this.gridControl1.Properties.FixedLinesColorString         = "ActiveCaption";
     this.gridControl1.Properties.GridLineColorString           = "GrayText";
     this.gridControl1.Properties.ResizingCellsLinesColorString = "Red";
     this.gridControl1.Properties.RowHeaders = false;
     this.gridControl1.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this.gridControl1.RowCount = 0;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 25)
     });
     //this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size          = new System.Drawing.Size(344, 24);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.ThemesEnabled = true;
     this.gridControl1.Click        += new System.EventHandler(this.gridControl1_Click);
     this.gridControl1.CellClick    += new Syncfusion.Windows.Forms.Grid.GridCellClickEventHandler(this.gridControl1_CellClick);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.gridControl1);
     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(344, 24);
     this.panel1.TabIndex = 1;
     //
     // ColumnSetViewHeader
     //
     this.Controls.Add(this.panel1);
     this.Name = "ColumnSetViewHeader";
     this.Size = new System.Drawing.Size(344, 24);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 25
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.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.vScrollBar1  = new System.Windows.Forms.VScrollBar();
     this.hScrollBar1  = new System.Windows.Forms.HScrollBar();
     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.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 9F);
     gridCellInfo1.Col                      = -1;
     gridCellInfo1.Row                      = -1;
     gridCellInfo1.StyleInfo.Font.Bold      = false;
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Font.Italic    = false;
     gridCellInfo1.StyleInfo.Font.Size      = 9F;
     gridCellInfo1.StyleInfo.Font.Strikeout = false;
     gridCellInfo1.StyleInfo.Font.Underline = false;
     gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.Col                      = -1;
     gridCellInfo2.Row                      = -1;
     gridCellInfo2.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);
     gridCellInfo2.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);
     gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo2.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo2.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1,
         gridCellInfo2
     });
     this.gridControl1.ThemesEnabled        = true;
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.HorizontalScrollTips = true;
     this.gridControl1.HorizontalThumbTrack = true;
     this.gridControl1.HScrollBehavior      = Syncfusion.Windows.Forms.Grid.GridScrollbarMode.Shared;
     this.gridControl1.Location             = new System.Drawing.Point(25, 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;
     this.gridControl1.RowCount = 40;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.Size               = new System.Drawing.Size(526, 361);
     this.gridControl1.SmartSizeBox       = false;
     this.gridControl1.TabIndex           = 0;
     this.gridControl1.Text               = "gridControl1";
     this.gridControl1.VerticalScrollTips = true;
     this.gridControl1.VerticalThumbTrack = true;
     this.gridControl1.VScrollBehavior    = Syncfusion.Windows.Forms.Grid.GridScrollbarMode.Shared;
     //
     // vScrollBar1
     //
     this.vScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.vScrollBar1.Location = new System.Drawing.Point(565, 65);
     this.vScrollBar1.Name     = "vScrollBar1";
     this.vScrollBar1.Size     = new System.Drawing.Size(16, 250);
     this.vScrollBar1.TabIndex = 1;
     //
     // hScrollBar1
     //
     this.hScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.hScrollBar1.Location = new System.Drawing.Point(69, 389);
     this.hScrollBar1.Name     = "hScrollBar1";
     this.hScrollBar1.Size     = new System.Drawing.Size(408, 16);
     this.hScrollBar1.TabIndex = 2;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.vScrollBar1);
     this.panel1.Controls.Add(this.hScrollBar1);
     this.panel1.Controls.Add(this.gridControl1);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(601, 431);
     this.panel1.TabIndex = 3;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(601, 433);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(480, 410);
     this.Name        = "Form1";
     this.Text        = "Scrollbar";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 26
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.GridBaseStyle gridBaseStyle21 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle22 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle23 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle24 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridCellInfo  gridCellInfo6   = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.imageList1   = new System.Windows.Forms.ImageList(this.components);
     this.button1      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button2      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button3      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button4      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button5      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.panel1       = new System.Windows.Forms.Panel();
     this.groupBox2    = new System.Windows.Forms.GroupBox();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.label1       = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControl1
     //
     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.BackColor = System.Drawing.Color.White;
     gridBaseStyle21.Name        = "Header";
     gridBaseStyle21.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle21.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle21.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle21.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle21.StyleInfo.CellType          = "Header";
     gridBaseStyle21.StyleInfo.Font.Bold         = true;
     gridBaseStyle21.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     gridBaseStyle21.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle22.Name = "Standard";
     gridBaseStyle22.StyleInfo.Font.Facename = "Segoe UI";
     gridBaseStyle22.StyleInfo.Interior      = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle23.Name = "Column Header";
     gridBaseStyle23.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle23.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle24.Name = "Row Header";
     gridBaseStyle24.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle24.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     gridBaseStyle24.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     this.gridControl1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle21,
         gridBaseStyle22,
         gridBaseStyle23,
         gridBaseStyle24
     });
     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.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 25;
     this.gridControl1.RowHeights[0]          = 30;
     this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ForeColor            = System.Drawing.Color.MidnightBlue;
     gridCellInfo6.Col                      = -1;
     gridCellInfo6.Row                      = -1;
     gridCellInfo6.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);
     gridCellInfo6.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);
     gridCellInfo6.StyleInfo.Font.Bold      = false;
     gridCellInfo6.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo6.StyleInfo.Font.Italic    = false;
     gridCellInfo6.StyleInfo.Font.Size      = 8.5F;
     gridCellInfo6.StyleInfo.Font.Strikeout = false;
     gridCellInfo6.StyleInfo.Font.Underline = false;
     gridCellInfo6.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo6.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo6.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo6
     });
     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(29, 29);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.BackgroundColor = System.Drawing.Color.White;
     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;
     this.gridControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     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.SerializeIntoCode;
     this.gridControl1.Size               = new System.Drawing.Size(500, 361);
     this.gridControl1.SmartSizeBox       = false;
     this.gridControl1.TabIndex           = 0;
     this.gridControl1.ThemesEnabled      = true;
     this.gridControl1.VerticalThumbTrack = true;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // button1
     //
     this.button1.Anchor         = System.Windows.Forms.AnchorStyles.Top;
     this.button1.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.FlatStyle      = FlatStyle.Flat;
     this.button1.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button1.Font           = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor      = System.Drawing.Color.White;
     this.button1.Location       = new System.Drawing.Point(25, 31);
     this.button1.Name           = "button1";
     this.button1.Size           = new System.Drawing.Size(113, 26);
     this.button1.TabIndex       = 1;
     this.button1.Text           = "Load DataSource";
     this.button1.Click         += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Anchor         = System.Windows.Forms.AnchorStyles.Top;
     this.button2.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button2.FlatStyle      = FlatStyle.Flat;
     this.button2.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button2.Font           = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor      = System.Drawing.Color.White;
     this.button2.Location       = new System.Drawing.Point(25, 78);
     this.button2.Name           = "button2";
     this.button2.Size           = new System.Drawing.Size(112, 26);
     this.button2.TabIndex       = 2;
     this.button2.Text           = "Save DataSource";
     this.button2.Click         += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.FlatStyle      = FlatStyle.Flat;
     this.button3.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button3.Font           = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.ForeColor      = System.Drawing.Color.White;
     this.button3.Location       = new System.Drawing.Point(25, 122);
     this.button3.Name           = "button3";
     this.button3.Size           = new System.Drawing.Size(112, 26);
     this.button3.TabIndex       = 3;
     this.button3.Text           = "Reset";
     this.button3.Click         += new System.EventHandler(this.button3_Click);
     //
     // button4
     //
     this.button4.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button4.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button4.FlatStyle      = FlatStyle.Flat;
     this.button4.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button4.Font           = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button4.ForeColor      = System.Drawing.Color.White;
     this.button4.Location       = new System.Drawing.Point(25, 34);
     this.button4.Name           = "button4";
     this.button4.Size           = new System.Drawing.Size(112, 26);
     this.button4.TabIndex       = 5;
     this.button4.Text           = "Expand All";
     this.button4.Click         += new System.EventHandler(this.button4_Click);
     //
     // button5
     //
     this.button5.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button5.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button5.FlatStyle      = FlatStyle.Flat;
     this.button5.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button5.Font           = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button5.ForeColor      = System.Drawing.Color.White;
     this.button5.Location       = new System.Drawing.Point(25, 79);
     this.button5.Name           = "button5";
     this.button5.Size           = new System.Drawing.Size(112, 26);
     this.button5.TabIndex       = 6;
     this.button5.Text           = "Close All";
     this.button5.Click         += new System.EventHandler(this.button5_Click);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.groupBox2);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.gridControl1);
     this.panel1.Location = new System.Drawing.Point(-6, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(721, 649);
     this.panel1.TabIndex = 7;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.button5);
     this.groupBox2.Controls.Add(this.button4);
     this.groupBox2.Location = new System.Drawing.Point(547, 231);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(160, 159);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Expand Options";
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.button2);
     this.groupBox1.Controls.Add(this.button3);
     this.groupBox1.Controls.Add(this.button1);
     this.groupBox1.Location = new System.Drawing.Point(547, 29);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(160, 177);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Data Source";
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.White;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.MidnightBlue;
     this.label1.Location  = new System.Drawing.Point(26, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(501, 26);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Right-Click node in Column A for Positive/Negative indent";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // TreeGridForm
     //
     this.ClientSize = new System.Drawing.Size(727, 402);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(550, 400);
     this.Name        = "TreeGridForm";
     this.Text        = "Virtual Tree Grid";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 27
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 gridBaseStyle5 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle6 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle7 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle8 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridCellInfo  gridCellInfo3  = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.panel1       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     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)));
     gridBaseStyle5.Name = "Header";
     gridBaseStyle5.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle5.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle5.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle5.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle5.StyleInfo.CellType          = "Header";
     gridBaseStyle5.StyleInfo.Font.Bold         = true;
     gridBaseStyle5.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     gridBaseStyle5.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle6.Name = "Standard";
     gridBaseStyle6.StyleInfo.Font.Facename = "Segoe UI";
     gridBaseStyle6.StyleInfo.Interior      = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle7.Name = "Column Header";
     gridBaseStyle7.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle7.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle8.Name = "Row Header";
     gridBaseStyle8.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle8.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     gridBaseStyle8.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(199)))), ((int)(((byte)(184))))), System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(234)))), ((int)(((byte)(216))))));
     this.gridControl1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle5,
         gridBaseStyle6,
         gridBaseStyle7,
         gridBaseStyle8
     });
     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.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ForeColor            = System.Drawing.Color.MidnightBlue;
     gridCellInfo3.Col                      = -1;
     gridCellInfo3.Row                      = -1;
     gridCellInfo3.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);
     gridCellInfo3.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);
     gridCellInfo3.StyleInfo.Font.Bold      = false;
     gridCellInfo3.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo3.StyleInfo.Font.Italic    = false;
     gridCellInfo3.StyleInfo.Font.Size      = 8.5F;
     gridCellInfo3.StyleInfo.Font.Strikeout = false;
     gridCellInfo3.StyleInfo.Font.Underline = false;
     gridCellInfo3.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo3.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo3.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo3
     });
     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(24, 12);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.BackgroundColor = System.Drawing.Color.White;
     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;
     this.gridControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     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.SerializeIntoCode;
     this.gridControl1.Size               = new System.Drawing.Size(746, 375);
     this.gridControl1.SmartSizeBox       = false;
     this.gridControl1.TabIndex           = 0;
     this.gridControl1.ThemesEnabled      = true;
     this.gridControl1.VerticalThumbTrack = true;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     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(792, 414);
     this.panel1.TabIndex  = 1;
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(792, 414);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.panel1);
     this.MinimumSize   = new System.Drawing.Size(600, 400);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Getting Started ";
     this.Load         += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 28
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);
        }
Ejemplo n.º 29
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.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo4 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.gridControl1                   = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.listBox1                       = new System.Windows.Forms.ListBox();
     this.listBox2                       = new System.Windows.Forms.ListBox();
     this.panel1                         = new System.Windows.Forms.Panel();
     this.textBox2                       = new System.Windows.Forms.TextBox();
     this.textBox1                       = new System.Windows.Forms.TextBox();
     this.contextMenuStrip1              = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.editToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.undoToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.redoToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.transactionsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.beginToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.commitToolStripMenuItem1       = new System.Windows.Forms.ToolStripMenuItem();
     this.rollBackToolStripMenuItem1     = new System.Windows.Forms.ToolStripMenuItem();
     this.helpToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
     this.helpToolStripMenuItem1         = new System.Windows.Forms.ToolStripMenuItem();
     this.aboutToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.contextMenuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.DpiAware = true;
     this.gridControl1.AllowDragSelectedCols    = true;
     this.gridControl1.AllowDragSelectedRows    = true;
     this.gridControl1.AllowDrop                = 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.DragSelectedCellsMouseButtonsMask = System.Windows.Forms.MouseButtons.None;
     this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 8.25F);
     gridCellInfo1.Col                      = -1;
     gridCellInfo1.Row                      = -1;
     gridCellInfo1.StyleInfo.Font.Bold      = false;
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Font.Italic    = false;
     gridCellInfo1.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo1.StyleInfo.Font.Strikeout = false;
     gridCellInfo1.StyleInfo.Font.Underline = false;
     gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.Col                      = -1;
     gridCellInfo2.Row                      = -1;
     gridCellInfo2.StyleInfo.Font.Bold      = false;
     gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo2.StyleInfo.Font.Italic    = false;
     gridCellInfo2.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo2.StyleInfo.Font.Strikeout = false;
     gridCellInfo2.StyleInfo.Font.Underline = false;
     gridCellInfo2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo3.Col                      = -1;
     gridCellInfo3.Row                      = -1;
     gridCellInfo3.StyleInfo.Font.Bold      = false;
     gridCellInfo3.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo3.StyleInfo.Font.Italic    = false;
     gridCellInfo3.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo3.StyleInfo.Font.Strikeout = false;
     gridCellInfo3.StyleInfo.Font.Underline = false;
     gridCellInfo3.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo4.Col                      = -1;
     gridCellInfo4.Row                      = -1;
     gridCellInfo4.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);
     gridCellInfo4.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);
     gridCellInfo4.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo4.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo4.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1,
         gridCellInfo2,
         gridCellInfo3,
         gridCellInfo4
     });
     this.gridControl1.ThemesEnabled = true;
     //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.DefaultColWidth  = (int)DpiAware.LogicalToDeviceUnits(70.0f);
     this.gridControl1.Location         = new System.Drawing.Point(3, 3);
     //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;
     this.gridControl1.RowCount = 30;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.Size         = new System.Drawing.Size(546, 355);
     this.gridControl1.SmartSizeBox = false;
     this.gridControl1.TabIndex     = 0;
     this.gridControl1.Text         = "gridControl1";
     //
     // listBox1
     //
     this.listBox1.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.listBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listBox1.Location    = new System.Drawing.Point(565, 221);
     this.listBox1.Name        = "listBox1";
     this.listBox1.Size        = new System.Drawing.Size(269, 132);
     this.listBox1.TabIndex    = 1;
     //
     // listBox2
     //
     this.listBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.listBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listBox2.Location    = new System.Drawing.Point(565, 43);
     this.listBox2.Name        = "listBox2";
     this.listBox2.Size        = new System.Drawing.Size(269, 119);
     this.listBox2.TabIndex    = 2;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.textBox2);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.gridControl1);
     this.panel1.Controls.Add(this.listBox2);
     this.panel1.Controls.Add(this.listBox1);
     this.panel1.Location = new System.Drawing.Point(12, -1);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(844, 370);
     this.panel1.TabIndex = 4;
     //
     // textBox2
     //
     this.textBox2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox2.Location = new System.Drawing.Point(565, 182);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(269, 20);
     this.textBox2.TabIndex = 4;
     //
     // textBox1
     //
     this.textBox1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox1.Location = new System.Drawing.Point(565, 13);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(269, 20);
     this.textBox1.TabIndex = 3;
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.editToolStripMenuItem,
         this.helpToolStripMenuItem
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(100, 48);
     //
     // editToolStripMenuItem
     //
     this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.undoToolStripMenuItem,
         this.redoToolStripMenuItem,
         this.transactionsToolStripMenuItem1
     });
     this.editToolStripMenuItem.Name = "editToolStripMenuItem";
     this.editToolStripMenuItem.Size = new System.Drawing.Size(99, 22);
     this.editToolStripMenuItem.Text = "Edit";
     //
     // undoToolStripMenuItem
     //
     this.undoToolStripMenuItem.Name   = "undoToolStripMenuItem";
     this.undoToolStripMenuItem.Size   = new System.Drawing.Size(141, 22);
     this.undoToolStripMenuItem.Text   = "Undo";
     this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click);
     //
     // redoToolStripMenuItem
     //
     this.redoToolStripMenuItem.Name   = "redoToolStripMenuItem";
     this.redoToolStripMenuItem.Size   = new System.Drawing.Size(141, 22);
     this.redoToolStripMenuItem.Text   = "Redo";
     this.redoToolStripMenuItem.Click += new System.EventHandler(this.redoToolStripMenuItem_Click);
     //
     // transactionsToolStripMenuItem1
     //
     this.transactionsToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.beginToolStripMenuItem,
         this.commitToolStripMenuItem1,
         this.rollBackToolStripMenuItem1
     });
     this.transactionsToolStripMenuItem1.Name = "transactionsToolStripMenuItem1";
     this.transactionsToolStripMenuItem1.Size = new System.Drawing.Size(141, 22);
     this.transactionsToolStripMenuItem1.Text = "Transactions";
     //
     // beginToolStripMenuItem
     //
     this.beginToolStripMenuItem.Name   = "beginToolStripMenuItem";
     this.beginToolStripMenuItem.Size   = new System.Drawing.Size(119, 22);
     this.beginToolStripMenuItem.Text   = "Begin";
     this.beginToolStripMenuItem.Click += new System.EventHandler(this.beginToolStripMenuItem_Click);
     //
     // commitToolStripMenuItem1
     //
     this.commitToolStripMenuItem1.Name   = "commitToolStripMenuItem1";
     this.commitToolStripMenuItem1.Size   = new System.Drawing.Size(119, 22);
     this.commitToolStripMenuItem1.Text   = "Commit";
     this.commitToolStripMenuItem1.Click += new System.EventHandler(this.commitToolStripMenuItem1_Click);
     //
     // rollBackToolStripMenuItem1
     //
     this.rollBackToolStripMenuItem1.Name   = "rollBackToolStripMenuItem1";
     this.rollBackToolStripMenuItem1.Size   = new System.Drawing.Size(119, 22);
     this.rollBackToolStripMenuItem1.Text   = "RollBack";
     this.rollBackToolStripMenuItem1.Click += new System.EventHandler(this.rollBackToolStripMenuItem1_Click);
     //
     // helpToolStripMenuItem
     //
     this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.helpToolStripMenuItem1,
         this.aboutToolStripMenuItem
     });
     this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
     this.helpToolStripMenuItem.Size = new System.Drawing.Size(99, 22);
     this.helpToolStripMenuItem.Text = "Help";
     //
     // helpToolStripMenuItem1
     //
     this.helpToolStripMenuItem1.Name   = "helpToolStripMenuItem1";
     this.helpToolStripMenuItem1.Size   = new System.Drawing.Size(107, 22);
     this.helpToolStripMenuItem1.Text   = "Help";
     this.helpToolStripMenuItem1.Click += new System.EventHandler(this.helpToolStripMenuItem1_Click);
     //
     // aboutToolStripMenuItem
     //
     this.aboutToolStripMenuItem.Name   = "aboutToolStripMenuItem";
     this.aboutToolStripMenuItem.Size   = new System.Drawing.Size(107, 22);
     this.aboutToolStripMenuItem.Text   = "About";
     this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(868, 383);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(520, 400);
     this.Name        = "Form1";
     this.Text        = "Undo-Redo";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.contextMenuStrip1.ResumeLayout(false);
     this.ResumeLayout(false);
 }