Exemple #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.Grid.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);
 }
Exemple #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle9  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle10 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle11 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle12 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridCellInfo  gridCellInfo5   = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.printPreviewButton    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.propertyGrid1         = new System.Windows.Forms.PropertyGrid();
     this.output                = new System.Windows.Forms.ListBox();
     this.checkBoxMouseMessage  = new System.Windows.Forms.CheckBox();
     this.checkBoxEnableTracing = new System.Windows.Forms.CheckBox();
     this.contextMenu1          = new System.Windows.Forms.ContextMenu();
     this.menuItem1             = new System.Windows.Forms.MenuItem();
     this.panel2                = new System.Windows.Forms.Panel();
     this.groupBox1             = new System.Windows.Forms.GroupBox();
     this.panel1                = new System.Windows.Forms.Panel();
     this.splitterControl1      = new Syncfusion.Windows.Forms.SplitterControl();
     this.gridControl1          = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.panel2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.splitterControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // printPreviewButton
     //
     this.printPreviewButton.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.printPreviewButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.printPreviewButton.FlatStyle         = FlatStyle.Flat;
     this.printPreviewButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.printPreviewButton.BeforeTouchSize   = new System.Drawing.Size(165, 34);
     this.printPreviewButton.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.printPreviewButton.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.printPreviewButton.ForeColor         = System.Drawing.Color.White;
     this.printPreviewButton.ImageAlign        = System.Drawing.ContentAlignment.MiddleLeft;
     this.printPreviewButton.IsBackStageButton = false;
     this.printPreviewButton.Location          = new System.Drawing.Point(684, 527);
     this.printPreviewButton.Name              = "printPreviewButton";
     this.printPreviewButton.Size              = new System.Drawing.Size(165, 34);
     this.printPreviewButton.TabIndex          = 9;
     this.printPreviewButton.Text              = "Print Preview";
     this.printPreviewButton.Click            += new System.EventHandler(this.printPreviewButton_Click);
     //
     // propertyGrid1
     //
     this.propertyGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid1.BackColor         = System.Drawing.Color.White;
     this.propertyGrid1.CommandsBackColor = System.Drawing.Color.White;
     this.propertyGrid1.CommandsLinkColor = System.Drawing.Color.White;
     this.propertyGrid1.HelpBackColor     = System.Drawing.Color.White;
     this.propertyGrid1.LineColor         = System.Drawing.SystemColors.Window;
     this.propertyGrid1.Location          = new System.Drawing.Point(651, 0);
     this.propertyGrid1.Name     = "propertyGrid1";
     this.propertyGrid1.Size     = new System.Drawing.Size(263, 342);
     this.propertyGrid1.TabIndex = 2;
     //
     // output
     //
     this.output.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.output.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     //  this.output.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(21)))), ((int)(((byte)(84)))));
     this.output.Location            = new System.Drawing.Point(9, 16);
     this.output.Name                = "output";
     this.output.ScrollAlwaysVisible = true;
     this.output.Size                = new System.Drawing.Size(612, 171);
     this.output.TabIndex            = 4;
     //
     // checkBoxMouseMessage
     //
     this.checkBoxMouseMessage.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBoxMouseMessage.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBoxMouseMessage.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxMouseMessage.Location        = new System.Drawing.Point(62, 62);
     this.checkBoxMouseMessage.Name            = "checkBoxMouseMessage";
     this.checkBoxMouseMessage.Size            = new System.Drawing.Size(165, 33);
     this.checkBoxMouseMessage.TabIndex        = 8;
     this.checkBoxMouseMessage.Text            = "Trace Mouse and Control Messages";
     this.checkBoxMouseMessage.CheckedChanged += new System.EventHandler(this.checkBoxMouseMessage_CheckedChanged);
     //
     // checkBoxEnableTracing
     //
     this.checkBoxEnableTracing.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBoxEnableTracing.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBoxEnableTracing.Font            = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxEnableTracing.Location        = new System.Drawing.Point(62, 36);
     this.checkBoxEnableTracing.Name            = "checkBoxEnableTracing";
     this.checkBoxEnableTracing.Size            = new System.Drawing.Size(183, 20);
     this.checkBoxEnableTracing.TabIndex        = 7;
     this.checkBoxEnableTracing.Text            = "Enable Tracing";
     this.checkBoxEnableTracing.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);
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.output);
     this.panel2.Location = new System.Drawing.Point(0, 363);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(640, 210);
     this.panel2.TabIndex = 9;
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.checkBoxEnableTracing);
     this.groupBox1.Controls.Add(this.checkBoxMouseMessage);
     this.groupBox1.Location = new System.Drawing.Point(651, 379);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(263, 129);
     this.groupBox1.TabIndex = 8;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Event trace Options";
     //
     // 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.splitterControl1);
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(640, 342);
     this.panel1.TabIndex = 8;
     //
     // 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(626, 339);
     this.splitterControl1.BorderStyle     = System.Windows.Forms.BorderStyle.None;
     this.splitterControl1.Controls.Add(this.gridControl1);
     this.splitterControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.splitterControl1.Location             = new System.Drawing.Point(12, 0);
     this.splitterControl1.Name          = "splitterControl1";
     this.splitterControl1.Size          = new System.Drawing.Size(626, 339);
     this.splitterControl1.SizeFactor    = 0D;
     this.splitterControl1.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.splitterControl1.TabIndex      = 6;
     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);
     //
     // gridControl1
     //
     this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     gridBaseStyle9.Name = "Header";
     gridBaseStyle9.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle9.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle9.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle9.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle9.StyleInfo.CellType          = "Header";
     gridBaseStyle9.StyleInfo.Font.Bold         = true;
     gridBaseStyle9.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))))));
     gridBaseStyle9.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle10.Name = "Standard";
     gridBaseStyle10.StyleInfo.Font.Facename = "Tahoma";
     gridBaseStyle10.StyleInfo.Interior      = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle11.Name = "Column Header";
     gridBaseStyle11.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle11.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle12.Name = "Row Header";
     gridBaseStyle12.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle12.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     gridBaseStyle12.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[] {
         gridBaseStyle9,
         gridBaseStyle10,
         gridBaseStyle11,
         gridBaseStyle12
     });
     this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount    = 12;
     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.FillSplitterPane       = true;
     this.gridControl1.Font                 = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ForeColor            = System.Drawing.Color.MidnightBlue;
     gridCellInfo5.Col                      = -1;
     gridCellInfo5.Row                      = -1;
     gridCellInfo5.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);
     gridCellInfo5.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);
     gridCellInfo5.StyleInfo.Font.Bold      = false;
     gridCellInfo5.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo5.StyleInfo.Font.Italic    = false;
     gridCellInfo5.StyleInfo.Font.Size      = 8.5F;
     gridCellInfo5.StyleInfo.Font.Strikeout = false;
     gridCellInfo5.StyleInfo.Font.Underline = false;
     gridCellInfo5.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo5.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo5.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[] {
         gridCellInfo5
     });
     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.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    = 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(609, 322);
     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);
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(926, 573);
     this.Controls.Add(this.printPreviewButton);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.propertyGrid1);
     this.Controls.Add(this.panel2);
     this.MinimumSize = new System.Drawing.Size(500, 500);
     this.Name        = "Form1";
     this.Text        = "Web Browser Cell ";
     this.panel2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.splitterControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Grid.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);
 }
Exemple #4
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);
 }
Exemple #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.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);
        }
Exemple #6
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);
 }
Exemple #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.GridBaseStyle  gridBaseStyle1  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle  gridBaseStyle2  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle  gridBaseStyle3  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle  gridBaseStyle4  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle1 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle2 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     this.panel1       = new System.Windows.Forms.Panel();
     this.gridControl1 = new GridOneTimeOnlyQueryCellInfo.OneTimeOnlyQueryCellInfoGrid();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(1012, 656);
     this.panel1.TabIndex = 2;
     //
     // gridControl1
     //
     this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     gridBaseStyle1.Name = "Header";
     gridBaseStyle1.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle1.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle1.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle1.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle1.StyleInfo.CellType          = "Header";
     gridBaseStyle1.StyleInfo.Font.Bold         = true;
     gridBaseStyle1.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle1.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle2.Name = "Standard";
     gridBaseStyle2.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle3.Name = "Column Header";
     gridBaseStyle3.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle3.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle4.Name = "Row Header";
     gridBaseStyle4.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle4.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridControl1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle1,
         gridBaseStyle2,
         gridBaseStyle3,
         gridBaseStyle4
     });
     this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount    = 55;
     this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
         new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35)
     });
     this.gridControl1.DefaultColWidth        = 70;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.HorizontalThumbTrack = true;
     this.gridControl1.Location             = new System.Drawing.Point(10, 10);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.ForceImmediateRepaint = false;
     this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     gridRangeStyle1.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle1.StyleInfo.Font.Bold      = false;
     gridRangeStyle1.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle1.StyleInfo.Font.Italic    = false;
     gridRangeStyle1.StyleInfo.Font.Size      = 8.25F;
     gridRangeStyle1.StyleInfo.Font.Strikeout = false;
     gridRangeStyle1.StyleInfo.Font.Underline = false;
     gridRangeStyle1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridRangeStyle2.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle2.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     gridRangeStyle2.StyleInfo.Borders.Right  = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     gridRangeStyle2.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle2.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridRangeStyle2.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1,
         gridRangeStyle2
     });
     this.gridControl1.RowCount = 100;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 21)
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size               = new System.Drawing.Size(994, 628);
     this.gridControl1.SmartSizeBox       = false;
     this.gridControl1.TabIndex           = 1;
     this.gridControl1.Text               = "gridControl1";
     this.gridControl1.ThemesEnabled      = true;
     this.gridControl1.VerticalThumbTrack = true;
     //
     // Form1
     //
     this.ClientSize  = new System.Drawing.Size(1012, 656);
     this.MinimumSize = new Size(800, 450);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.panel1);
     this.Name = "Form1";
     this.Text = "QueryCellInfo Optimization ";
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.ResumeLayout(false);
 }
Exemple #8
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);
 }
Exemple #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.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();
     this.textBox1           = new System.Windows.Forms.TextBox();
     this.button1            = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label1             = new System.Windows.Forms.Label();
     this.checkBox1          = new System.Windows.Forms.CheckBox();
     this.label2             = new System.Windows.Forms.Label();
     this.label3             = new System.Windows.Forms.Label();
     this.panel1             = new System.Windows.Forms.Panel();
     this.gridDataBoundGrid1 = new GridDataBoundGridCalculator.CalcGridDataBoundGrid();
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // 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(390, 152);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(208, 20);
     this.textBox1.TabIndex = 1;
     this.textBox1.Enter   += new System.EventHandler(this.textBox1_Enter);
     //
     // 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(75, 23);
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(462, 184);
     this.button1.Name           = "button1";
     this.button1.Size           = new System.Drawing.Size(75, 23);
     this.button1.TabIndex       = 2;
     this.button1.Text           = "Compute";
     this.button1.UseVisualStyle = true;
     this.button1.Click         += new System.EventHandler(this.button1_Click);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(390, 224);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(207, 40);
     this.label1.TabIndex  = 3;
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBox1.Location        = new System.Drawing.Point(20, 68);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(344, 16);
     this.checkBox1.TabIndex        = 5;
     this.checkBox1.Text            = "Show any formulas in the GridDataBoundGrid.";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(17, 38);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(472, 16);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Try entering formulas such as = A4 + B4 into a cell in this GridDataBoundGrid.";
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(390, 105);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(288, 39);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "Enter a formula based on GridDataBoundGrid cells like    = A1 + B2 + Cos(B1).    " +
                             "                              Then press Compute. ";
     //
     // gridDataBoundGrid1
     //
     this.gridDataBoundGrid1.DpiAware = true;
     this.gridDataBoundGrid1.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.DblClickOnCell;
     this.gridDataBoundGrid1.AllowDragSelectedCols       = true;
     this.gridDataBoundGrid1.AlphaBlendSelectionColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridDataBoundGrid1.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 = "Column Header";
     gridBaseStyle1.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle1.StyleInfo.CellType            = "ColumnHeaderCell";
     gridBaseStyle1.StyleInfo.Enabled             = false;
     gridBaseStyle1.StyleInfo.Font.Bold           = true;
     gridBaseStyle1.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle2.Name = "Header";
     gridBaseStyle2.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.CellType          = "Header";
     gridBaseStyle2.StyleInfo.Font.Bold         = true;
     gridBaseStyle2.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle2.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle3.Name = "Standard";
     gridBaseStyle3.StyleInfo.CheckBoxOptions.CheckedValue   = "True";
     gridBaseStyle3.StyleInfo.CheckBoxOptions.UncheckedValue = "False";
     gridBaseStyle3.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle4.Name = "Row Header";
     gridBaseStyle4.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle4.StyleInfo.CellType            = "RowHeaderCell";
     gridBaseStyle4.StyleInfo.Enabled             = true;
     gridBaseStyle4.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridDataBoundGrid1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle1,
         gridBaseStyle2,
         gridBaseStyle3,
         gridBaseStyle4
     });
     this.gridDataBoundGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridDataBoundGrid1.DataMember           = "";
     this.gridDataBoundGrid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridDataBoundGrid1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridDataBoundGrid1.DefaultRowHeight     = (int)DpiAware.LogicalToDeviceUnits(20.0f);
     this.gridDataBoundGrid1.Location             = new System.Drawing.Point(24, 126);
     this.gridDataBoundGrid1.MetroScrollBars      = true;
     this.gridDataBoundGrid1.Name = "gridDataBoundGrid1";
     this.gridDataBoundGrid1.Properties.ForceImmediateRepaint = false;
     this.gridDataBoundGrid1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234)))));
     this.gridDataBoundGrid1.Properties.MarkColHeader         = false;
     this.gridDataBoundGrid1.Properties.MarkRowHeader         = false;
     this.gridDataBoundGrid1.ShowCurrentCellBorderBehavior    = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridDataBoundGrid1.Size          = new System.Drawing.Size(358, 144);
     this.gridDataBoundGrid1.SmartSizeBox  = false;
     this.gridDataBoundGrid1.SortBehavior  = Syncfusion.Windows.Forms.Grid.GridSortBehavior.None;
     this.gridDataBoundGrid1.TabIndex      = 0;
     this.gridDataBoundGrid1.ThemesEnabled = true;
     //
     // panel1
     //
     this.panel1.Dock     = DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Size     = new System.Drawing.Size(690, 305);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.gridDataBoundGrid1);
     //
     // SingleGridDataBoundGridForm
     //
     this.AcceptButton        = this.button1;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(696, 310);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(650, 300);
     this.Name        = "SingleGridDataBoundGridForm";
     this.Text        = "Grid-Data-Bound-Grid Calculator ";
     this.Load       += new System.EventHandler(this.SinglegridDataBoundGridForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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.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.GridBaseStyle gridBaseStyle9  = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle10 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle11 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle12 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle13 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle14 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle15 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle16 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle17 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle18 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle19 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle20 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.label1    = new System.Windows.Forms.Label();
     this.tabBarSplitterControl1 = new Syncfusion.Windows.Forms.TabBarSplitterControl();
     this.tabBarPage1            = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridDataBoundGrid1     = new GridDataBoundGridCalculator.CalcGridDataBoundGrid();
     this.tabBarPage2            = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridDataBoundGrid2     = new GridDataBoundGridCalculator.CalcGridDataBoundGrid();
     this.tabBarPage3            = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridDataBoundGrid3     = new GridDataBoundGridCalculator.CalcGridDataBoundGrid();
     this.tabBarPage4            = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridDataBoundGrid4     = new GridDataBoundGridCalculator.CalcGridDataBoundGrid();
     this.tabBarPage5            = new Syncfusion.Windows.Forms.TabBarPage();
     this.gridDataBoundGrid5     = new GridDataBoundGridCalculator.CalcGridDataBoundGrid();
     this.tabBarSplitterControl1.SuspendLayout();
     this.tabBarPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).BeginInit();
     this.tabBarPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid2)).BeginInit();
     this.tabBarPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid3)).BeginInit();
     this.tabBarPage4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid4)).BeginInit();
     this.tabBarPage5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid5)).BeginInit();
     this.SuspendLayout();
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBox1.Location        = new System.Drawing.Point(34, 32);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(128, 16);
     this.checkBox1.TabIndex        = 3;
     this.checkBox1.Text            = "Show Formulas";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(320, 34);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(312, 16);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Enter a formula like   = Sum(GDBG2!B2:GDBG2!B5)   into a cell.";
     //
     // tabBarSplitterControl1
     //
     this.tabBarSplitterControl1.ActivePageBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(217)))));
     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(592, 360);
     this.tabBarSplitterControl1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tabBarSplitterControl1.Controls.Add(this.tabBarPage1);
     this.tabBarSplitterControl1.Controls.Add(this.tabBarPage2);
     this.tabBarSplitterControl1.Controls.Add(this.tabBarPage3);
     this.tabBarSplitterControl1.Controls.Add(this.tabBarPage4);
     this.tabBarSplitterControl1.Controls.Add(this.tabBarPage5);
     this.tabBarSplitterControl1.EnabledColor         = System.Drawing.SystemColors.WindowText;
     this.tabBarSplitterControl1.Location             = new System.Drawing.Point(32, 64);
     this.tabBarSplitterControl1.Name                 = "tabBarSplitterControl1";
     this.tabBarSplitterControl1.Office2007ScrollBars = true;
     this.tabBarSplitterControl1.Size                 = new System.Drawing.Size(592, 360);
     this.tabBarSplitterControl1.SplitBars            = Syncfusion.Windows.Forms.DynamicSplitBars.None;
     this.tabBarSplitterControl1.Style                = Syncfusion.Windows.Forms.TabBarSplitterStyle.Office2007;
     this.tabBarSplitterControl1.TabFolderDelta       = 11;
     this.tabBarSplitterControl1.TabIndex             = 5;
     this.tabBarSplitterControl1.Text                 = "tabBarSplitterControl1";
     //
     // tabBarPage1
     //
     this.tabBarPage1.Controls.Add(this.gridDataBoundGrid1);
     this.tabBarPage1.Location      = new System.Drawing.Point(0, 0);
     this.tabBarPage1.Name          = "tabBarPage1";
     this.tabBarPage1.SplitBars     = Syncfusion.Windows.Forms.DynamicSplitBars.None;
     this.tabBarPage1.TabBackColor  = System.Drawing.SystemColors.Control;
     this.tabBarPage1.TabBarColor   = System.Drawing.Color.Empty;
     this.tabBarPage1.TabMaxWidth   = 100;
     this.tabBarPage1.Text          = "GDBG1";
     this.tabBarPage1.ThemesEnabled = false;
     //
     // gridDataBoundGrid1
     //
     this.gridDataBoundGrid1.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.DblClickOnCell;
     this.gridDataBoundGrid1.AllowDragSelectedCols       = true;
     this.gridDataBoundGrid1.AlphaBlendSelectionColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     gridBaseStyle1.Name = "Column Header";
     gridBaseStyle1.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle1.StyleInfo.CellType            = "ColumnHeaderCell";
     gridBaseStyle1.StyleInfo.Enabled             = false;
     gridBaseStyle1.StyleInfo.Font.Bold           = true;
     gridBaseStyle1.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle2.Name = "Header";
     gridBaseStyle2.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.CellType          = "Header";
     gridBaseStyle2.StyleInfo.Font.Bold         = true;
     gridBaseStyle2.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle2.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle3.Name = "Standard";
     gridBaseStyle3.StyleInfo.CheckBoxOptions.CheckedValue   = "True";
     gridBaseStyle3.StyleInfo.CheckBoxOptions.UncheckedValue = "False";
     gridBaseStyle3.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle4.Name = "Row Header";
     gridBaseStyle4.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle4.StyleInfo.CellType            = "RowHeaderCell";
     gridBaseStyle4.StyleInfo.Enabled             = true;
     gridBaseStyle4.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridDataBoundGrid1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle1,
         gridBaseStyle2,
         gridBaseStyle3,
         gridBaseStyle4
     });
     this.gridDataBoundGrid1.DataMember           = "";
     this.gridDataBoundGrid1.DefaultRowHeight     = 20;
     this.gridDataBoundGrid1.FillSplitterPane     = true;
     this.gridDataBoundGrid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridDataBoundGrid1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridDataBoundGrid1.Location             = new System.Drawing.Point(0, 0);
     this.gridDataBoundGrid1.MetroScrollBars      = true;
     this.gridDataBoundGrid1.Name = "gridDataBoundGrid1";
     this.gridDataBoundGrid1.Properties.ForceImmediateRepaint = false;
     this.gridDataBoundGrid1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234)))));
     this.gridDataBoundGrid1.Properties.MarkColHeader         = false;
     this.gridDataBoundGrid1.Properties.MarkRowHeader         = false;
     this.gridDataBoundGrid1.ShowCurrentCellBorderBehavior    = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridDataBoundGrid1.Size         = new System.Drawing.Size(573, 341);
     this.gridDataBoundGrid1.SmartSizeBox = false;
     this.gridDataBoundGrid1.SortBehavior = Syncfusion.Windows.Forms.Grid.GridSortBehavior.None;
     //
     // tabBarPage2
     //
     this.tabBarPage2.Controls.Add(this.gridDataBoundGrid2);
     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.TabBarColor   = System.Drawing.Color.Empty;
     this.tabBarPage2.TabMaxWidth   = 100;
     this.tabBarPage2.Text          = "GDBG2";
     this.tabBarPage2.ThemesEnabled = false;
     //
     // gridDataBoundGrid2
     //
     this.gridDataBoundGrid2.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.DblClickOnCell;
     this.gridDataBoundGrid2.AllowDragSelectedCols       = true;
     gridBaseStyle5.Name = "Column Header";
     gridBaseStyle5.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle5.StyleInfo.CellType            = "ColumnHeaderCell";
     gridBaseStyle5.StyleInfo.Enabled             = false;
     gridBaseStyle5.StyleInfo.Font.Bold           = false;
     gridBaseStyle5.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle6.Name = "Header";
     gridBaseStyle6.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle6.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle6.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle6.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle6.StyleInfo.CellType          = "Header";
     gridBaseStyle6.StyleInfo.Font.Bold         = true;
     gridBaseStyle6.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle6.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle7.Name = "Standard";
     gridBaseStyle7.StyleInfo.CheckBoxOptions.CheckedValue   = "True";
     gridBaseStyle7.StyleInfo.CheckBoxOptions.UncheckedValue = "False";
     gridBaseStyle7.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle8.Name = "Row Header";
     gridBaseStyle8.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle8.StyleInfo.CellType            = "RowHeaderCell";
     gridBaseStyle8.StyleInfo.Enabled             = true;
     gridBaseStyle8.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridDataBoundGrid2.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle5,
         gridBaseStyle6,
         gridBaseStyle7,
         gridBaseStyle8
     });
     this.gridDataBoundGrid2.DataMember       = "";
     this.gridDataBoundGrid2.FillSplitterPane = true;
     this.gridDataBoundGrid2.Location         = new System.Drawing.Point(136, 112);
     this.gridDataBoundGrid2.Name             = "gridDataBoundGrid2";
     this.gridDataBoundGrid2.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridDataBoundGrid2.Size         = new System.Drawing.Size(130, 80);
     this.gridDataBoundGrid2.SmartSizeBox = false;
     this.gridDataBoundGrid2.SortBehavior = Syncfusion.Windows.Forms.Grid.GridSortBehavior.None;
     //
     // tabBarPage3
     //
     this.tabBarPage3.Controls.Add(this.gridDataBoundGrid3);
     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.TabBarColor   = System.Drawing.Color.Empty;
     this.tabBarPage3.TabMaxWidth   = 100;
     this.tabBarPage3.Text          = "GDBG3";
     this.tabBarPage3.ThemesEnabled = false;
     //
     // gridDataBoundGrid3
     //
     this.gridDataBoundGrid3.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.DblClickOnCell;
     this.gridDataBoundGrid3.AllowDragSelectedCols       = true;
     gridBaseStyle9.Name = "Column Header";
     gridBaseStyle9.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle9.StyleInfo.CellType            = "ColumnHeaderCell";
     gridBaseStyle9.StyleInfo.Enabled             = false;
     gridBaseStyle9.StyleInfo.Font.Bold           = false;
     gridBaseStyle9.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle10.Name = "Header";
     gridBaseStyle10.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle10.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle10.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle10.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle10.StyleInfo.CellType          = "Header";
     gridBaseStyle10.StyleInfo.Font.Bold         = true;
     gridBaseStyle10.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle10.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle11.Name = "Standard";
     gridBaseStyle11.StyleInfo.CheckBoxOptions.CheckedValue   = "True";
     gridBaseStyle11.StyleInfo.CheckBoxOptions.UncheckedValue = "False";
     gridBaseStyle11.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle12.Name = "Row Header";
     gridBaseStyle12.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle12.StyleInfo.CellType            = "RowHeaderCell";
     gridBaseStyle12.StyleInfo.Enabled             = true;
     gridBaseStyle12.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridDataBoundGrid3.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle9,
         gridBaseStyle10,
         gridBaseStyle11,
         gridBaseStyle12
     });
     this.gridDataBoundGrid3.DataMember       = "";
     this.gridDataBoundGrid3.FillSplitterPane = true;
     this.gridDataBoundGrid3.Location         = new System.Drawing.Point(136, 136);
     this.gridDataBoundGrid3.Name             = "gridDataBoundGrid3";
     this.gridDataBoundGrid3.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridDataBoundGrid3.Size         = new System.Drawing.Size(130, 80);
     this.gridDataBoundGrid3.SmartSizeBox = false;
     this.gridDataBoundGrid3.SortBehavior = Syncfusion.Windows.Forms.Grid.GridSortBehavior.None;
     //
     // tabBarPage4
     //
     this.tabBarPage4.Controls.Add(this.gridDataBoundGrid4);
     this.tabBarPage4.Location      = new System.Drawing.Point(0, 0);
     this.tabBarPage4.Name          = "tabBarPage4";
     this.tabBarPage4.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.tabBarPage4.TabBackColor  = System.Drawing.SystemColors.Control;
     this.tabBarPage4.TabBarColor   = System.Drawing.Color.Empty;
     this.tabBarPage4.TabMaxWidth   = 100;
     this.tabBarPage4.Text          = "GDBG4";
     this.tabBarPage4.ThemesEnabled = false;
     //
     // gridDataBoundGrid4
     //
     this.gridDataBoundGrid4.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.DblClickOnCell;
     this.gridDataBoundGrid4.AllowDragSelectedCols       = true;
     gridBaseStyle13.Name = "Column Header";
     gridBaseStyle13.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle13.StyleInfo.CellType            = "ColumnHeaderCell";
     gridBaseStyle13.StyleInfo.Enabled             = false;
     gridBaseStyle13.StyleInfo.Font.Bold           = false;
     gridBaseStyle13.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle14.Name = "Header";
     gridBaseStyle14.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle14.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle14.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle14.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle14.StyleInfo.CellType          = "Header";
     gridBaseStyle14.StyleInfo.Font.Bold         = true;
     gridBaseStyle14.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle14.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle15.Name = "Standard";
     gridBaseStyle15.StyleInfo.CheckBoxOptions.CheckedValue   = "True";
     gridBaseStyle15.StyleInfo.CheckBoxOptions.UncheckedValue = "False";
     gridBaseStyle15.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle16.Name = "Row Header";
     gridBaseStyle16.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle16.StyleInfo.CellType            = "RowHeaderCell";
     gridBaseStyle16.StyleInfo.Enabled             = true;
     gridBaseStyle16.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridDataBoundGrid4.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle13,
         gridBaseStyle14,
         gridBaseStyle15,
         gridBaseStyle16
     });
     this.gridDataBoundGrid4.DataMember       = "";
     this.gridDataBoundGrid4.FillSplitterPane = true;
     this.gridDataBoundGrid4.Location         = new System.Drawing.Point(112, 112);
     this.gridDataBoundGrid4.Name             = "gridDataBoundGrid4";
     this.gridDataBoundGrid4.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridDataBoundGrid4.Size         = new System.Drawing.Size(130, 80);
     this.gridDataBoundGrid4.SmartSizeBox = false;
     this.gridDataBoundGrid4.SortBehavior = Syncfusion.Windows.Forms.Grid.GridSortBehavior.None;
     //
     // tabBarPage5
     //
     this.tabBarPage5.Controls.Add(this.gridDataBoundGrid5);
     this.tabBarPage5.Location      = new System.Drawing.Point(0, 0);
     this.tabBarPage5.Name          = "tabBarPage5";
     this.tabBarPage5.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.tabBarPage5.TabBackColor  = System.Drawing.SystemColors.Control;
     this.tabBarPage5.TabBarColor   = System.Drawing.Color.Empty;
     this.tabBarPage5.TabMaxWidth   = 100;
     this.tabBarPage5.Text          = "GDBG5";
     this.tabBarPage5.ThemesEnabled = false;
     //
     // gridDataBoundGrid5
     //
     this.gridDataBoundGrid5.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.DblClickOnCell;
     this.gridDataBoundGrid5.AllowDragSelectedCols       = true;
     gridBaseStyle17.Name = "Column Header";
     gridBaseStyle17.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle17.StyleInfo.CellType            = "ColumnHeaderCell";
     gridBaseStyle17.StyleInfo.Enabled             = false;
     gridBaseStyle17.StyleInfo.Font.Bold           = false;
     gridBaseStyle17.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle18.Name = "Header";
     gridBaseStyle18.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle18.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle18.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle18.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle18.StyleInfo.CellType          = "Header";
     gridBaseStyle18.StyleInfo.Font.Bold         = true;
     gridBaseStyle18.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle18.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle19.Name = "Standard";
     gridBaseStyle19.StyleInfo.CheckBoxOptions.CheckedValue   = "True";
     gridBaseStyle19.StyleInfo.CheckBoxOptions.UncheckedValue = "False";
     gridBaseStyle19.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle20.Name = "Row Header";
     gridBaseStyle20.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle20.StyleInfo.CellType            = "RowHeaderCell";
     gridBaseStyle20.StyleInfo.Enabled             = true;
     gridBaseStyle20.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridDataBoundGrid5.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle17,
         gridBaseStyle18,
         gridBaseStyle19,
         gridBaseStyle20
     });
     this.gridDataBoundGrid5.DataMember       = "";
     this.gridDataBoundGrid5.FillSplitterPane = true;
     this.gridDataBoundGrid5.Location         = new System.Drawing.Point(144, 96);
     this.gridDataBoundGrid5.Name             = "gridDataBoundGrid5";
     this.gridDataBoundGrid5.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridDataBoundGrid5.Size         = new System.Drawing.Size(130, 80);
     this.gridDataBoundGrid5.SmartSizeBox = false;
     this.gridDataBoundGrid5.SortBehavior = Syncfusion.Windows.Forms.Grid.GridSortBehavior.None;
     //
     // GridDataBoundGridWorkBookForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(656, 454);
     this.Controls.Add(this.tabBarSplitterControl1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.checkBox1);
     this.MinimumSize = new System.Drawing.Size(600, 500);
     this.Name        = "GridDataBoundGridWorkBookForm";
     this.Text        = "Grid-Data-Bound-Grid Calculator ";
     this.Load       += new System.EventHandler(this.gridDataBoundGridWorkBookForm_Load);
     this.tabBarSplitterControl1.ResumeLayout(false);
     this.tabBarPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).EndInit();
     this.tabBarPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid2)).EndInit();
     this.tabBarPage3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid3)).EndInit();
     this.tabBarPage4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid4)).EndInit();
     this.tabBarPage5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid5)).EndInit();
     this.ResumeLayout(false);
 }
Exemple #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.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);
 }
Exemple #12
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();
     this.panel1               = new System.Windows.Forms.Panel();
     this.splitter1            = new System.Windows.Forms.Splitter();
     this.gridDataBoundGrid1   = new Syncfusion.Windows.Forms.Grid.GridDataBoundGrid();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.panel2               = new System.Windows.Forms.Panel();
     this.panel3               = new System.Windows.Forms.Panel();
     this.label1               = new System.Windows.Forms.Label();
     this.label2               = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // 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.gridDataBoundGrid1);
     this.panel1.Location = new System.Drawing.Point(12, 50);
     this.panel1.Margin   = new System.Windows.Forms.Padding(2, 3, 2, 3);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(730, 680);
     this.panel1.TabIndex = 0;
     //
     // splitter1
     //
     this.splitter1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(146)))), ((int)(((byte)(206)))));
     this.splitter1.Location  = new System.Drawing.Point(0, 0);
     this.splitter1.Name      = "splitter1";
     this.splitter1.Size      = new System.Drawing.Size(8, 723);
     this.splitter1.TabIndex  = 1;
     this.splitter1.TabStop   = false;
     this.splitter1.Visible   = false;
     //
     // gridDataBoundGrid1
     //
     this.gridDataBoundGrid1.AllowDragSelectedCols    = true;
     this.gridDataBoundGrid1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     gridBaseStyle5.Name = "Column Header";
     gridBaseStyle5.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle5.StyleInfo.CellType            = "ColumnHeaderCell";
     gridBaseStyle5.StyleInfo.Enabled             = false;
     gridBaseStyle5.StyleInfo.Font.Bold           = true;
     gridBaseStyle5.StyleInfo.Font.Facename       = "Segoe UI";
     gridBaseStyle5.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle6.Name = "Header";
     gridBaseStyle6.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle6.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle6.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle6.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle6.StyleInfo.CellType          = "Header";
     gridBaseStyle6.StyleInfo.Font.Bold         = true;
     gridBaseStyle6.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle6.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle7.Name = "Standard";
     gridBaseStyle7.StyleInfo.CheckBoxOptions.CheckedValue   = "True";
     gridBaseStyle7.StyleInfo.CheckBoxOptions.UncheckedValue = "False";
     gridBaseStyle7.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle8.Name = "Row Header";
     gridBaseStyle8.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle8.StyleInfo.CellType            = "RowHeaderCell";
     gridBaseStyle8.StyleInfo.Enabled             = true;
     gridBaseStyle8.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridDataBoundGrid1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle5,
         gridBaseStyle6,
         gridBaseStyle7,
         gridBaseStyle8
     });
     this.gridDataBoundGrid1.DefaultRowHeight                 = 20;
     this.gridDataBoundGrid1.Dock                             = System.Windows.Forms.DockStyle.Fill;
     this.gridDataBoundGrid1.GridOfficeScrollBars             = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridDataBoundGrid1.GridVisualStyles                 = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridDataBoundGrid1.Location                         = new System.Drawing.Point(0, 0);
     this.gridDataBoundGrid1.MetroScrollBars                  = true;
     this.gridDataBoundGrid1.Name                             = "gridDataBoundGrid1";
     this.gridDataBoundGrid1.Properties.ForceImmediateRepaint = false;
     this.gridDataBoundGrid1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234)))));
     this.gridDataBoundGrid1.Properties.MarkColHeader         = false;
     this.gridDataBoundGrid1.Properties.MarkRowHeader         = false;
     this.gridDataBoundGrid1.ShowCurrentCellBorderBehavior    = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridDataBoundGrid1.Size                             = new System.Drawing.Size(730, 680);
     this.gridDataBoundGrid1.SmartSizeBox                     = false;
     this.gridDataBoundGrid1.SortBehavior                     = Syncfusion.Windows.Forms.Grid.GridSortBehavior.DoubleClick;
     this.gridDataBoundGrid1.TabIndex                         = 2;
     this.gridDataBoundGrid1.Text                             = "gridDataBoundGrid1";
     this.gridDataBoundGrid1.VerticalThumbTrack               = true;
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.BackColor                = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.gridGroupingControl1.Enabled                  = false;
     this.gridGroupingControl1.FreezeCaption            = false;
     this.gridGroupingControl1.GridOfficeScrollBars     = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridGroupingControl1.GridVisualStyles         = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridGroupingControl1.Location                 = new System.Drawing.Point(0, 0);
     this.gridGroupingControl1.Name                     = "gridGroupingControl1";
     this.gridGroupingControl1.Size                     = new System.Drawing.Size(730, 680);
     this.gridGroupingControl1.TabIndex                 = 1;
     this.gridGroupingControl1.TableDescriptor.AllowNew = false;
     this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25;
     this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight       = 25;
     this.gridGroupingControl1.Text          = "gridGroupingControl1";
     this.gridGroupingControl1.ThemesEnabled = false;
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.Controls.Add(this.gridGroupingControl1);
     this.panel2.Location = new System.Drawing.Point(770, 50);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(730, 680);
     this.panel2.TabIndex = 3;
     //
     // panel3
     //
     this.panel3.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.panel3.Location = new System.Drawing.Point(664, 14);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(2, 937);
     this.panel3.TabIndex = 4;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(317, 25);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(151, 20);
     this.label1.TabIndex = 5;
     this.label1.Text     = "GridDataBoundGrid";
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Right))));
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(1080, 25);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(156, 20);
     this.label2.TabIndex = 6;
     this.label2.Text     = "GridGroupingControl";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 13F);
     this.ClientSize          = new System.Drawing.Size(1513, 721);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(1000, 600);
     this.Name        = "Form1";
     this.Text        = "Synchronization Grid";
     this.Load       += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }