/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.ColCount = 15; this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F); gridCellInfo3.Col = -1; gridCellInfo3.Row = -1; gridCellInfo3.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo3.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo3.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo3.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo3.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo3 }); //this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; //this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl1.DefaultRowHeight = (int)DpiAware.LogicalToDeviceUnits(20.0f); this.gridControl1.Location = new System.Drawing.Point(12, 12); //this.gridControl1.MetroScrollBars = true; this.gridControl1.Name = "gridControl1"; this.gridControl1.Properties.ForceImmediateRepaint = false; this.gridControl1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridControl1.Properties.MarkColHeader = false; this.gridControl1.Properties.MarkRowHeader = false; this.gridControl1.RowCount = 97; this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridControl1.Size = new System.Drawing.Size(764, 369); this.gridControl1.SmartSizeBox = false; this.gridControl1.TabIndex = 0; this.gridControl1.Text = "gridControl1"; this.gridControl1.ThemesEnabled = true; this.gridControl1.DpiAware = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(788, 393); this.Controls.Add(this.gridControl1); this.MinimumSize = new System.Drawing.Size(500, 400); this.Name = "Form1"; this.Text = "Drop Down Cells "; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); this.ResumeLayout(false); }
/// <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); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.button1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.button2 = new Syncfusion.Windows.Forms.ButtonAdv(); this.button3 = new Syncfusion.Windows.Forms.ButtonAdv(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.button4 = new Syncfusion.Windows.Forms.ButtonAdv(); this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.panel1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.AllowDrop = true; this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.ColCount = 7; this.gridControl1.DefaultColWidth = 70; this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl1.DefaultRowHeight = 20; this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F); gridCellInfo2.Col = -1; gridCellInfo2.Row = -1; gridCellInfo2.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo2.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo2.StyleInfo.Font.Bold = false; gridCellInfo2.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo2.StyleInfo.Font.Italic = false; gridCellInfo2.StyleInfo.Font.Size = 9F; gridCellInfo2.StyleInfo.Font.Strikeout = false; gridCellInfo2.StyleInfo.Font.Underline = false; gridCellInfo2.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo2.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo2.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo2 }); this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl1.Location = new System.Drawing.Point(12, 0); this.gridControl1.MetroScrollBars = true; this.gridControl1.Name = "gridControl1"; this.gridControl1.Properties.ForceImmediateRepaint = false; this.gridControl1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridControl1.Properties.MarkColHeader = false; this.gridControl1.Properties.MarkRowHeader = false; this.gridControl1.RowCount = 16; this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridControl1.Size = new System.Drawing.Size(460, 630); this.gridControl1.SmartSizeBox = false; this.gridControl1.TabIndex = 0; this.gridControl1.Text = "gridControl1"; this.gridControl1.ThemesEnabled = true; // // pictureBox1 // this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox1.Location = new System.Drawing.Point(647, 3); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(362, 627); this.pictureBox1.TabIndex = 1; this.pictureBox1.TabStop = false; // // button1 // this.button1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button1.FlatStyle = FlatStyle.Flat; this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.button1.BeforeTouchSize = new System.Drawing.Size(134, 28); this.button1.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.button1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.ForeColor = System.Drawing.Color.White; this.button1.IsBackStageButton = false; this.button1.Location = new System.Drawing.Point(16, 32); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(134, 28); this.button1.TabIndex = 6; this.button1.Text = "Show Bitmap"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button2.FlatStyle = FlatStyle.Flat; this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.button2.BeforeTouchSize = new System.Drawing.Size(134, 29); this.button2.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.button2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button2.ForeColor = System.Drawing.Color.White; this.button2.IsBackStageButton = false; this.button2.Location = new System.Drawing.Point(16, 80); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(134, 29); this.button2.TabIndex = 7; this.button2.Text = "PrintPreviewToFit"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button3.FlatStyle = FlatStyle.Flat; this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.button3.BeforeTouchSize = new System.Drawing.Size(134, 29); this.button3.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.button3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button3.ForeColor = System.Drawing.Color.White; this.button3.IsBackStageButton = false; this.button3.Location = new System.Drawing.Point(16, 127); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(134, 29); this.button3.TabIndex = 8; this.button3.Text = "PrintToFit"; this.button3.Click += new System.EventHandler(this.button3_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.button4); this.groupBox1.Controls.Add(this.numericUpDown2); this.groupBox1.Controls.Add(this.numericUpDown1); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(478, 3); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(163, 196); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Change Content"; // // button4 // this.button4.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button4.FlatStyle = FlatStyle.Flat; this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.button4.BeforeTouchSize = new System.Drawing.Size(134, 28); this.button4.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.button4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button4.ForeColor = System.Drawing.Color.White; this.button4.IsBackStageButton = false; this.button4.Location = new System.Drawing.Point(15, 128); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(134, 28); this.button4.TabIndex = 4; this.button4.Text = "Apply"; this.button4.Click += new System.EventHandler(this.button4_Click); // // numericUpDown2 // this.numericUpDown2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numericUpDown2.Location = new System.Drawing.Point(92, 83); this.numericUpDown2.Maximum = new decimal(new int[] { 20, 0, 0, 0 }); this.numericUpDown2.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numericUpDown2.Name = "numericUpDown2"; this.numericUpDown2.Size = new System.Drawing.Size(57, 23); this.numericUpDown2.TabIndex = 3; this.numericUpDown2.Value = new decimal(new int[] { 10, 0, 0, 0 }); // // numericUpDown1 // this.numericUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.numericUpDown1.Location = new System.Drawing.Point(92, 38); this.numericUpDown1.Maximum = new decimal(new int[] { 80, 0, 0, 0 }); this.numericUpDown1.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(57, 23); this.numericUpDown1.TabIndex = 2; this.numericUpDown1.Value = new decimal(new int[] { 30, 0, 0, 0 }); // // label2 // this.label2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(13, 86); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(38, 28); this.label2.TabIndex = 1; this.label2.Text = "Cols:"; // // label1 // this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(13, 38); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 28); this.label1.TabIndex = 0; this.label1.Text = "Rows:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.pictureBox1); this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.gridControl1); this.panel1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1012, 652); this.panel1.TabIndex = 6; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.button1); this.groupBox2.Controls.Add(this.button2); this.groupBox2.Controls.Add(this.button3); this.groupBox2.Location = new System.Drawing.Point(478, 224); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(163, 406); this.groupBox2.TabIndex = 6; this.groupBox2.TabStop = false; this.groupBox2.Text = "Printing Options"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 656); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(800, 500); this.Name = "Form1"; this.Text = "Print To Fit "; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); this.panel1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <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); }
/// <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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo4 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); this.listBox1 = new System.Windows.Forms.ListBox(); this.listBox2 = new System.Windows.Forms.ListBox(); this.panel1 = new System.Windows.Forms.Panel(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.transactionsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.beginToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.commitToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.rollBackToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); this.panel1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.DpiAware = true; this.gridControl1.AllowDragSelectedCols = true; this.gridControl1.AllowDragSelectedRows = true; this.gridControl1.AllowDrop = true; this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl1.DragSelectedCellsMouseButtonsMask = System.Windows.Forms.MouseButtons.None; this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F); gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Font.Bold = false; gridCellInfo1.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo1.StyleInfo.Font.Italic = false; gridCellInfo1.StyleInfo.Font.Size = 8.25F; gridCellInfo1.StyleInfo.Font.Strikeout = false; gridCellInfo1.StyleInfo.Font.Underline = false; gridCellInfo1.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo2.Col = -1; gridCellInfo2.Row = -1; gridCellInfo2.StyleInfo.Font.Bold = false; gridCellInfo2.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo2.StyleInfo.Font.Italic = false; gridCellInfo2.StyleInfo.Font.Size = 8.25F; gridCellInfo2.StyleInfo.Font.Strikeout = false; gridCellInfo2.StyleInfo.Font.Underline = false; gridCellInfo2.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo3.Col = -1; gridCellInfo3.Row = -1; gridCellInfo3.StyleInfo.Font.Bold = false; gridCellInfo3.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo3.StyleInfo.Font.Italic = false; gridCellInfo3.StyleInfo.Font.Size = 8.25F; gridCellInfo3.StyleInfo.Font.Strikeout = false; gridCellInfo3.StyleInfo.Font.Underline = false; gridCellInfo3.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo4.Col = -1; gridCellInfo4.Row = -1; gridCellInfo4.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo4.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo4.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo4.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo4.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1, gridCellInfo2, gridCellInfo3, gridCellInfo4 }); this.gridControl1.ThemesEnabled = true; //this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; //this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl1.DefaultRowHeight = (int)DpiAware.LogicalToDeviceUnits(20.0f); this.gridControl1.DefaultColWidth = (int)DpiAware.LogicalToDeviceUnits(70.0f); this.gridControl1.Location = new System.Drawing.Point(3, 3); //this.gridControl1.MetroScrollBars = true; this.gridControl1.Name = "gridControl1"; this.gridControl1.Properties.ForceImmediateRepaint = false; this.gridControl1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridControl1.Properties.MarkColHeader = false; this.gridControl1.Properties.MarkRowHeader = false; this.gridControl1.RowCount = 30; this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridControl1.Size = new System.Drawing.Size(546, 355); this.gridControl1.SmartSizeBox = false; this.gridControl1.TabIndex = 0; this.gridControl1.Text = "gridControl1"; // // listBox1 // this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.listBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.listBox1.Location = new System.Drawing.Point(565, 221); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(269, 132); this.listBox1.TabIndex = 1; // // listBox2 // this.listBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.listBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.listBox2.Location = new System.Drawing.Point(565, 43); this.listBox2.Name = "listBox2"; this.listBox2.Size = new System.Drawing.Size(269, 119); this.listBox2.TabIndex = 2; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.textBox2); this.panel1.Controls.Add(this.textBox1); this.panel1.Controls.Add(this.gridControl1); this.panel1.Controls.Add(this.listBox2); this.panel1.Controls.Add(this.listBox1); this.panel1.Location = new System.Drawing.Point(12, -1); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(844, 370); this.panel1.TabIndex = 4; // // textBox2 // this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.textBox2.Location = new System.Drawing.Point(565, 182); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(269, 20); this.textBox2.TabIndex = 4; // // textBox1 // this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.textBox1.Location = new System.Drawing.Point(565, 13); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(269, 20); this.textBox1.TabIndex = 3; // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.editToolStripMenuItem, this.helpToolStripMenuItem }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(100, 48); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.undoToolStripMenuItem, this.redoToolStripMenuItem, this.transactionsToolStripMenuItem1 }); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(99, 22); this.editToolStripMenuItem.Text = "Edit"; // // undoToolStripMenuItem // this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.Size = new System.Drawing.Size(141, 22); this.undoToolStripMenuItem.Text = "Undo"; this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); // // redoToolStripMenuItem // this.redoToolStripMenuItem.Name = "redoToolStripMenuItem"; this.redoToolStripMenuItem.Size = new System.Drawing.Size(141, 22); this.redoToolStripMenuItem.Text = "Redo"; this.redoToolStripMenuItem.Click += new System.EventHandler(this.redoToolStripMenuItem_Click); // // transactionsToolStripMenuItem1 // this.transactionsToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.beginToolStripMenuItem, this.commitToolStripMenuItem1, this.rollBackToolStripMenuItem1 }); this.transactionsToolStripMenuItem1.Name = "transactionsToolStripMenuItem1"; this.transactionsToolStripMenuItem1.Size = new System.Drawing.Size(141, 22); this.transactionsToolStripMenuItem1.Text = "Transactions"; // // beginToolStripMenuItem // this.beginToolStripMenuItem.Name = "beginToolStripMenuItem"; this.beginToolStripMenuItem.Size = new System.Drawing.Size(119, 22); this.beginToolStripMenuItem.Text = "Begin"; this.beginToolStripMenuItem.Click += new System.EventHandler(this.beginToolStripMenuItem_Click); // // commitToolStripMenuItem1 // this.commitToolStripMenuItem1.Name = "commitToolStripMenuItem1"; this.commitToolStripMenuItem1.Size = new System.Drawing.Size(119, 22); this.commitToolStripMenuItem1.Text = "Commit"; this.commitToolStripMenuItem1.Click += new System.EventHandler(this.commitToolStripMenuItem1_Click); // // rollBackToolStripMenuItem1 // this.rollBackToolStripMenuItem1.Name = "rollBackToolStripMenuItem1"; this.rollBackToolStripMenuItem1.Size = new System.Drawing.Size(119, 22); this.rollBackToolStripMenuItem1.Text = "RollBack"; this.rollBackToolStripMenuItem1.Click += new System.EventHandler(this.rollBackToolStripMenuItem1_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.helpToolStripMenuItem1, this.aboutToolStripMenuItem }); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(99, 22); this.helpToolStripMenuItem.Text = "Help"; // // helpToolStripMenuItem1 // this.helpToolStripMenuItem1.Name = "helpToolStripMenuItem1"; this.helpToolStripMenuItem1.Size = new System.Drawing.Size(107, 22); this.helpToolStripMenuItem1.Text = "Help"; this.helpToolStripMenuItem1.Click += new System.EventHandler(this.helpToolStripMenuItem1_Click); // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22); this.aboutToolStripMenuItem.Text = "About"; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(868, 383); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(520, 400); this.Name = "Form1"; this.Text = "Undo-Redo"; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.recordNavigationControl1 = new Syncfusion.Windows.Forms.Grid.GridRecordNavigationControl(); this.grid1 = new SampleGrid(); this.components = new Container(); this.recordNavigationControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grid1)).BeginInit(); this.SuspendLayout(); // // recordNavigationControl1 // this.recordNavigationControl1.AllowAddNew = false; this.recordNavigationControl1.Controls.Add(this.grid1); this.recordNavigationControl1.DisabledArrowColor = System.Drawing.SystemColors.GrayText; this.recordNavigationControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.recordNavigationControl1.EnabledArrowColor = System.Drawing.SystemColors.WindowText; this.recordNavigationControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold); this.recordNavigationControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.recordNavigationControl1.Location = new System.Drawing.Point(0, 0); this.recordNavigationControl1.MaxRecord = 0; this.recordNavigationControl1.MinRecord = 1; this.recordNavigationControl1.MinRepeatClickDelay = 15; this.recordNavigationControl1.Name = "recordNavigationControl1"; this.recordNavigationControl1.NavigationBarBackColor = System.Drawing.SystemColors.Window; this.recordNavigationControl1.ShowToolTips = true; this.recordNavigationControl1.Size = new System.Drawing.Size(284, 262); this.recordNavigationControl1.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.recordNavigationControl1.TabIndex = 0; this.recordNavigationControl1.ThemesEnabled = true; this.recordNavigationControl1.Enter += new System.EventHandler(this.SplitterEnter); this.recordNavigationControl1.GotFocus += new System.EventHandler(this.SplitterGotFocus); // // grid1 // this.grid1.AllowDragSelectedCols = true; this.grid1.AllowDragSelectedRows = true; this.grid1.BackColor = System.Drawing.Color.White; this.grid1.ColCount = 0; this.grid1.DefaultColWidth = 0; this.grid1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.grid1.DefaultRowHeight = 20; this.grid1.ExcelLikeCurrentCell = true; this.grid1.ExcelLikeSelectionFrame = true; this.grid1.FillSplitterPane = true; this.grid1.Font = new System.Drawing.Font("Verdana", 8.25F); this.grid1.ForeColor = System.Drawing.SystemColors.WindowText; gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Font.Bold = false; gridCellInfo1.StyleInfo.Font.Facename = "Verdana"; 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; gridCellInfo1.StyleInfo.TextColor = System.Drawing.Color.MidnightBlue; gridCellInfo2.Col = -1; gridCellInfo2.Row = -1; gridCellInfo2.StyleInfo.Font.Facename = "Verdana"; gridCellInfo2.StyleInfo.TextColor = System.Drawing.Color.MidnightBlue; this.grid1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1, gridCellInfo2 }); this.grid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.grid1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.grid1.HorizontalScrollTips = true; this.grid1.HorizontalThumbTrack = true; this.grid1.Location = new System.Drawing.Point(0, 0); this.grid1.MetroScrollBars = true; this.grid1.Name = "grid1"; this.grid1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.grid1.Properties.MarkColHeader = false; this.grid1.Properties.MarkRowHeader = false; this.grid1.RowCount = 0; this.grid1.Size = new System.Drawing.Size(263, 241); this.grid1.SmartSizeBox = false; this.grid1.ThemesEnabled = true; this.grid1.VerticalScrollTips = true; // // RecordFrame // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CausesValidation = false; this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.recordNavigationControl1); this.Name = "RecordFrame"; this.Text = "Grid Splitter"; this.recordNavigationControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo4 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo5 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo6 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo7 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo8 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo9 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo10 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.tabBarSplitterControl1 = new Syncfusion.Windows.Forms.TabBarSplitterControl(); this.CashFlow = new Syncfusion.Windows.Forms.TabBarPage(); this.gridCashFlow = new Syncfusion.Windows.Forms.Grid.GridControl(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.Expenses = new Syncfusion.Windows.Forms.TabBarPage(); this.gridExpenses = new Syncfusion.Windows.Forms.Grid.GridControl(); this.Income = new Syncfusion.Windows.Forms.TabBarPage(); this.gridIncome = new Syncfusion.Windows.Forms.Grid.GridControl(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.tabBarSplitterControl1.SuspendLayout(); this.CashFlow.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridCashFlow)).BeginInit(); this.Expenses.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridExpenses)).BeginInit(); this.Income.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridIncome)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // tabBarSplitterControl1 // this.tabBarSplitterControl1.ActivePageBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(157)))), ((int)(((byte)(217))))); this.tabBarSplitterControl1.ActivePageIndex = 2; this.tabBarSplitterControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabBarSplitterControl1.BeforeTouchSize = new System.Drawing.Size(732, 321); this.tabBarSplitterControl1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tabBarSplitterControl1.Controls.Add(this.CashFlow); this.tabBarSplitterControl1.Controls.Add(this.Expenses); this.tabBarSplitterControl1.Controls.Add(this.Income); this.tabBarSplitterControl1.EnabledColor = System.Drawing.SystemColors.WindowText; this.tabBarSplitterControl1.Location = new System.Drawing.Point(25, 42); this.tabBarSplitterControl1.Name = "tabBarSplitterControl1"; this.tabBarSplitterControl1.ScrollButtons = Syncfusion.Windows.Forms.DisplayArrowButtons.None; this.tabBarSplitterControl1.Size = new System.Drawing.Size(732, 321); this.tabBarSplitterControl1.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.tabBarSplitterControl1.Style = Syncfusion.Windows.Forms.TabBarSplitterStyle.Metro; this.tabBarSplitterControl1.TabFolderDelta = 11; this.tabBarSplitterControl1.TabIndex = 0; this.tabBarSplitterControl1.Text = "tabBarSplitterControl1"; this.tabBarSplitterControl1.ThemesEnabled = true; // // CashFlow // this.CashFlow.Controls.Add(this.gridCashFlow); this.CashFlow.Location = new System.Drawing.Point(0, 0); this.CashFlow.Name = "CashFlow"; this.CashFlow.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.CashFlow.TabBackColor = System.Drawing.SystemColors.Control; this.CashFlow.TabBarColor = System.Drawing.Color.Empty; this.CashFlow.TabMaxWidth = 100; this.CashFlow.Text = "CashFlow"; this.CashFlow.ThemesEnabled = true; // // gridCashFlow // this.gridCashFlow.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridCashFlow.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridCashFlow.ContextMenu = this.contextMenu1; this.gridCashFlow.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridCashFlow.DefaultRowHeight = 20; this.gridCashFlow.FillSplitterPane = true; this.gridCashFlow.Font = new System.Drawing.Font("Segoe UI", 9F); gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Font.Bold = false; gridCellInfo1.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo1.StyleInfo.Font.Italic = false; gridCellInfo1.StyleInfo.Font.Size = 9F; gridCellInfo1.StyleInfo.Font.Strikeout = false; gridCellInfo1.StyleInfo.Font.Underline = false; gridCellInfo1.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo2.Col = -1; gridCellInfo2.Row = -1; gridCellInfo2.StyleInfo.Font.Bold = false; gridCellInfo2.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo2.StyleInfo.Font.Italic = false; gridCellInfo2.StyleInfo.Font.Size = 9F; gridCellInfo2.StyleInfo.Font.Strikeout = false; gridCellInfo2.StyleInfo.Font.Underline = false; gridCellInfo2.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo3.Col = -1; gridCellInfo3.Row = -1; gridCellInfo3.StyleInfo.Font.Bold = false; gridCellInfo3.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo3.StyleInfo.Font.Italic = false; gridCellInfo3.StyleInfo.Font.Size = 8.25F; gridCellInfo3.StyleInfo.Font.Strikeout = false; gridCellInfo3.StyleInfo.Font.Underline = false; gridCellInfo3.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo4.Col = -1; gridCellInfo4.Row = -1; gridCellInfo4.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo4.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo4.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo4.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo4.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridCashFlow.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1, gridCellInfo2, gridCellInfo3, gridCellInfo4 }); this.gridCashFlow.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridCashFlow.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridCashFlow.Location = new System.Drawing.Point(0, 0); this.gridCashFlow.MetroScrollBars = true; this.gridCashFlow.Name = "gridCashFlow"; this.gridCashFlow.Properties.ForceImmediateRepaint = false; this.gridCashFlow.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridCashFlow.Properties.MarkColHeader = false; this.gridCashFlow.Properties.MarkRowHeader = false; this.gridCashFlow.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridCashFlow.Size = new System.Drawing.Size(444, 252); this.gridCashFlow.SmartSizeBox = false; this.gridCashFlow.Text = "gridControl1"; this.gridCashFlow.ThemesEnabled = true; // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "Edit Inputs"; this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click); // // Expenses // this.Expenses.Controls.Add(this.gridExpenses); this.Expenses.Location = new System.Drawing.Point(0, 0); this.Expenses.Name = "Expenses"; this.Expenses.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.Expenses.TabBackColor = System.Drawing.SystemColors.Control; this.Expenses.TabBarColor = System.Drawing.Color.Empty; this.Expenses.TabMaxWidth = 100; this.Expenses.Text = "Expenses"; this.Expenses.ThemesEnabled = true; // // gridExpenses // this.gridExpenses.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridExpenses.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridExpenses.ContextMenu = this.contextMenu1; this.gridExpenses.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridExpenses.DefaultRowHeight = 20; this.gridExpenses.FillSplitterPane = true; this.gridExpenses.Font = new System.Drawing.Font("Segoe UI", 9F); gridCellInfo5.Col = -1; gridCellInfo5.Row = -1; gridCellInfo5.StyleInfo.Font.Bold = false; gridCellInfo5.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo5.StyleInfo.Font.Italic = false; gridCellInfo5.StyleInfo.Font.Size = 9F; gridCellInfo5.StyleInfo.Font.Strikeout = false; gridCellInfo5.StyleInfo.Font.Underline = false; gridCellInfo5.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo6.Col = -1; gridCellInfo6.Row = -1; gridCellInfo6.StyleInfo.Font.Bold = false; gridCellInfo6.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo6.StyleInfo.Font.Italic = false; gridCellInfo6.StyleInfo.Font.Size = 9F; gridCellInfo6.StyleInfo.Font.Strikeout = false; gridCellInfo6.StyleInfo.Font.Underline = false; gridCellInfo6.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo7.Col = -1; gridCellInfo7.Row = -1; gridCellInfo7.StyleInfo.Font.Bold = false; gridCellInfo7.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo7.StyleInfo.Font.Italic = false; gridCellInfo7.StyleInfo.Font.Size = 8.25F; gridCellInfo7.StyleInfo.Font.Strikeout = false; gridCellInfo7.StyleInfo.Font.Underline = false; gridCellInfo7.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo8.Col = -1; gridCellInfo8.Row = -1; gridCellInfo8.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo8.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo8.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo8.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo8.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridExpenses.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo5, gridCellInfo6, gridCellInfo7, gridCellInfo8 }); this.gridExpenses.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridExpenses.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridExpenses.Location = new System.Drawing.Point(0, 0); this.gridExpenses.MetroScrollBars = true; this.gridExpenses.Name = "gridExpenses"; this.gridExpenses.Properties.ForceImmediateRepaint = false; this.gridExpenses.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridExpenses.Properties.MarkColHeader = false; this.gridExpenses.Properties.MarkRowHeader = false; this.gridExpenses.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridExpenses.Size = new System.Drawing.Size(444, 252); this.gridExpenses.SmartSizeBox = false; this.gridExpenses.Text = "gridControl2"; this.gridExpenses.ThemesEnabled = true; // // Income // this.Income.ContextMenu = this.contextMenu1; this.Income.Controls.Add(this.gridIncome); this.Income.Location = new System.Drawing.Point(0, 0); this.Income.Name = "Income"; this.Income.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.Income.TabBackColor = System.Drawing.SystemColors.Control; this.Income.TabBarColor = System.Drawing.Color.Empty; this.Income.TabMaxWidth = 100; this.Income.Text = "Income"; this.Income.ThemesEnabled = true; // // gridIncome // this.gridIncome.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridIncome.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridIncome.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridIncome.DefaultRowHeight = 20; this.gridIncome.FillSplitterPane = true; this.gridIncome.Font = new System.Drawing.Font("Segoe UI", 9F); gridCellInfo9.Col = -1; gridCellInfo9.Row = -1; gridCellInfo9.StyleInfo.Font.Bold = false; gridCellInfo9.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo9.StyleInfo.Font.Italic = false; gridCellInfo9.StyleInfo.Font.Size = 9F; gridCellInfo9.StyleInfo.Font.Strikeout = false; gridCellInfo9.StyleInfo.Font.Underline = false; gridCellInfo9.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo10.Col = -1; gridCellInfo10.Row = -1; gridCellInfo10.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo10.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo10.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo10.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo10.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridIncome.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo9, gridCellInfo10 }); this.gridIncome.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridIncome.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridIncome.Location = new System.Drawing.Point(0, 0); this.gridIncome.MetroScrollBars = true; this.gridIncome.Name = "gridIncome"; this.gridIncome.Properties.ForceImmediateRepaint = false; this.gridIncome.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridIncome.Properties.MarkColHeader = false; this.gridIncome.Properties.MarkRowHeader = false; this.gridIncome.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridIncome.Size = new System.Drawing.Size(715, 304); this.gridIncome.SmartSizeBox = false; this.gridIncome.Text = "gridControl3"; this.gridIncome.ThemesEnabled = true; // // label1 // this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(10, 3); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(246, 23); this.label1.TabIndex = 1; this.label1.Text = "Right-Click Any Cell To Edit the Input"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(24, 13); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(734, 370); this.panel1.TabIndex = 2; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(788, 414); this.Controls.Add(this.tabBarSplitterControl1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(500, 400); this.Name = "Form1"; this.Text = "Named Range"; this.Load += new System.EventHandler(this.Form1_Load); this.tabBarSplitterControl1.ResumeLayout(false); this.CashFlow.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridCashFlow)).EndInit(); this.Expenses.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridExpenses)).EndInit(); this.Income.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridIncome)).EndInit(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo4 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.gridAwareTextBox1 = new Syncfusion.Windows.Forms.Grid.GridAwareTextBox(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); this.SuspendLayout(); // // gridAwareTextBox1 // this.gridAwareTextBox1.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.gridAwareTextBox1.AutoSuggestFormula = false; this.gridAwareTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridAwareTextBox1.DisabledBackColor = System.Drawing.SystemColors.Window; this.gridAwareTextBox1.EnabledBackColor = System.Drawing.SystemColors.Window; this.gridAwareTextBox1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridAwareTextBox1.Location = new System.Drawing.Point(12, 12); this.gridAwareTextBox1.Name = "gridAwareTextBox1"; this.gridAwareTextBox1.Size = new System.Drawing.Size(764, 27); this.gridAwareTextBox1.TabIndex = 4; // // gridControl1 // this.gridControl1.DpiAware = true; this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F); gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Font.Bold = false; gridCellInfo1.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo1.StyleInfo.Font.Italic = false; gridCellInfo1.StyleInfo.Font.Size = 9F; gridCellInfo1.StyleInfo.Font.Strikeout = false; gridCellInfo1.StyleInfo.Font.Underline = false; gridCellInfo1.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo2.Col = -1; gridCellInfo2.Row = -1; gridCellInfo2.StyleInfo.Font.Bold = false; gridCellInfo2.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo2.StyleInfo.Font.Italic = false; gridCellInfo2.StyleInfo.Font.Size = 8.25F; gridCellInfo2.StyleInfo.Font.Strikeout = false; gridCellInfo2.StyleInfo.Font.Underline = false; gridCellInfo2.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo3.Col = -1; gridCellInfo3.Row = -1; gridCellInfo3.StyleInfo.Font.Bold = false; gridCellInfo3.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo3.StyleInfo.Font.Italic = false; gridCellInfo3.StyleInfo.Font.Size = 8.25F; gridCellInfo3.StyleInfo.Font.Strikeout = false; gridCellInfo3.StyleInfo.Font.Underline = false; gridCellInfo3.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo4.Col = -1; gridCellInfo4.Row = -1; gridCellInfo4.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo4.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo4.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo4.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo4.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1, gridCellInfo2, gridCellInfo3, gridCellInfo4 }); //this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; //this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl1.DefaultRowHeight = (int)DpiAware.LogicalToDeviceUnits(20.0f); this.gridControl1.Location = new System.Drawing.Point(12, 44); //this.gridControl1.MetroScrollBars = true; this.gridControl1.Name = "gridControl1"; this.gridControl1.Properties.ForceImmediateRepaint = false; this.gridControl1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridControl1.Properties.MarkColHeader = false; this.gridControl1.Properties.MarkRowHeader = false; this.gridControl1.RowCount = 30; this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridControl1.Size = new System.Drawing.Size(764, 358); this.gridControl1.SmartSizeBox = false; this.gridControl1.TabIndex = 6; this.gridControl1.Text = "gridControl1"; this.gridControl1.ThemesEnabled = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(788, 414); this.Controls.Add(this.gridControl1); this.Controls.Add(this.gridAwareTextBox1); this.MinimumSize = new System.Drawing.Size(500, 400); this.Name = "Form1"; this.Text = "Formula Range Selection"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).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.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(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); this.components = new Container(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.checkBoxAdv1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.ColCount = 9; this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl1.DefaultRowHeight = 20; this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F); 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 = -1; gridCellInfo5.StyleInfo.Font.Bold = false; gridCellInfo5.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo5.StyleInfo.Font.Italic = false; gridCellInfo5.StyleInfo.Font.Size = 8.25F; gridCellInfo5.StyleInfo.Font.Strikeout = false; gridCellInfo5.StyleInfo.Font.Underline = false; gridCellInfo5.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo6.Col = -1; gridCellInfo6.Row = -1; gridCellInfo6.StyleInfo.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.Facename = "Segoe UI"; 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[] { gridCellInfo4, gridCellInfo5, 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(12, 12); this.gridControl1.MetroScrollBars = true; this.gridControl1.Name = "gridControl1"; this.gridControl1.Properties.ForceImmediateRepaint = false; this.gridControl1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridControl1.Properties.MarkColHeader = false; this.gridControl1.Properties.MarkRowHeader = false; this.gridControl1.RowCount = 45; this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridControl1.Size = new System.Drawing.Size(640, 504); this.gridControl1.SmartSizeBox = false; this.gridControl1.TabIndex = 0; this.gridControl1.ThemesEnabled = true; this.gridControl1.VerticalThumbTrack = true; this.gridControl1.SelectionChanged += new Syncfusion.Windows.Forms.Grid.GridSelectionChangedEventHandler(this.gridControl1_SelectionChanged); this.gridControl1.CurrentCellMoved += new Syncfusion.Windows.Forms.Grid.GridCurrentCellMovedEventHandler(this.gridControl1_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.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(672, 137); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(223, 379); this.propertyGrid1.TabIndex = 1; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.checkBoxAdv1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Location = new System.Drawing.Point(672, 17); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(223, 114); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "BrowseOnly"; // // checkBoxAdv1 // this.checkBoxAdv1.BeforeTouchSize = new System.Drawing.Size(150, 21); this.checkBoxAdv1.DrawFocusRectangle = false; this.checkBoxAdv1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBoxAdv1.Location = new System.Drawing.Point(51, 70); this.checkBoxAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.checkBoxAdv1.Name = "checkBoxAdv1"; this.checkBoxAdv1.Size = new System.Drawing.Size(106, 29); this.checkBoxAdv1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBoxAdv1.TabIndex = 4; this.checkBoxAdv1.Text = "Browse only"; this.checkBoxAdv1.ThemesEnabled = false; this.checkBoxAdv1.CheckStateChanged += new System.EventHandler(this.checkBoxAdv1_CheckStateChanged); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(6, 34); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(211, 33); this.label1.TabIndex = 3; this.label1.Text = "Click the CheckBox to enable the GridControl as read mode(un editable)"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(905, 525); this.Controls.Add(this.groupBox1); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.gridControl1); this.MinimumSize = new System.Drawing.Size(500, 400); this.Name = "Form1"; this.Text = "Editor Cell"; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).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.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl1.DefaultRowHeight = 20; this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F); gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo1.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo1.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo1.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo1.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1 }); this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl1.Location = new System.Drawing.Point(19, 12); this.gridControl1.MetroScrollBars = true; this.gridControl1.Name = "gridControl1"; this.gridControl1.Properties.ForceImmediateRepaint = false; this.gridControl1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridControl1.Properties.MarkColHeader = false; this.gridControl1.Properties.MarkRowHeader = false; this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridControl1.Size = new System.Drawing.Size(650, 440); this.gridControl1.SmartSizeBox = false; this.gridControl1.TabIndex = 0; this.gridControl1.Text = "gridControl1"; this.gridControl1.ThemesEnabled = true; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(688, 464); this.panel1.TabIndex = 1; // // Form1 // this.ClientSize = new System.Drawing.Size(688, 464); this.Controls.Add(this.gridControl1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(500, 300); this.Name = "Form1"; this.Text = "Cell Tip"; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); this.ResumeLayout(false); }
/// <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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.grid1 = new Syncfusion.Samples.GridPad.SampleGrid(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); ((System.ComponentModel.ISupportInitialize)(this.grid1)).BeginInit(); this.SuspendLayout(); // // grid1 // this.grid1.AllowDragSelectedCols = true; this.grid1.AllowDragSelectedRows = true; this.grid1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.grid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grid1.BackColor = System.Drawing.Color.White; this.grid1.ColCount = 0; this.grid1.DefaultColWidth = 0; this.grid1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.grid1.DefaultRowHeight = 20; this.grid1.ExcelLikeCurrentCell = true; this.grid1.ExcelLikeSelectionFrame = true; this.grid1.Font = new System.Drawing.Font("Segoe UI", 9F); this.grid1.ForeColor = System.Drawing.SystemColors.WindowText; 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; gridCellInfo1.StyleInfo.TextColor = System.Drawing.Color.MidnightBlue; 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; gridCellInfo2.StyleInfo.TextColor = System.Drawing.Color.MidnightBlue; gridCellInfo3.Col = -1; gridCellInfo3.Row = -1; gridCellInfo3.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo3.StyleInfo.TextColor = System.Drawing.Color.MidnightBlue; this.grid1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1, gridCellInfo2, gridCellInfo3 }); this.grid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.grid1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.grid1.HorizontalScrollTips = true; this.grid1.HorizontalThumbTrack = true; this.grid1.Location = new System.Drawing.Point(20, 25); this.grid1.MetroScrollBars = true; this.grid1.Name = "grid1"; this.grid1.Properties.ForceImmediateRepaint = false; this.grid1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.grid1.Properties.MarkColHeader = false; this.grid1.Properties.MarkRowHeader = false; this.grid1.RowCount = 0; this.grid1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.grid1.Size = new System.Drawing.Size(932, 590); this.grid1.SmartSizeBox = false; this.grid1.TabIndex = 0; this.grid1.Text = "grid1"; this.grid1.ThemesEnabled = true; this.grid1.VerticalScrollTips = true; // // hScrollBar1 // this.hScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.hScrollBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(172)))), ((int)(((byte)(38))))); this.hScrollBar1.Location = new System.Drawing.Point(20, 618); this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(932, 15); this.hScrollBar1.TabIndex = 1; // // vScrollBar1 // this.vScrollBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(172)))), ((int)(((byte)(38))))); this.vScrollBar1.Location = new System.Drawing.Point(955, 25); this.vScrollBar1.Name = "vScrollBar1"; this.vScrollBar1.Size = new System.Drawing.Size(16, 608); this.vScrollBar1.TabIndex = 2; // // GridDialog // this.ClientSize = new System.Drawing.Size(1012, 656); this.Controls.Add(this.vScrollBar1); this.Controls.Add(this.hScrollBar1); this.Controls.Add(this.grid1); this.Name = "GridDialog"; this.Text = "Grid Dialog"; this.TransparencyKey = System.Drawing.SystemColors.Desktop; ((System.ComponentModel.ISupportInitialize)(this.grid1)).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.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo4 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo5 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo6 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo7 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.tabBarSplitterControl1 = new Syncfusion.Windows.Forms.TabBarSplitterControl(); this.tabBarPage1 = new Syncfusion.Windows.Forms.TabBarPage(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); this.tabBarPage2 = new Syncfusion.Windows.Forms.TabBarPage(); this.gridControl2 = new Syncfusion.Windows.Forms.Grid.GridControl(); this.tabBarPage3 = new Syncfusion.Windows.Forms.TabBarPage(); this.gridControl3 = new Syncfusion.Windows.Forms.Grid.GridControl(); this.panel1 = new System.Windows.Forms.Panel(); this.tabBarSplitterControl1.SuspendLayout(); this.tabBarPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); this.tabBarPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit(); this.tabBarPage3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).BeginInit(); this.SuspendLayout(); // // tabBarSplitterControl1 // this.tabBarSplitterControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabBarSplitterControl1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tabBarSplitterControl1.Controls.Add(this.tabBarPage1); this.tabBarSplitterControl1.Controls.Add(this.tabBarPage2); this.tabBarSplitterControl1.Controls.Add(this.tabBarPage3); this.tabBarSplitterControl1.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19))))); this.tabBarSplitterControl1.EnabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19))))); this.tabBarSplitterControl1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(100)))), ((int)(((byte)(19))))); this.tabBarSplitterControl1.Location = new System.Drawing.Point(12, 12); this.tabBarSplitterControl1.Name = "tabBarSplitterControl1"; this.tabBarSplitterControl1.RelativeWidth = 45; this.tabBarSplitterControl1.RepeatClickDelay = 80; this.tabBarSplitterControl1.Size = new System.Drawing.Size(750, 405); this.tabBarSplitterControl1.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.tabBarSplitterControl1.Style = Syncfusion.Windows.Forms.TabBarSplitterStyle.Metro; this.tabBarSplitterControl1.TabFolderDelta = 11; this.tabBarSplitterControl1.TabIndex = 0; this.tabBarSplitterControl1.Text = "tabBarSplitterControl1"; this.tabBarSplitterControl1.ThemesEnabled = true; this.tabBarSplitterControl1.ScrollButtons = DisplayArrowButtons.None; // // tabBarPage1 // this.tabBarPage1.Controls.Add(this.gridControl1); this.tabBarPage1.Location = new System.Drawing.Point(0, 0); this.tabBarPage1.Name = "tabBarPage1"; this.tabBarPage1.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.tabBarPage1.TabBackColor = System.Drawing.SystemColors.Control; this.tabBarPage1.Text = "tabBarPage1"; this.tabBarPage1.ThemesEnabled = true; // // gridControl1 // this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.DefaultColWidth = 70; this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl1.DefaultRowHeight = 20; this.gridControl1.FillSplitterPane = true; this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F); gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo1.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo1.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo1.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo1.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1 }); this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl1.HorizontalThumbTrack = true; this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MetroScrollBars = true; this.gridControl1.Name = "gridControl1"; this.gridControl1.RowCount = 20; this.gridControl1.Size = new System.Drawing.Size(733, 388); this.gridControl1.SmartSizeBox = false; this.gridControl1.Text = "gridControl1"; this.gridControl1.ThemesEnabled = true; this.gridControl1.VerticalThumbTrack = true; // // tabBarPage2 // this.tabBarPage2.Controls.Add(this.gridControl2); this.tabBarPage2.HSplitPos = 80; this.tabBarPage2.Location = new System.Drawing.Point(0, 0); this.tabBarPage2.Name = "tabBarPage2"; this.tabBarPage2.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.tabBarPage2.TabBackColor = System.Drawing.SystemColors.Control; this.tabBarPage2.Text = "tabBarPage2"; this.tabBarPage2.ThemesEnabled = true; // // gridControl2 // this.gridControl2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl2.ColCount = 40; this.gridControl2.DefaultColWidth = 70; this.gridControl2.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl2.DefaultRowHeight = 20; this.gridControl2.FillSplitterPane = true; this.gridControl2.Font = new System.Drawing.Font("Segoe UI", 8.25F); gridCellInfo2.Col = -1; gridCellInfo2.Row = -1; gridCellInfo2.StyleInfo.Font.Bold = false; gridCellInfo2.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo2.StyleInfo.Font.Italic = false; gridCellInfo2.StyleInfo.Font.Size = 8.25F; gridCellInfo2.StyleInfo.Font.Strikeout = false; gridCellInfo2.StyleInfo.Font.Underline = false; gridCellInfo2.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo3.Col = -1; gridCellInfo3.Row = -1; gridCellInfo3.StyleInfo.Font.Bold = false; gridCellInfo3.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo3.StyleInfo.Font.Italic = false; gridCellInfo3.StyleInfo.Font.Size = 8.25F; gridCellInfo3.StyleInfo.Font.Strikeout = false; gridCellInfo3.StyleInfo.Font.Underline = false; gridCellInfo3.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo4.Col = -1; gridCellInfo4.Row = -1; gridCellInfo4.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo4.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo4.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo4.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo4.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl2.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo2, gridCellInfo3, gridCellInfo4 }); this.gridControl2.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridControl2.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl2.HorizontalThumbTrack = true; this.gridControl2.Location = new System.Drawing.Point(0, 0); this.gridControl2.MetroScrollBars = true; this.gridControl2.Name = "gridControl2"; this.gridControl2.RowCount = 1000; this.gridControl2.Size = new System.Drawing.Size(156, 98); this.gridControl2.SmartSizeBox = false; this.gridControl2.Text = "gridControl2"; this.gridControl2.ThemesEnabled = true; this.gridControl2.VerticalThumbTrack = true; // // tabBarPage3 // this.tabBarPage3.Controls.Add(this.gridControl3); this.tabBarPage3.Location = new System.Drawing.Point(0, 0); this.tabBarPage3.Name = "tabBarPage3"; this.tabBarPage3.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.tabBarPage3.TabBackColor = System.Drawing.SystemColors.Control; this.tabBarPage3.Text = "tabBarPage3"; this.tabBarPage3.ThemesEnabled = true; this.tabBarPage3.VSplitPos = 50; // // gridControl3 // this.gridControl3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl3.ColCount = 16; this.gridControl3.DefaultColWidth = 70; this.gridControl3.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl3.DefaultRowHeight = 20; this.gridControl3.FillSplitterPane = true; this.gridControl3.Font = new System.Drawing.Font("Segoe UI", 8.25F); gridCellInfo5.Col = -1; gridCellInfo5.Row = -1; gridCellInfo5.StyleInfo.Font.Bold = false; gridCellInfo5.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo5.StyleInfo.Font.Italic = false; gridCellInfo5.StyleInfo.Font.Size = 8.25F; gridCellInfo5.StyleInfo.Font.Strikeout = false; gridCellInfo5.StyleInfo.Font.Underline = false; gridCellInfo5.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo6.Col = -1; gridCellInfo6.Row = -1; gridCellInfo6.StyleInfo.Font.Bold = false; gridCellInfo6.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo6.StyleInfo.Font.Italic = false; gridCellInfo6.StyleInfo.Font.Size = 8.25F; gridCellInfo6.StyleInfo.Font.Strikeout = false; gridCellInfo6.StyleInfo.Font.Underline = false; gridCellInfo6.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo7.Col = -1; gridCellInfo7.Row = -1; gridCellInfo7.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo7.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo7.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo7.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo7.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl3.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo5, gridCellInfo6, gridCellInfo7 }); this.gridControl3.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridControl3.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl3.HorizontalThumbTrack = true; this.gridControl3.Location = new System.Drawing.Point(0, 0); this.gridControl3.MetroScrollBars = true; this.gridControl3.Name = "gridControl3"; this.gridControl3.RowCount = 20; this.gridControl3.Size = new System.Drawing.Size(156, 98); this.gridControl3.SmartSizeBox = false; this.gridControl3.Text = "gridControl3"; this.gridControl3.ThemesEnabled = true; this.gridControl3.VerticalThumbTrack = true; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(774, 429); this.panel1.TabIndex = 1; // // Form1 // this.ClientSize = new System.Drawing.Size(774, 429); this.Controls.Add(this.tabBarSplitterControl1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(500, 300); this.Name = "Form1"; this.Text = "Workbook"; this.tabBarSplitterControl1.ResumeLayout(false); this.tabBarPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); this.tabBarPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit(); this.tabBarPage3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.splitterControl1 = new Syncfusion.Windows.Forms.SplitterControl(); this.grid1 = new SampleGrid(); this.components = new Container(); this.splitterControl1.SuspendLayout(); this.SuspendLayout(); // // splitterControl1 // this.splitterControl1.Controls.Add(this.grid1); this.splitterControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitterControl1.Location = new System.Drawing.Point(0, 0); this.splitterControl1.Name = "splitterControl1"; this.splitterControl1.ShowToolTips = true; this.splitterControl1.Size = new System.Drawing.Size(284, 262); this.splitterControl1.SplitBars = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns))); this.splitterControl1.TabIndex = 0; this.splitterControl1.ThemesEnabled = true; this.splitterControl1.GridOfficeScrollBars = OfficeScrollBars.Metro; // // grid1 // this.grid1.AllowDragSelectedCols = true; this.grid1.AllowDragSelectedRows = true; this.grid1.BackColor = System.Drawing.Color.White; this.grid1.ColCount = 0; this.grid1.DefaultColWidth = 0; this.grid1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.grid1.DefaultRowHeight = 0; this.grid1.ExcelLikeCurrentCell = true; this.grid1.ExcelLikeSelectionFrame = true; this.grid1.FillSplitterPane = true; this.grid1.Font = new System.Drawing.Font("Verdana", 8.25F); this.grid1.ForeColor = System.Drawing.SystemColors.WindowText; gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Font.Facename = "Verdana"; gridCellInfo1.StyleInfo.TextColor = System.Drawing.Color.MidnightBlue; this.grid1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1 }); this.grid1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.grid1.HorizontalScrollTips = true; this.grid1.HorizontalThumbTrack = true; this.grid1.Location = new System.Drawing.Point(0, 0); this.grid1.Name = "grid1"; this.grid1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.grid1.RowCount = 0; this.grid1.Size = new System.Drawing.Size(263, 241); this.grid1.SmartSizeBox = false; this.grid1.ThemesEnabled = true; this.grid1.VerticalScrollTips = true; // // SplitterFrame // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CausesValidation = false; this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.splitterControl1); this.Name = "SplitterFrame"; this.Text = "Grid Splitter"; this.splitterControl1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.grid1 = new SampleGrid(); ((System.ComponentModel.ISupportInitialize)(this.grid1)).BeginInit(); this.components = new Container(); this.SuspendLayout(); // // grid1 // this.grid1.AllowDragSelectedCols = true; this.grid1.AllowDragSelectedRows = true; this.grid1.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.grid1.BackColor = System.Drawing.Color.White; this.grid1.ColCount = 0; this.grid1.DefaultColWidth = 0; this.grid1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.grid1.Dock = System.Windows.Forms.DockStyle.Fill; this.grid1.ExcelLikeCurrentCell = true; this.grid1.ExcelLikeSelectionFrame = true; this.grid1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.grid1.ForeColor = System.Drawing.SystemColors.WindowText; gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo1.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo1.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo1.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo1.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.grid1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1 }); this.grid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.grid1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.grid1.DefaultRowHeight = (int)DpiAware.LogicalToDeviceUnits(20.0f); this.grid1.HorizontalScrollTips = true; this.grid1.HorizontalThumbTrack = true; this.grid1.Location = new System.Drawing.Point(0, 0); this.grid1.MetroScrollBars = true; this.grid1.Name = "grid1"; this.grid1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.grid1.Properties.MarkColHeader = false; this.grid1.Properties.MarkRowHeader = false; this.grid1.RowCount = 0; this.grid1.Size = this.ClientSize; this.grid1.SmartSizeBox = false; this.grid1.TabIndex = 1; this.grid1.ThemesEnabled = true; this.grid1.VerticalScrollTips = true; // // GridFrame // this.CausesValidation = false; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(352, 333); this.Controls.Add(this.grid1); this.Name = "GridFrame"; ((System.ComponentModel.ISupportInitialize)(this.grid1)).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.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // gridControl1 // this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid; this.gridControl1.DefaultRowHeight = 20; this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F); gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Font.Bold = false; gridCellInfo1.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo1.StyleInfo.Font.Italic = false; gridCellInfo1.StyleInfo.Font.Size = 9F; gridCellInfo1.StyleInfo.Font.Strikeout = false; gridCellInfo1.StyleInfo.Font.Underline = false; gridCellInfo1.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; gridCellInfo2.Col = -1; gridCellInfo2.Row = -1; gridCellInfo2.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo2.StyleInfo.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); gridCellInfo2.StyleInfo.Font.Facename = "Segoe UI"; gridCellInfo2.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridCellInfo2.StyleInfo.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1, gridCellInfo2 }); this.gridControl1.ThemesEnabled = true; this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridControl1.HorizontalScrollTips = true; this.gridControl1.HorizontalThumbTrack = true; this.gridControl1.HScrollBehavior = Syncfusion.Windows.Forms.Grid.GridScrollbarMode.Shared; this.gridControl1.Location = new System.Drawing.Point(25, 12); this.gridControl1.MetroScrollBars = true; this.gridControl1.Name = "gridControl1"; this.gridControl1.Properties.ForceImmediateRepaint = false; this.gridControl1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212))))); this.gridControl1.Properties.MarkColHeader = false; this.gridControl1.Properties.MarkRowHeader = false; this.gridControl1.RowCount = 40; this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] { new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29) }); this.gridControl1.Size = new System.Drawing.Size(526, 361); this.gridControl1.SmartSizeBox = false; this.gridControl1.TabIndex = 0; this.gridControl1.Text = "gridControl1"; this.gridControl1.VerticalScrollTips = true; this.gridControl1.VerticalThumbTrack = true; this.gridControl1.VScrollBehavior = Syncfusion.Windows.Forms.Grid.GridScrollbarMode.Shared; // // vScrollBar1 // this.vScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.vScrollBar1.Location = new System.Drawing.Point(565, 65); this.vScrollBar1.Name = "vScrollBar1"; this.vScrollBar1.Size = new System.Drawing.Size(16, 250); this.vScrollBar1.TabIndex = 1; // // hScrollBar1 // this.hScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hScrollBar1.Location = new System.Drawing.Point(69, 389); this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(408, 16); this.hScrollBar1.TabIndex = 2; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.vScrollBar1); this.panel1.Controls.Add(this.hScrollBar1); this.panel1.Controls.Add(this.gridControl1); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(601, 431); this.panel1.TabIndex = 3; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(601, 433); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(480, 410); this.Name = "Form1"; this.Text = "Scrollbar"; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo(); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl(); ((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))); this.gridControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(229)))), ((int)(((byte)(245))))); this.gridControl1.ColCount = 23; this.gridControl1.DefaultColWidth = 66; this.gridControl1.ExcelLikeCurrentCell = true; this.gridControl1.ExcelLikeSelectionFrame = true; this.gridControl1.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold); gridCellInfo1.Col = -1; gridCellInfo1.Row = -1; gridCellInfo1.StyleInfo.Font.Bold = true; gridCellInfo1.StyleInfo.Font.Facename = "Verdana"; gridCellInfo1.StyleInfo.Font.Italic = false; gridCellInfo1.StyleInfo.Font.Size = 9.75F; 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 = true; gridCellInfo2.StyleInfo.Font.Facename = "Verdana"; gridCellInfo2.StyleInfo.Font.Italic = false; gridCellInfo2.StyleInfo.Font.Size = 9.75F; gridCellInfo2.StyleInfo.Font.Strikeout = false; gridCellInfo2.StyleInfo.Font.Underline = false; gridCellInfo2.StyleInfo.Font.Unit = System.Drawing.GraphicsUnit.Point; this.gridControl1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] { gridCellInfo1, gridCellInfo2 }); this.gridControl1.Location = new System.Drawing.Point(12, 4); this.gridControl1.Name = "gridControl1"; this.gridControl1.RowCount = 65; this.gridControl1.Size = new System.Drawing.Size(918, 448); this.gridControl1.SmartSizeBox = false; this.gridControl1.TabIndex = 0; this.gridControl1.Text = "gridControl1"; this.gridControl1.SelectionChanging += new Syncfusion.Windows.Forms.Grid.GridSelectionChangingEventHandler(this.gridControl1_SelectionChanging); this.gridControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gridControl1_MouseDown); this.gridControl1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.gridControl1_MouseUp); // // ExcelMarkerForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(942, 464); this.Controls.Add(this.gridControl1); this.MinimumSize = new System.Drawing.Size(500, 400); this.Name = "ExcelMarkerForm"; this.Text = "Selection Marker "; ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); this.ResumeLayout(false); }