/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.radHelper = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv(); this.radManual = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radHelper)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radManual)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.IntelliMousePanning = true; this.gridGroupingControl1.Location = new System.Drawing.Point(0, 0); this.gridGroupingControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus; this.gridGroupingControl1.Size = new System.Drawing.Size(1214, 1010); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 38; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 30; this.gridGroupingControl1.Text = "gridGroupingControl1"; // // radHelper // this.radHelper.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radHelper.BeforeTouchSize = new System.Drawing.Size(214, 37); this.radHelper.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radHelper.ForeColor = System.Drawing.Color.DimGray; this.radHelper.ImageCheckBoxSize = new System.Drawing.Size(19, 19); this.radHelper.Location = new System.Drawing.Point(28, 55); this.radHelper.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.radHelper.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.radHelper.Name = "radHelper"; this.radHelper.Size = new System.Drawing.Size(214, 37); this.radHelper.Style = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro; this.radHelper.DrawFocusRectangle = true; this.radHelper.TabIndex = 1; this.radHelper.TabStop = false; this.radHelper.Text = "Use ForeignKeyHelper"; this.radHelper.ThemesEnabled = false; this.radHelper.CheckChanged += new System.EventHandler(this.radHelper_CheckedChanged); // // radManual // this.radManual.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.radManual.BeforeTouchSize = new System.Drawing.Size(168, 37); this.radManual.Checked = true; this.radManual.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radManual.ForeColor = System.Drawing.Color.DimGray; this.radManual.ImageCheckBoxSize = new System.Drawing.Size(19, 19); this.radManual.Location = new System.Drawing.Point(28, 148); this.radManual.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.radManual.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.radManual.Name = "radManual"; this.radManual.Size = new System.Drawing.Size(168, 37); this.radManual.Style = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro; this.radManual.DrawFocusRectangle = true; this.radManual.TabIndex = 2; this.radManual.Text = "Manual Relation"; this.radManual.ThemesEnabled = false; this.radManual.CheckChanged += new System.EventHandler(this.radManual_CheckedChanged); // // panel1 // this.panel1.Dock = DockStyle.Right; this.panel1.Controls.Add(this.radHelper); this.panel1.Controls.Add(this.radManual); this.panel1.Location = new System.Drawing.Point(1252, 18); this.panel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(248, 300); this.panel1.TabIndex = 1; // // panel2 // this.panel2.Controls.Add(this.gridGroupingControl1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1214, 1010); this.panel2.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1513, 1010); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.MinimumSize = new System.Drawing.Size(1189, 739); this.Name = "Form1"; this.Text = "Foreign-Key Reference "; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radHelper)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radManual)).EndInit(); this.panel1.ResumeLayout(false); this.panel2.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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataSet11 = new ResizableRows.DataSet1(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlInsertCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlUpdateCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDeleteCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDataAdapter2 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand3 = new System.Data.SqlClient.SqlCommand(); this.sqlInsertCommand3 = new System.Data.SqlClient.SqlCommand(); this.sqlUpdateCommand3 = new System.Data.SqlClient.SqlCommand(); this.sqlDeleteCommand3 = new System.Data.SqlClient.SqlCommand(); this.sqlDataAdapter3 = new System.Data.SqlClient.SqlDataAdapter(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.dataSet11.Categories; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(15, 12); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(984, 632); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.Text = "gridGroupingControl1"; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT CategoryID, CategoryName, Description, Picture FROM Categories"; this.sqlSelectCommand1.Connection = this.sqlConnection1; // // sqlConnection1 // this.sqlConnection1.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" + "es;persist security info=True;user id=sa;packet size=4096;Pooling=true"; this.sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // sqlInsertCommand1 // this.sqlInsertCommand1.Connection = this.sqlConnection1; this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CategoryName", System.Data.SqlDbType.NVarChar, 15, "CategoryName"), new System.Data.SqlClient.SqlParameter("@Description", System.Data.SqlDbType.NVarChar, 1073741823, "Description"), new System.Data.SqlClient.SqlParameter("@Picture", System.Data.SqlDbType.VarBinary, 2147483647, "Picture") }); // // sqlUpdateCommand1 // this.sqlUpdateCommand1.Connection = this.sqlConnection1; this.sqlUpdateCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CategoryName", System.Data.SqlDbType.NVarChar, 15, "CategoryName"), new System.Data.SqlClient.SqlParameter("@Description", System.Data.SqlDbType.NVarChar, 1073741823, "Description"), new System.Data.SqlClient.SqlParameter("@Picture", System.Data.SqlDbType.VarBinary, 2147483647, "Picture"), new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CategoryName", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID") }); // // sqlDeleteCommand1 // this.sqlDeleteCommand1.CommandText = "DELETE FROM Categories WHERE (CategoryID = @Original_CategoryID) AND (CategoryNam" + "e = @Original_CategoryName)"; this.sqlDeleteCommand1.Connection = this.sqlConnection1; this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CategoryName", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryName", System.Data.DataRowVersion.Original, null) }); // // sqlDataAdapter1 // this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1; this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1; this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Categories", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("CategoryID", "CategoryID"), new System.Data.Common.DataColumnMapping("CategoryName", "CategoryName"), new System.Data.Common.DataColumnMapping("Description", "Description"), new System.Data.Common.DataColumnMapping("Picture", "Picture") }) }); this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1; // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT ProductID, ProductName, SupplierID, CategoryID, QuantityPerUnit, UnitPrice" + ", UnitsInStock, UnitsOnOrder, ReorderLevel, Discontinued FROM Products"; this.sqlSelectCommand2.Connection = this.sqlConnection1; // // sqlInsertCommand2 // this.sqlInsertCommand2.Connection = this.sqlConnection1; this.sqlInsertCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@ProductName", System.Data.SqlDbType.NVarChar, 40, "ProductName"), new System.Data.SqlClient.SqlParameter("@SupplierID", System.Data.SqlDbType.Int, 4, "SupplierID"), new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID"), new System.Data.SqlClient.SqlParameter("@QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, "QuantityPerUnit"), new System.Data.SqlClient.SqlParameter("@UnitPrice", System.Data.SqlDbType.Money, 8, "UnitPrice"), new System.Data.SqlClient.SqlParameter("@UnitsInStock", System.Data.SqlDbType.SmallInt, 2, "UnitsInStock"), new System.Data.SqlClient.SqlParameter("@UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, "UnitsOnOrder"), new System.Data.SqlClient.SqlParameter("@ReorderLevel", System.Data.SqlDbType.SmallInt, 2, "ReorderLevel"), new System.Data.SqlClient.SqlParameter("@Discontinued", System.Data.SqlDbType.Bit, 1, "Discontinued") }); // // sqlUpdateCommand2 // this.sqlUpdateCommand2.Connection = this.sqlConnection1; this.sqlUpdateCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@ProductName", System.Data.SqlDbType.NVarChar, 40, "ProductName"), new System.Data.SqlClient.SqlParameter("@SupplierID", System.Data.SqlDbType.Int, 4, "SupplierID"), new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID"), new System.Data.SqlClient.SqlParameter("@QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, "QuantityPerUnit"), new System.Data.SqlClient.SqlParameter("@UnitPrice", System.Data.SqlDbType.Money, 8, "UnitPrice"), new System.Data.SqlClient.SqlParameter("@UnitsInStock", System.Data.SqlDbType.SmallInt, 2, "UnitsInStock"), new System.Data.SqlClient.SqlParameter("@UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, "UnitsOnOrder"), new System.Data.SqlClient.SqlParameter("@ReorderLevel", System.Data.SqlDbType.SmallInt, 2, "ReorderLevel"), new System.Data.SqlClient.SqlParameter("@Discontinued", System.Data.SqlDbType.Bit, 1, "Discontinued"), new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Discontinued", System.Data.SqlDbType.Bit, 1, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Discontinued", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ProductName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "QuantityPerUnit", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ReorderLevel", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ReorderLevel", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_SupplierID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "SupplierID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitPrice", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitPrice", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitsInStock", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsInStock", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsOnOrder", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@ProductID", System.Data.SqlDbType.Int, 4, "ProductID") }); // // sqlDeleteCommand2 // this.sqlDeleteCommand2.Connection = this.sqlConnection1; this.sqlDeleteCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Discontinued", System.Data.SqlDbType.Bit, 1, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Discontinued", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ProductName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "QuantityPerUnit", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ReorderLevel", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ReorderLevel", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_SupplierID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "SupplierID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitPrice", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitPrice", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitsInStock", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsInStock", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsOnOrder", System.Data.DataRowVersion.Original, null) }); // // sqlDataAdapter2 // this.sqlDataAdapter2.DeleteCommand = this.sqlDeleteCommand2; this.sqlDataAdapter2.InsertCommand = this.sqlInsertCommand2; this.sqlDataAdapter2.SelectCommand = this.sqlSelectCommand2; this.sqlDataAdapter2.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Products", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ProductID", "ProductID"), new System.Data.Common.DataColumnMapping("ProductName", "ProductName"), new System.Data.Common.DataColumnMapping("SupplierID", "SupplierID"), new System.Data.Common.DataColumnMapping("CategoryID", "CategoryID"), new System.Data.Common.DataColumnMapping("QuantityPerUnit", "QuantityPerUnit"), new System.Data.Common.DataColumnMapping("UnitPrice", "UnitPrice"), new System.Data.Common.DataColumnMapping("UnitsInStock", "UnitsInStock"), new System.Data.Common.DataColumnMapping("UnitsOnOrder", "UnitsOnOrder"), new System.Data.Common.DataColumnMapping("ReorderLevel", "ReorderLevel"), new System.Data.Common.DataColumnMapping("Discontinued", "Discontinued") }) }); this.sqlDataAdapter2.UpdateCommand = this.sqlUpdateCommand2; // // sqlSelectCommand3 // this.sqlSelectCommand3.CommandText = "SELECT SupplierID, CompanyName, ContactName, ContactTitle, Address, City, Region," + " PostalCode, Country, Phone, Fax, HomePage FROM Suppliers"; this.sqlSelectCommand3.Connection = this.sqlConnection1; // // sqlInsertCommand3 // this.sqlInsertCommand3.Connection = this.sqlConnection1; this.sqlInsertCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CompanyName", System.Data.SqlDbType.NVarChar, 40, "CompanyName"), new System.Data.SqlClient.SqlParameter("@ContactName", System.Data.SqlDbType.NVarChar, 30, "ContactName"), new System.Data.SqlClient.SqlParameter("@ContactTitle", System.Data.SqlDbType.NVarChar, 30, "ContactTitle"), new System.Data.SqlClient.SqlParameter("@Address", System.Data.SqlDbType.NVarChar, 60, "Address"), new System.Data.SqlClient.SqlParameter("@City", System.Data.SqlDbType.NVarChar, 15, "City"), new System.Data.SqlClient.SqlParameter("@Region", System.Data.SqlDbType.NVarChar, 15, "Region"), new System.Data.SqlClient.SqlParameter("@PostalCode", System.Data.SqlDbType.NVarChar, 10, "PostalCode"), new System.Data.SqlClient.SqlParameter("@Country", System.Data.SqlDbType.NVarChar, 15, "Country"), new System.Data.SqlClient.SqlParameter("@Phone", System.Data.SqlDbType.NVarChar, 24, "Phone"), new System.Data.SqlClient.SqlParameter("@Fax", System.Data.SqlDbType.NVarChar, 24, "Fax"), new System.Data.SqlClient.SqlParameter("@HomePage", System.Data.SqlDbType.NVarChar, 1073741823, "HomePage") }); // // sqlUpdateCommand3 // this.sqlUpdateCommand3.Connection = this.sqlConnection1; this.sqlUpdateCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CompanyName", System.Data.SqlDbType.NVarChar, 40, "CompanyName"), new System.Data.SqlClient.SqlParameter("@ContactName", System.Data.SqlDbType.NVarChar, 30, "ContactName"), new System.Data.SqlClient.SqlParameter("@ContactTitle", System.Data.SqlDbType.NVarChar, 30, "ContactTitle"), new System.Data.SqlClient.SqlParameter("@Address", System.Data.SqlDbType.NVarChar, 60, "Address"), new System.Data.SqlClient.SqlParameter("@City", System.Data.SqlDbType.NVarChar, 15, "City"), new System.Data.SqlClient.SqlParameter("@Region", System.Data.SqlDbType.NVarChar, 15, "Region"), new System.Data.SqlClient.SqlParameter("@PostalCode", System.Data.SqlDbType.NVarChar, 10, "PostalCode"), new System.Data.SqlClient.SqlParameter("@Country", System.Data.SqlDbType.NVarChar, 15, "Country"), new System.Data.SqlClient.SqlParameter("@Phone", System.Data.SqlDbType.NVarChar, 24, "Phone"), new System.Data.SqlClient.SqlParameter("@Fax", System.Data.SqlDbType.NVarChar, 24, "Fax"), new System.Data.SqlClient.SqlParameter("@HomePage", System.Data.SqlDbType.NVarChar, 1073741823, "HomePage"), new System.Data.SqlClient.SqlParameter("@Original_SupplierID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "SupplierID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Address", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Address", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_City", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "City", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CompanyName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CompanyName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ContactName", System.Data.SqlDbType.NVarChar, 30, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ContactName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ContactTitle", System.Data.SqlDbType.NVarChar, 30, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ContactTitle", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Country", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Country", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Fax", System.Data.SqlDbType.NVarChar, 24, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Fax", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Phone", System.Data.SqlDbType.NVarChar, 24, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Phone", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_PostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "PostalCode", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Region", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Region", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@SupplierID", System.Data.SqlDbType.Int, 4, "SupplierID") }); // // sqlDeleteCommand3 // this.sqlDeleteCommand3.Connection = this.sqlConnection1; this.sqlDeleteCommand3.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Original_SupplierID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "SupplierID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Address", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Address", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_City", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "City", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CompanyName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CompanyName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ContactName", System.Data.SqlDbType.NVarChar, 30, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ContactName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ContactTitle", System.Data.SqlDbType.NVarChar, 30, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ContactTitle", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Country", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Country", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Fax", System.Data.SqlDbType.NVarChar, 24, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Fax", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Phone", System.Data.SqlDbType.NVarChar, 24, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Phone", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_PostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "PostalCode", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Region", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Region", System.Data.DataRowVersion.Original, null) }); // // sqlDataAdapter3 // this.sqlDataAdapter3.DeleteCommand = this.sqlDeleteCommand3; this.sqlDataAdapter3.InsertCommand = this.sqlInsertCommand3; this.sqlDataAdapter3.SelectCommand = this.sqlSelectCommand3; this.sqlDataAdapter3.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Suppliers", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("SupplierID", "SupplierID"), new System.Data.Common.DataColumnMapping("CompanyName", "CompanyName"), new System.Data.Common.DataColumnMapping("ContactName", "ContactName"), new System.Data.Common.DataColumnMapping("ContactTitle", "ContactTitle"), new System.Data.Common.DataColumnMapping("Address", "Address"), new System.Data.Common.DataColumnMapping("City", "City"), new System.Data.Common.DataColumnMapping("Region", "Region"), new System.Data.Common.DataColumnMapping("PostalCode", "PostalCode"), new System.Data.Common.DataColumnMapping("Country", "Country"), new System.Data.Common.DataColumnMapping("Phone", "Phone"), new System.Data.Common.DataColumnMapping("Fax", "Fax"), new System.Data.Common.DataColumnMapping("HomePage", "HomePage") }) }); this.sqlDataAdapter3.UpdateCommand = this.sqlUpdateCommand3; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 656); this.MinimumSize = new System.Drawing.Size(650, 500); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Resizable Rows"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.ApplyVisualStyles = false; this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 14); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(589, 513); this.gridGroupingControl1.TabIndex = 1; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))))); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.VersionInfo = "7.103.0.21"; // // 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.CommandsDisabledLinkColor = System.Drawing.Color.White; this.propertyGrid1.CommandsForeColor = System.Drawing.Color.White; this.propertyGrid1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.propertyGrid1.HelpBackColor = System.Drawing.Color.White; this.propertyGrid1.LineColor = System.Drawing.Color.White; this.propertyGrid1.Location = new System.Drawing.Point(614, 12); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(262, 513); this.propertyGrid1.TabIndex = 2; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(888, 543); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.gridGroupingControl1); this.MinimumSize = new System.Drawing.Size(800, 400); this.Name = "Form1"; this.Text = "Filter By DisplayMember"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataSet11 = new DynamicFilter.DataSet1(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.checkBox1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.checkBox2 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.checkBox3 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.checkBox4 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.comboBox1 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.checkBox5 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.groupBox2 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox5)).BeginInit(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.dataSet11.Customers; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(16, 12); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(759, 626); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.201.0.37"; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "filter_delete.png"); this.imageList1.Images.SetKeyName(1, "filter.png"); // // checkBox1 // this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.checkBox1.BeforeTouchSize = new System.Drawing.Size(150, 21); this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox1.Location = new System.Drawing.Point(31, 26); this.checkBox1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(178, 49); this.checkBox1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBox1.DrawFocusRectangle = true; this.checkBox1.TabIndex = 1; this.checkBox1.Text = "Add FilterBar to ParentTable"; this.checkBox1.ThemesEnabled = false; this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged); // // checkBox2 // this.checkBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.checkBox2.BeforeTouchSize = new System.Drawing.Size(150, 21); this.checkBox2.Checked = true; this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox2.DrawFocusRectangle = false; this.checkBox2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox2.Location = new System.Drawing.Point(31, 122); this.checkBox2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(178, 33); this.checkBox2.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBox2.DrawFocusRectangle = true; this.checkBox2.TabIndex = 3; this.checkBox2.Text = "Add FilterBar to ChildTable"; this.checkBox2.ThemesEnabled = false; this.checkBox2.CheckStateChanged += new System.EventHandler(this.checkBox2_CheckStateChanged); // // checkBox3 // this.checkBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.checkBox3.BeforeTouchSize = new System.Drawing.Size(150, 21); this.checkBox3.Checked = true; this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox3.DrawFocusRectangle = false; this.checkBox3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox3.Location = new System.Drawing.Point(31, 81); this.checkBox3.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.checkBox3.Name = "checkBox3"; this.checkBox3.Size = new System.Drawing.Size(178, 21); this.checkBox3.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBox3.DrawFocusRectangle = true; this.checkBox3.TabIndex = 2; this.checkBox3.Text = "Add FilterBar to ChildGroups"; this.checkBox3.ThemesEnabled = false; this.checkBox3.CheckStateChanged += new System.EventHandler(this.checkBox3_CheckStateChanged); // // checkBox4 // this.checkBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.checkBox4.BeforeTouchSize = new System.Drawing.Size(150, 21); this.checkBox4.Checked = true; this.checkBox4.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox4.DrawFocusRectangle = false; this.checkBox4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox4.Location = new System.Drawing.Point(31, 231); this.checkBox4.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.checkBox4.Name = "checkBox4"; this.checkBox4.Size = new System.Drawing.Size(102, 35); this.checkBox4.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBox4.DrawFocusRectangle = true; this.checkBox4.TabIndex = 5; this.checkBox4.Text = "Dynamic Filter"; this.checkBox4.ThemesEnabled = false; this.checkBox4.CheckStateChanged += new System.EventHandler(this.checkBox4_CheckStateChanged); // // comboBox1 // this.comboBox1.BackColor = System.Drawing.Color.White; this.comboBox1.BeforeTouchSize = new System.Drawing.Size(121, 21); this.comboBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBox1.Location = new System.Drawing.Point(168, 26); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(121, 21); this.comboBox1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.comboBox1.TabIndex = 10; // // checkBox5 // this.checkBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.checkBox5.BeforeTouchSize = new System.Drawing.Size(150, 21); this.checkBox5.DrawFocusRectangle = false; this.checkBox5.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox5.Location = new System.Drawing.Point(31, 161); this.checkBox5.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.checkBox5.Name = "checkBox5"; this.checkBox5.Size = new System.Drawing.Size(157, 64); this.checkBox5.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBox5.DrawFocusRectangle = true; this.checkBox5.TabIndex = 4; this.checkBox5.Text = "Enable Localization in Filter Comparer"; this.checkBox5.ThemesEnabled = false; this.checkBox5.CheckStateChanged += new System.EventHandler(this.checkBox5_CheckStateChanged); // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.checkBox4); this.groupBox2.Controls.Add(this.checkBox1); this.groupBox2.Controls.Add(this.checkBox3); this.groupBox2.Controls.Add(this.checkBox5); this.groupBox2.Controls.Add(this.checkBox2); this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox2.Location = new System.Drawing.Point(781, 5); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(227, 281); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "Options"; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 656); this.Controls.Add(this.groupBox2); this.Controls.Add(this.gridGroupingControl1); this.MinimumSize = new System.Drawing.Size(800, 500); this.Name = "Form1"; this.Text = "Dynamic Filter"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox5)).EndInit(); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222))))); //this.gridGroupingControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) //| System.Windows.Forms.AnchorStyles.Right))); this.gridGroupingControl1.Dock = DockStyle.Fill; this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(0, 0); this.gridGroupingControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus; this.gridGroupingControl1.Size = new System.Drawing.Size(1175, 796); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = (int)DpiAware.LogicalToDeviceUnits(25); this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = (int)DpiAware.LogicalToDeviceUnits(20); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.400.0.50"; // // panel1 // this.panel1.Dock = DockStyle.Fill; this.panel1.Controls.Add(this.gridGroupingControl1); this.panel1.Location = new System.Drawing.Point(42, 35); this.panel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1179, 797); this.panel1.TabIndex = 16; // // groupBox1 // //this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) //| System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Dock = DockStyle.Bottom; this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.groupBox1.ForeColor = System.Drawing.Color.DimGray; this.groupBox1.Location = new System.Drawing.Point(18, 865); this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); this.groupBox1.Size = new System.Drawing.Size(1482, 150); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Summary Details"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(72, 86); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(1209, 37); this.label2.TabIndex = 1; this.label2.Text = "Summary Column \'Col4\' :"; // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(72, 37); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(747, 35); this.label1.TabIndex = 0; this.label1.Text = "Summary Column \'Col2\' :"; // // 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.Dock = DockStyle.Right; this.propertyGrid1.BackColor = System.Drawing.Color.White; this.propertyGrid1.CommandsBackColor = System.Drawing.Color.White; this.propertyGrid1.CommandsDisabledLinkColor = 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(1246, 14); this.propertyGrid1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this.gridGroupingControl1; this.propertyGrid1.Size = new System.Drawing.Size(300, 818); this.propertyGrid1.TabIndex = 15; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1513, 1010); this.Controls.Add(this.panel1); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.groupBox1); this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.MinimumSize = new System.Drawing.Size(1189, 585); this.Name = "Form1"; this.Text = "Weighted Summary"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); this.panel1.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() { this.hierarchyGrid = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.label4 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.parentTableGrid = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.panel2 = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.parentToChildGrid = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.panel3 = new System.Windows.Forms.Panel(); this.childToGrandChildGrid = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.label3 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.hierarchyGrid)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.parentTableGrid)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.parentToChildGrid)).BeginInit(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.childToGrandChildGrid)).BeginInit(); this.SuspendLayout(); // // hierarchyGrid // this.hierarchyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hierarchyGrid.BackColor = System.Drawing.SystemColors.Window; this.hierarchyGrid.FreezeCaption = false; this.hierarchyGrid.Location = new System.Drawing.Point(668, 32); this.hierarchyGrid.Name = "hierarchyGrid"; this.hierarchyGrid.Size = new System.Drawing.Size(320, 551); this.hierarchyGrid.TabIndex = 2; this.hierarchyGrid.Text = "hierarchyGrid"; // // label4 // this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(671, 8); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(102, 16); this.label4.TabIndex = 7; this.label4.Text = "HierarchyGrid"; // // panel1 // this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.parentTableGrid); this.panel1.Location = new System.Drawing.Point(16, 8); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(626, 186); this.panel1.TabIndex = 8; // // label1 // this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(626, 21); this.label1.TabIndex = 5; this.label1.Text = "Parent"; // // parentTableGrid // this.parentTableGrid.BackColor = System.Drawing.SystemColors.Window; this.parentTableGrid.Dock = System.Windows.Forms.DockStyle.Bottom; this.parentTableGrid.FreezeCaption = false; this.parentTableGrid.Location = new System.Drawing.Point(0, 24); this.parentTableGrid.Name = "parentTableGrid"; this.parentTableGrid.Size = new System.Drawing.Size(626, 162); this.parentTableGrid.TabIndex = 4; this.parentTableGrid.Text = "parentTableGrid"; // // panel2 // this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.parentToChildGrid); this.panel2.Location = new System.Drawing.Point(16, 215); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(626, 192); this.panel2.TabIndex = 9; // // label2 // this.label2.Dock = System.Windows.Forms.DockStyle.Top; this.label2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(0, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(626, 16); this.label2.TabIndex = 6; this.label2.Text = "Child"; // // parentToChildGrid // this.parentToChildGrid.BackColor = System.Drawing.SystemColors.Window; this.parentToChildGrid.Dock = System.Windows.Forms.DockStyle.Bottom; this.parentToChildGrid.FreezeCaption = false; this.parentToChildGrid.Location = new System.Drawing.Point(0, 19); this.parentToChildGrid.Name = "parentToChildGrid"; this.parentToChildGrid.Size = new System.Drawing.Size(626, 173); this.parentToChildGrid.TabIndex = 5; this.parentToChildGrid.Text = "parentToChildGrid"; // // panel3 // this.panel3.Controls.Add(this.childToGrandChildGrid); this.panel3.Controls.Add(this.label3); this.panel3.Location = new System.Drawing.Point(16, 429); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(626, 154); this.panel3.TabIndex = 10; // // childToGrandChildGrid // this.childToGrandChildGrid.BackColor = System.Drawing.SystemColors.Window; this.childToGrandChildGrid.Dock = System.Windows.Forms.DockStyle.Bottom; this.childToGrandChildGrid.FreezeCaption = false; this.childToGrandChildGrid.Location = new System.Drawing.Point(0, 23); this.childToGrandChildGrid.Name = "childToGrandChildGrid"; this.childToGrandChildGrid.Size = new System.Drawing.Size(626, 131); this.childToGrandChildGrid.TabIndex = 8; this.childToGrandChildGrid.Text = "childToGrandChildGrid"; // // label3 // this.label3.Dock = System.Windows.Forms.DockStyle.Top; this.label3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(0, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(626, 14); this.label3.TabIndex = 7; this.label3.Text = "GrandChild"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.ClientSize = new System.Drawing.Size(1012, 591); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Controls.Add(this.label4); this.Controls.Add(this.hierarchyGrid); this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MinimumSize = new System.Drawing.Size(1015, 640); this.Name = "Form1"; this.Text = "Master Detail Form "; ((System.ComponentModel.ISupportInitialize)(this.hierarchyGrid)).EndInit(); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.parentTableGrid)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.parentToChildGrid)).EndInit(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.childToGrandChildGrid)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataSet11 = new FilterBar.DataSet1(); this.checkBox1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.comboBox1 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.dataSet11.Customers; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 8); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(652, 636); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.201.0.37"; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // checkBox1 // this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.checkBox1.DrawFocusRectangle = false; this.checkBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox1.Location = new System.Drawing.Point(33, 140); this.checkBox1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(152, 24); this.checkBox1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBox1.DrawFocusRectangle = true; this.checkBox1.TabIndex = 3; this.checkBox1.Text = "Add FilterBar"; this.checkBox1.ThemesEnabled = false; this.checkBox1.CheckState = CheckState.Checked; this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged); // // comboBox1 // this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.comboBox1.BackColor = System.Drawing.Color.White; this.comboBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBox1.Items.AddRange(new object[] { "None" }); this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "None")); this.comboBox1.Location = new System.Drawing.Point(185, 32); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(121, 23); this.comboBox1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.comboBox1.TabIndex = 2; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(30, 35); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(155, 15); this.label1.TabIndex = 3; this.label1.Text = "Cancel Filter From Column :"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(30, 73); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(88, 15); this.label2.TabIndex = 4; this.label2.Text = "Selected Index :"; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(185, 76); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(0, 13); this.label3.TabIndex = 5; // // label4 // this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(30, 107); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(85, 15); this.label4.TabIndex = 6; this.label4.Text = "Selected Text :"; // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(185, 112); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(0, 13); this.label5.TabIndex = 7; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.checkBox1); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.comboBox1); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(674, 1); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(328, 183); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Options"; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 656); this.MinimumSize = new System.Drawing.Size(850, 500); this.Controls.Add(this.groupBox1); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Filter Bar"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); 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(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataSet11 = new PrintGroupingGrid.DataSet1(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.buttonAdv3 = new Syncfusion.Windows.Forms.ButtonAdv(); this.buttonAdv4 = new Syncfusion.Windows.Forms.ButtonAdv(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.buttonAdv2 = new Syncfusion.Windows.Forms.ButtonAdv(); this.buttonAdv1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.tipDesc = new System.Windows.Forms.ToolTip(this.components); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); this.panel1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.dataSet11.Categories; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(18, 15); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(759, 628); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.Text = "gridGroupingControl1"; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.gridGroupingControl1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.ForeColor = System.Drawing.Color.DimGray; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1012, 654); this.panel1.TabIndex = 1; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.buttonAdv3); this.groupBox2.Controls.Add(this.buttonAdv4); this.groupBox2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox2.Location = new System.Drawing.Point(793, 185); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(204, 148); this.groupBox2.TabIndex = 4; this.groupBox2.TabStop = false; this.groupBox2.Text = "Print Options"; // // buttonAdv3 // this.buttonAdv3.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.buttonAdv3.FlatStyle = FlatStyle.Flat; this.buttonAdv3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.buttonAdv3.BeforeTouchSize = new System.Drawing.Size(108, 30); this.buttonAdv3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonAdv3.ForeColor = System.Drawing.Color.White; this.buttonAdv3.IsBackStageButton = false; this.buttonAdv3.Location = new System.Drawing.Point(45, 37); this.buttonAdv3.Name = "buttonAdv3"; this.buttonAdv3.Size = new System.Drawing.Size(108, 30); this.buttonAdv3.TabIndex = 4; this.buttonAdv3.Text = "Print Preview"; this.buttonAdv3.Click += new System.EventHandler(this.buttonAdv3_Click); // // buttonAdv4 // this.buttonAdv4.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.buttonAdv4.FlatStyle = FlatStyle.Flat; this.buttonAdv4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.buttonAdv4.BeforeTouchSize = new System.Drawing.Size(108, 30); this.buttonAdv4.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonAdv4.ForeColor = System.Drawing.Color.White; this.buttonAdv4.IsBackStageButton = false; this.buttonAdv4.Location = new System.Drawing.Point(45, 88); this.buttonAdv4.Name = "buttonAdv4"; this.buttonAdv4.Size = new System.Drawing.Size(108, 30); this.buttonAdv4.TabIndex = 4; this.buttonAdv4.Text = "Print"; this.buttonAdv4.Click += new System.EventHandler(this.buttonAdv4_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.buttonAdv2); this.groupBox1.Controls.Add(this.buttonAdv1); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(793, 15); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(203, 148); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Expand / Collapse"; // // buttonAdv2 // this.buttonAdv2.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.buttonAdv2.FlatStyle = FlatStyle.Flat; this.buttonAdv2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.buttonAdv2.BeforeTouchSize = new System.Drawing.Size(108, 30); this.buttonAdv2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonAdv2.ForeColor = System.Drawing.Color.White; this.buttonAdv2.IsBackStageButton = false; this.buttonAdv2.Location = new System.Drawing.Point(45, 93); this.buttonAdv2.Name = "buttonAdv2"; this.buttonAdv2.Size = new System.Drawing.Size(108, 30); this.buttonAdv2.TabIndex = 2; this.buttonAdv2.Text = "Collapse All"; this.buttonAdv2.Click += new System.EventHandler(this.buttonAdv2_Click); // // buttonAdv1 // this.buttonAdv1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.buttonAdv1.FlatStyle = FlatStyle.Flat; this.buttonAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.buttonAdv1.BeforeTouchSize = new System.Drawing.Size(108, 30); this.buttonAdv1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonAdv1.ForeColor = System.Drawing.Color.White; this.buttonAdv1.IsBackStageButton = false; this.buttonAdv1.Location = new System.Drawing.Point(45, 46); this.buttonAdv1.Name = "buttonAdv1"; this.buttonAdv1.Size = new System.Drawing.Size(108, 30); this.buttonAdv1.TabIndex = 1; this.buttonAdv1.Text = "Expand All"; this.buttonAdv1.Click += new System.EventHandler(this.buttonAdv1_Click); // // tipDesc // this.tipDesc.BackColor = System.Drawing.Color.White; this.tipDesc.ForeColor = System.Drawing.Color.Black; this.tipDesc.IsBalloon = true; this.tipDesc.ShowAlways = true; this.tipDesc.UseFading = false; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 654); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(800, 400); this.Name = "Form1"; this.Text = "Printing Hierarchical Grid "; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).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() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor5 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor6 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor7 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor8 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor9 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor gridRelationDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor10 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor11 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor gridRelationDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor gridRelationDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor12 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor13 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor14 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor gridRelationDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.productRatingsDataSet2 = new ProductRatings.ProductRatingsDataSet(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.comboBoxAdv1 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.productRatingsDataSet2)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.productRatingsDataSet2.Products; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.Location = new System.Drawing.Point(16, 16); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(772, 615); this.gridGroupingControl1.TabIndex = 0; gridColumnDescriptor1.HeaderImage = null; gridColumnDescriptor1.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor1.HeaderText = "Category ID"; gridColumnDescriptor1.MappingName = "CategoryID"; gridColumnDescriptor1.SerializedImageArray = ""; gridColumnDescriptor2.Appearance.AnyRecordFieldCell.CellType = "TextBox"; gridColumnDescriptor2.Appearance.AnyRecordFieldCell.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left; gridColumnDescriptor2.HeaderImage = null; gridColumnDescriptor2.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor2.MappingName = "Discontinued"; gridColumnDescriptor2.SerializedImageArray = ""; gridColumnDescriptor3.HeaderImage = null; gridColumnDescriptor3.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor3.HeaderText = "Product Name"; gridColumnDescriptor3.MappingName = "ProductName"; gridColumnDescriptor3.SerializedImageArray = ""; gridColumnDescriptor4.AllowDropDownCell = true; gridColumnDescriptor4.HeaderImage = null; gridColumnDescriptor4.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor4.MappingName = "Ratings_RatingDescription_Description"; gridColumnDescriptor4.Name = "Ratings"; gridColumnDescriptor4.SerializedImageArray = ""; gridColumnDescriptor4.Width = 176; gridColumnDescriptor5.HeaderImage = null; gridColumnDescriptor5.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor5.HeaderText = "Reorder Level"; gridColumnDescriptor5.MappingName = "ReorderLevel"; gridColumnDescriptor5.SerializedImageArray = ""; gridColumnDescriptor6.HeaderImage = null; gridColumnDescriptor6.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor6.HeaderText = "Supplier"; gridColumnDescriptor6.MappingName = "Suppliers_CompanyName"; gridColumnDescriptor6.SerializedImageArray = ""; gridColumnDescriptor7.HeaderImage = null; gridColumnDescriptor7.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor7.HeaderText = "Unit Price"; gridColumnDescriptor7.MappingName = "UnitPrice"; gridColumnDescriptor7.SerializedImageArray = ""; gridColumnDescriptor8.HeaderImage = null; gridColumnDescriptor8.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor8.HeaderText = "Units In Stock"; gridColumnDescriptor8.MappingName = "UnitsInStock"; gridColumnDescriptor8.SerializedImageArray = ""; gridColumnDescriptor9.HeaderImage = null; gridColumnDescriptor9.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor9.HeaderText = "Units On Order"; gridColumnDescriptor9.MappingName = "UnitsOnOrder"; gridColumnDescriptor9.SerializedImageArray = ""; this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor1, gridColumnDescriptor2, gridColumnDescriptor3, gridColumnDescriptor4, gridColumnDescriptor5, gridColumnDescriptor6, gridColumnDescriptor7, gridColumnDescriptor8, gridColumnDescriptor9 }); gridColumnDescriptor10.HeaderImage = null; gridColumnDescriptor10.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor10.HeaderText = "Customer"; gridColumnDescriptor10.MappingName = "Customers_CompanyName"; gridColumnDescriptor10.SerializedImageArray = ""; gridColumnDescriptor11.HeaderImage = null; gridColumnDescriptor11.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor11.HeaderText = "Rating"; gridColumnDescriptor11.MappingName = "RatingDescription_Description"; gridColumnDescriptor11.SerializedImageArray = ""; gridRelationDescriptor1.ChildTableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor10, gridColumnDescriptor11 }); gridRelationDescriptor2.MappingName = "RatingDescriptionRatings"; gridColumnDescriptor12.HeaderImage = null; gridColumnDescriptor12.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor12.MappingName = "CustomerID"; gridColumnDescriptor12.SerializedImageArray = ""; gridColumnDescriptor13.HeaderImage = null; gridColumnDescriptor13.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor13.MappingName = "City"; gridColumnDescriptor13.SerializedImageArray = ""; gridColumnDescriptor14.HeaderImage = null; gridColumnDescriptor14.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor14.MappingName = "CompanyName"; gridColumnDescriptor14.SerializedImageArray = ""; gridRelationDescriptor3.ChildTableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor12, gridColumnDescriptor13, gridColumnDescriptor14 }); gridRelationDescriptor3.MappingName = "CustomersRatings"; gridRelationDescriptor1.ChildTableDescriptor.Relations.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor[] { gridRelationDescriptor2, gridRelationDescriptor3 }); gridRelationDescriptor1.MappingName = "ProductsRatings"; gridRelationDescriptor1.RelationKind = Syncfusion.Grouping.RelationKind.ForeignKeyKeyWords; gridRelationDescriptor4.MappingName = "SuppliersProducts"; this.gridGroupingControl1.TableDescriptor.Relations.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor[] { gridRelationDescriptor1, gridRelationDescriptor4 }); this.gridGroupingControl1.TableDescriptor.SortedColumns.AddRange(new Syncfusion.Grouping.SortColumnDescriptor[] { new Syncfusion.Grouping.SortColumnDescriptor("Ratings", System.ComponentModel.ListSortDirection.Ascending) }); this.gridGroupingControl1.Text = "gridGroupingControl1"; // // productRatingsDataSet2 // this.productRatingsDataSet2.DataSetName = "ProductRatingsDataSet"; this.productRatingsDataSet2.Locale = new System.Globalization.CultureInfo("en-US"); this.productRatingsDataSet2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.comboBoxAdv1); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(810, 16); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(188, 68); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Group By"; // // comboBoxAdv1 // this.comboBoxAdv1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.comboBoxAdv1.BackColor = System.Drawing.Color.White; this.comboBoxAdv1.BeforeTouchSize = new System.Drawing.Size(166, 21); this.comboBoxAdv1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxAdv1.Items.AddRange(new object[] { "None", "Discontinued", "Supplier", "Ratings" }); this.comboBoxAdv1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBoxAdv1, "None")); this.comboBoxAdv1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBoxAdv1, "Discontinued")); this.comboBoxAdv1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBoxAdv1, "Supplier")); this.comboBoxAdv1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBoxAdv1, "Ratings")); this.comboBoxAdv1.Location = new System.Drawing.Point(9, 32); this.comboBoxAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.comboBoxAdv1.Name = "comboBoxAdv1"; this.comboBoxAdv1.Size = new System.Drawing.Size(166, 21); this.comboBoxAdv1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.comboBoxAdv1.TabIndex = 1; // // 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.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.propertyGrid1.HelpBackColor = System.Drawing.Color.White; this.propertyGrid1.LineColor = System.Drawing.Color.White; this.propertyGrid1.Location = new System.Drawing.Point(810, 99); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(188, 532); this.propertyGrid1.TabIndex = 2; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 653); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.groupBox1); this.Controls.Add(this.gridGroupingControl1); this.MinimumSize = new System.Drawing.Size(800, 500); this.Name = "Form1"; this.Text = "Product Ratings "; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.productRatingsDataSet2)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataset11 = new DynamicFormatting_GGC.Dataset1(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.dataset11.Orders; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 12); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(774, 629); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))))); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false; this.gridGroupingControl1.VersionInfo = "4.201.0.60"; // // dataset11 // this.dataset11.DataSetName = "Dataset1"; this.dataset11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // 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.CommandsDisabledLinkColor = 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(796, 12); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this.gridGroupingControl1; this.propertyGrid1.Size = new System.Drawing.Size(203, 629); this.propertyGrid1.TabIndex = 21; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 653); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.gridGroupingControl1); this.MinimumSize = new System.Drawing.Size(800, 450); this.Name = "Form1"; this.Text = " Dynamic Formating"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.dataSet11 = new CustomSummary.DataSet1(); this.propertyGrid = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 4); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(542, 391); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.BaseStyle = ""; this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 30; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 22; this.gridGroupingControl1.Text = "gridGroupingControl1"; // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT OrderID, ProductID, UnitPrice, Quantity, Discount FROM [Order Details]"; this.sqlSelectCommand1.Connection = this.sqlConnection1; // // sqlConnection1 // this.sqlConnection1.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" + "es;persist security info=True;user id=sa;packet size=4096;Pooling=true"; this.sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // sqlInsertCommand1 // this.sqlInsertCommand1.CommandText = resources.GetString("sqlInsertCommand1.CommandText"); this.sqlInsertCommand1.Connection = this.sqlConnection1; this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@OrderID", System.Data.SqlDbType.Int, 4, "OrderID"), new System.Data.SqlClient.SqlParameter("@ProductID", System.Data.SqlDbType.Int, 4, "ProductID"), new System.Data.SqlClient.SqlParameter("@UnitPrice", System.Data.SqlDbType.Money, 8, "UnitPrice"), new System.Data.SqlClient.SqlParameter("@Quantity", System.Data.SqlDbType.SmallInt, 2, "Quantity"), new System.Data.SqlClient.SqlParameter("@Discount", System.Data.SqlDbType.Real, 4, "Discount") }); // // sqlUpdateCommand1 // this.sqlUpdateCommand1.CommandText = resources.GetString("sqlUpdateCommand1.CommandText"); this.sqlUpdateCommand1.Connection = this.sqlConnection1; this.sqlUpdateCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@OrderID", System.Data.SqlDbType.Int, 4, "OrderID"), new System.Data.SqlClient.SqlParameter("@ProductID", System.Data.SqlDbType.Int, 4, "ProductID"), new System.Data.SqlClient.SqlParameter("@UnitPrice", System.Data.SqlDbType.Money, 8, "UnitPrice"), new System.Data.SqlClient.SqlParameter("@Quantity", System.Data.SqlDbType.SmallInt, 2, "Quantity"), new System.Data.SqlClient.SqlParameter("@Discount", System.Data.SqlDbType.Real, 4, "Discount"), new System.Data.SqlClient.SqlParameter("@Original_OrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Discount", System.Data.SqlDbType.Real, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Discount", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Quantity", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Quantity", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitPrice", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitPrice", System.Data.DataRowVersion.Original, null) }); // // sqlDeleteCommand1 // this.sqlDeleteCommand1.CommandText = resources.GetString("sqlDeleteCommand1.CommandText"); this.sqlDeleteCommand1.Connection = this.sqlConnection1; this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Original_OrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Discount", System.Data.SqlDbType.Real, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Discount", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Quantity", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Quantity", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitPrice", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitPrice", System.Data.DataRowVersion.Original, null) }); // // sqlDataAdapter1 // this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1; this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1; this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Order Details", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("OrderID", "OrderID"), new System.Data.Common.DataColumnMapping("ProductID", "ProductID"), new System.Data.Common.DataColumnMapping("UnitPrice", "UnitPrice"), new System.Data.Common.DataColumnMapping("Quantity", "Quantity"), new System.Data.Common.DataColumnMapping("Discount", "Discount") }) }); this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // propertyGrid // this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.propertyGrid.BackColor = System.Drawing.Color.White; this.propertyGrid.CommandsBackColor = System.Drawing.Color.White; this.propertyGrid.CommandsDisabledLinkColor = System.Drawing.Color.White; this.propertyGrid.HelpBackColor = System.Drawing.Color.White; this.propertyGrid.LineColor = System.Drawing.Color.White; this.propertyGrid.Location = new System.Drawing.Point(567, 4); this.propertyGrid.Margin = new System.Windows.Forms.Padding(10); this.propertyGrid.Name = "propertyGrid"; this.propertyGrid.SelectedObject = this.gridGroupingControl1; this.propertyGrid.Size = new System.Drawing.Size(263, 391); this.propertyGrid.TabIndex = 12; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(840, 403); this.Controls.Add(this.propertyGrid); this.Controls.Add(this.gridGroupingControl1); this.MaximumSize = new System.Drawing.Size(1200, 1000); this.MinimumSize = new System.Drawing.Size(700, 400); this.Name = "Form1"; this.Text = "Custom Summary "; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.panel1 = new System.Windows.Forms.Panel(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.Appearance.AlternateRecordFieldCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))))); this.gridGroupingControl1.Appearance.AnyCell.TextColor = System.Drawing.Color.MidnightBlue; this.gridGroupingControl1.Appearance.AnyIndentCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window); this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); this.gridGroupingControl1.BackColor = System.Drawing.Color.White; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 12); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.NestedTableGroupOptions.ShowCaption = false; this.gridGroupingControl1.Size = new System.Drawing.Size(775, 630); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AlternateRecordRowHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(231)))), ((int)(((byte)(247)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AlternateRecordRowHeaderCell.TextColor = System.Drawing.SystemColors.ControlText; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.ForeColor = System.Drawing.Color.DimGray; this.panel1.Location = new System.Drawing.Point(792, 20); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1, 615); this.panel1.TabIndex = 22; // // 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.CommandsDisabledLinkColor = 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(799, 0); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this.gridGroupingControl1; this.propertyGrid1.Size = new System.Drawing.Size(203, 642); this.propertyGrid1.TabIndex = 21; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 654); this.MinimumSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.panel1); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.Text = "Table Indent Formatting"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDataAdapter2 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlDeleteCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlInsertCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlUpdateCommand2 = new System.Data.SqlClient.SqlCommand(); this.dataset11 = new AccessCurrent.Dataset1(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv(); this.panel1 = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); this.lblElement = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.lblCell = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit(); this.splitContainerAdv1.Panel1.SuspendLayout(); this.splitContainerAdv1.Panel2.SuspendLayout(); this.splitContainerAdv1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // sqlDataAdapter1 // this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1; this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1; this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Categories", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("CategoryID", "CategoryID"), new System.Data.Common.DataColumnMapping("CategoryName", "CategoryName"), new System.Data.Common.DataColumnMapping("Description", "Description"), new System.Data.Common.DataColumnMapping("Picture", "Picture") }) }); this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1; // // sqlDeleteCommand1 // this.sqlDeleteCommand1.CommandText = "DELETE FROM Categories WHERE (CategoryID = @Original_CategoryID) AND (CategoryNam" + "e = @Original_CategoryName)"; this.sqlDeleteCommand1.Connection = this.sqlConnection1; this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CategoryName", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryName", System.Data.DataRowVersion.Original, null) }); // // sqlConnection1 // this.sqlConnection1.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" + "es;persist security info=True;user id=sa;packet size=4096;Pooling=true"; this.sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // sqlInsertCommand1 // this.sqlInsertCommand1.CommandText = resources.GetString("sqlInsertCommand1.CommandText"); this.sqlInsertCommand1.Connection = this.sqlConnection1; this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CategoryName", System.Data.SqlDbType.NVarChar, 15, "CategoryName"), new System.Data.SqlClient.SqlParameter("@Description", System.Data.SqlDbType.NVarChar, 1073741823, "Description"), new System.Data.SqlClient.SqlParameter("@Picture", System.Data.SqlDbType.VarBinary, 2147483647, "Picture") }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT CategoryID, CategoryName, Description, Picture FROM Categories"; this.sqlSelectCommand1.Connection = this.sqlConnection1; // // sqlUpdateCommand1 // this.sqlUpdateCommand1.CommandText = resources.GetString("sqlUpdateCommand1.CommandText"); this.sqlUpdateCommand1.Connection = this.sqlConnection1; this.sqlUpdateCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CategoryName", System.Data.SqlDbType.NVarChar, 15, "CategoryName"), new System.Data.SqlClient.SqlParameter("@Description", System.Data.SqlDbType.NVarChar, 1073741823, "Description"), new System.Data.SqlClient.SqlParameter("@Picture", System.Data.SqlDbType.VarBinary, 2147483647, "Picture"), new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CategoryName", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID") }); // // sqlDataAdapter2 // this.sqlDataAdapter2.DeleteCommand = this.sqlDeleteCommand2; this.sqlDataAdapter2.InsertCommand = this.sqlInsertCommand2; this.sqlDataAdapter2.SelectCommand = this.sqlSelectCommand2; this.sqlDataAdapter2.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Products", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ProductID", "ProductID"), new System.Data.Common.DataColumnMapping("ProductName", "ProductName"), new System.Data.Common.DataColumnMapping("SupplierID", "SupplierID"), new System.Data.Common.DataColumnMapping("CategoryID", "CategoryID"), new System.Data.Common.DataColumnMapping("QuantityPerUnit", "QuantityPerUnit"), new System.Data.Common.DataColumnMapping("UnitPrice", "UnitPrice"), new System.Data.Common.DataColumnMapping("UnitsInStock", "UnitsInStock"), new System.Data.Common.DataColumnMapping("UnitsOnOrder", "UnitsOnOrder"), new System.Data.Common.DataColumnMapping("ReorderLevel", "ReorderLevel"), new System.Data.Common.DataColumnMapping("Discontinued", "Discontinued") }) }); this.sqlDataAdapter2.UpdateCommand = this.sqlUpdateCommand2; // // sqlDeleteCommand2 // this.sqlDeleteCommand2.CommandText = resources.GetString("sqlDeleteCommand2.CommandText"); this.sqlDeleteCommand2.Connection = this.sqlConnection1; this.sqlDeleteCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Discontinued", System.Data.SqlDbType.Bit, 1, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Discontinued", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ProductName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "QuantityPerUnit", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ReorderLevel", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ReorderLevel", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_SupplierID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "SupplierID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitPrice", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitPrice", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitsInStock", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsInStock", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsOnOrder", System.Data.DataRowVersion.Original, null) }); // // sqlInsertCommand2 // this.sqlInsertCommand2.CommandText = resources.GetString("sqlInsertCommand2.CommandText"); this.sqlInsertCommand2.Connection = this.sqlConnection1; this.sqlInsertCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@ProductName", System.Data.SqlDbType.NVarChar, 40, "ProductName"), new System.Data.SqlClient.SqlParameter("@SupplierID", System.Data.SqlDbType.Int, 4, "SupplierID"), new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID"), new System.Data.SqlClient.SqlParameter("@QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, "QuantityPerUnit"), new System.Data.SqlClient.SqlParameter("@UnitPrice", System.Data.SqlDbType.Money, 8, "UnitPrice"), new System.Data.SqlClient.SqlParameter("@UnitsInStock", System.Data.SqlDbType.SmallInt, 2, "UnitsInStock"), new System.Data.SqlClient.SqlParameter("@UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, "UnitsOnOrder"), new System.Data.SqlClient.SqlParameter("@ReorderLevel", System.Data.SqlDbType.SmallInt, 2, "ReorderLevel"), new System.Data.SqlClient.SqlParameter("@Discontinued", System.Data.SqlDbType.Bit, 1, "Discontinued") }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT ProductID, ProductName, SupplierID, CategoryID, QuantityPerUnit, UnitPrice" + ", UnitsInStock, UnitsOnOrder, ReorderLevel, Discontinued FROM Products"; this.sqlSelectCommand2.Connection = this.sqlConnection1; // // sqlUpdateCommand2 // this.sqlUpdateCommand2.CommandText = resources.GetString("sqlUpdateCommand2.CommandText"); this.sqlUpdateCommand2.Connection = this.sqlConnection1; this.sqlUpdateCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@ProductName", System.Data.SqlDbType.NVarChar, 40, "ProductName"), new System.Data.SqlClient.SqlParameter("@SupplierID", System.Data.SqlDbType.Int, 4, "SupplierID"), new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID"), new System.Data.SqlClient.SqlParameter("@QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, "QuantityPerUnit"), new System.Data.SqlClient.SqlParameter("@UnitPrice", System.Data.SqlDbType.Money, 8, "UnitPrice"), new System.Data.SqlClient.SqlParameter("@UnitsInStock", System.Data.SqlDbType.SmallInt, 2, "UnitsInStock"), new System.Data.SqlClient.SqlParameter("@UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, "UnitsOnOrder"), new System.Data.SqlClient.SqlParameter("@ReorderLevel", System.Data.SqlDbType.SmallInt, 2, "ReorderLevel"), new System.Data.SqlClient.SqlParameter("@Discontinued", System.Data.SqlDbType.Bit, 1, "Discontinued"), new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Discontinued", System.Data.SqlDbType.Bit, 1, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Discontinued", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ProductName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "QuantityPerUnit", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ReorderLevel", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ReorderLevel", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_SupplierID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "SupplierID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitPrice", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitPrice", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitsInStock", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsInStock", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsOnOrder", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@ProductID", System.Data.SqlDbType.Int, 4, "ProductID") }); // // dataset11 // this.dataset11.DataSetName = "Dataset1"; this.dataset11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.dataset11.Categories; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 12); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(988, 484); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 25; this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))))); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.201.0.37"; // // splitContainerAdv1 // this.splitContainerAdv1.BackColor = System.Drawing.Color.White; this.splitContainerAdv1.BeforeTouchSize = 5; this.splitContainerAdv1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerAdv1.Location = new System.Drawing.Point(0, 0); this.splitContainerAdv1.Name = "splitContainerAdv1"; this.splitContainerAdv1.Orientation = System.Windows.Forms.Orientation.Vertical; // // splitContainerAdv1.Panel1 // this.splitContainerAdv1.Panel1.BackColor = System.Drawing.Color.White; this.splitContainerAdv1.Panel1.Controls.Add(this.gridGroupingControl1); // // splitContainerAdv1.Panel2 // this.splitContainerAdv1.Panel2.BackColor = System.Drawing.Color.White; this.splitContainerAdv1.Panel2.Controls.Add(this.panel1); this.splitContainerAdv1.Panel2.ForeColor = System.Drawing.Color.DimGray; this.splitContainerAdv1.Size = new System.Drawing.Size(1012, 653); this.splitContainerAdv1.SplitterDistance = 500; this.splitContainerAdv1.SplitterWidth = 5; this.splitContainerAdv1.TabIndex = 6; this.splitContainerAdv1.Text = "splitContainerAdv1"; // // 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.label4); this.panel1.Controls.Add(this.lblElement); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.lblCell); 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(12, 2); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(988, 141); this.panel1.TabIndex = 0; // // label4 // this.label4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(14, 79); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(112, 23); this.label4.TabIndex = 10; this.label4.Text = "Current Cell :"; // // lblElement // this.lblElement.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblElement.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblElement.Location = new System.Drawing.Point(132, 17); this.lblElement.Name = "lblElement"; this.lblElement.Size = new System.Drawing.Size(831, 60); this.lblElement.TabIndex = 8; // // label3 // this.label3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(14, 14); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(128, 23); this.label3.TabIndex = 9; this.label3.Text = "Current Element :"; // // lblCell // this.lblCell.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblCell.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCell.Location = new System.Drawing.Point(132, 80); this.lblCell.Name = "lblCell"; this.lblCell.Size = new System.Drawing.Size(831, 56); this.lblCell.TabIndex = 7; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 653); this.Controls.Add(this.splitContainerAdv1); this.MinimumSize = new System.Drawing.Size(800, 450); this.Name = "Form1"; this.Text = "Access Current Element-Cell "; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); this.splitContainerAdv1.Panel1.ResumeLayout(false); this.splitContainerAdv1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit(); this.splitContainerAdv1.ResumeLayout(false); 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.Grouping.GridColumnDescriptor gridColumnDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor5 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor6 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor7 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.panel1 = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.afterDetails = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.beforeDetails = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.captionText = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.showCaption = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.ShowCaptionPlus = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.label1 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.lblProperty = new System.Windows.Forms.Label(); this.lblPropertyDisplay = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataSet11 = new ChildGroupOptions.DataSet1(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbDeleteCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.oleDbInsertCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbUpdateCommand1 = new System.Data.OleDb.OleDbCommand(); this.panel5 = new System.Windows.Forms.Panel(); this.tipDesc = new System.Windows.Forms.ToolTip(this.components); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.afterDetails)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.beforeDetails)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.captionText)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.showCaption)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ShowCaptionPlus)).BeginInit(); this.panel3.SuspendLayout(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); this.panel5.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.afterDetails); this.panel1.Controls.Add(this.beforeDetails); this.panel1.Controls.Add(this.captionText); this.panel1.Controls.Add(this.showCaption); this.panel1.Controls.Add(this.ShowCaptionPlus); this.panel1.Controls.Add(this.label1); this.panel1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panel1.ForeColor = System.Drawing.Color.DimGray; this.panel1.Location = new System.Drawing.Point(792, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(210, 513); this.panel1.TabIndex = 0; // // label2 // this.label2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(29, 168); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(176, 23); this.label2.TabIndex = 21; this.label2.Text = "Add New Record Field"; // // afterDetails // this.afterDetails.BeforeTouchSize = new System.Drawing.Size(150, 21); this.afterDetails.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.afterDetails.Location = new System.Drawing.Point(37, 232); this.afterDetails.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.afterDetails.Name = "afterDetails"; this.afterDetails.Size = new System.Drawing.Size(136, 24); this.afterDetails.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.afterDetails.DrawFocusRectangle = true; this.afterDetails.TabIndex = 20; this.afterDetails.Text = "After Details"; this.afterDetails.ThemesEnabled = false; this.afterDetails.CheckStateChanged += new System.EventHandler(this.afterDetails_CheckStateChanged); // // beforeDetails // this.beforeDetails.BeforeTouchSize = new System.Drawing.Size(150, 21); this.beforeDetails.Checked = true; this.beforeDetails.CheckState = System.Windows.Forms.CheckState.Checked; this.beforeDetails.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.beforeDetails.Location = new System.Drawing.Point(37, 200); this.beforeDetails.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.beforeDetails.Name = "beforeDetails"; this.beforeDetails.Size = new System.Drawing.Size(136, 24); this.beforeDetails.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.beforeDetails.DrawFocusRectangle = true; this.beforeDetails.TabIndex = 19; this.beforeDetails.Text = "Before Details"; this.beforeDetails.ThemesEnabled = false; this.beforeDetails.CheckStateChanged += new System.EventHandler(this.beforeDetails_CheckStateChanged); // // captionText // this.captionText.BeforeTouchSize = new System.Drawing.Size(150, 21); this.captionText.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.captionText.Location = new System.Drawing.Point(37, 119); this.captionText.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.captionText.Name = "captionText"; this.captionText.Size = new System.Drawing.Size(146, 24); this.captionText.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.captionText.DrawFocusRectangle = true; this.captionText.TabIndex = 18; this.captionText.Text = "Modify Caption Text"; this.captionText.ThemesEnabled = false; this.captionText.CheckStateChanged += new System.EventHandler(this.captionText_CheckStateChanged); // // showCaption // this.showCaption.BeforeTouchSize = new System.Drawing.Size(150, 21); this.showCaption.Checked = true; this.showCaption.CheckState = System.Windows.Forms.CheckState.Checked; this.showCaption.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.showCaption.Location = new System.Drawing.Point(37, 87); this.showCaption.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.showCaption.Name = "showCaption"; this.showCaption.Size = new System.Drawing.Size(146, 24); this.showCaption.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.showCaption.DrawFocusRectangle = true; this.showCaption.TabIndex = 17; this.showCaption.Text = "Show Caption"; this.showCaption.ThemesEnabled = false; this.showCaption.CheckStateChanged += new System.EventHandler(this.showCaption_CheckStateChanged); // // ShowCaptionPlus // this.ShowCaptionPlus.BeforeTouchSize = new System.Drawing.Size(150, 21); this.ShowCaptionPlus.Checked = true; this.ShowCaptionPlus.CheckState = System.Windows.Forms.CheckState.Checked; this.ShowCaptionPlus.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ShowCaptionPlus.Location = new System.Drawing.Point(37, 57); this.ShowCaptionPlus.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.ShowCaptionPlus.Name = "ShowCaptionPlus"; this.ShowCaptionPlus.Size = new System.Drawing.Size(136, 24); this.ShowCaptionPlus.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.ShowCaptionPlus.DrawFocusRectangle = true; this.ShowCaptionPlus.TabIndex = 16; this.ShowCaptionPlus.Text = "Show Caption +/-"; this.ShowCaptionPlus.ThemesEnabled = false; this.ShowCaptionPlus.CheckStateChanged += new System.EventHandler(this.ShowCaptionPlus_CheckStateChanged); // // label1 // this.label1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(29, 25); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(160, 23); this.label1.TabIndex = 9; this.label1.Text = "Child Group Options"; // // panel3 // this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel3.Controls.Add(this.label4); this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.lblProperty); this.panel3.Controls.Add(this.lblPropertyDisplay); this.panel3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.panel3.ForeColor = System.Drawing.Color.DimGray; this.panel3.Location = new System.Drawing.Point(9, 526); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(995, 118); this.panel3.TabIndex = 4; // // label4 // this.label4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(24, 72); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(129, 23); this.label4.TabIndex = 3; this.label4.Text = "Changed Property :"; // // label3 // this.label3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(24, 16); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(192, 40); this.label3.TabIndex = 2; this.label3.Text = "Changed ChildGroup Options Property :"; // // lblProperty // this.lblProperty.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblProperty.Location = new System.Drawing.Point(218, 72); this.lblProperty.Name = "lblProperty"; this.lblProperty.Size = new System.Drawing.Size(349, 40); this.lblProperty.TabIndex = 1; // // lblPropertyDisplay // this.lblPropertyDisplay.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPropertyDisplay.Location = new System.Drawing.Point(218, 16); this.lblPropertyDisplay.Name = "lblPropertyDisplay"; this.lblPropertyDisplay.Size = new System.Drawing.Size(359, 40); this.lblPropertyDisplay.TabIndex = 0; // // panel4 // this.panel4.Controls.Add(this.gridGroupingControl1); this.panel4.Controls.Add(this.panel1); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1236, 651); this.panel4.TabIndex = 6; // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.dataSet11.Statistics; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.ForeColor = System.Drawing.Color.DimGray; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.Location = new System.Drawing.Point(6, 4); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(780, 513); this.gridGroupingControl1.TabIndex = 0; gridColumnDescriptor1.HeaderImage = null; gridColumnDescriptor1.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor1.MappingName = "ID"; gridColumnDescriptor1.SerializedImageArray = ""; gridColumnDescriptor2.HeaderImage = null; gridColumnDescriptor2.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor2.MappingName = "losses"; gridColumnDescriptor2.SerializedImageArray = ""; gridColumnDescriptor3.HeaderImage = null; gridColumnDescriptor3.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor3.MappingName = "School"; gridColumnDescriptor3.SerializedImageArray = ""; gridColumnDescriptor4.HeaderImage = null; gridColumnDescriptor4.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor4.MappingName = "Sport"; gridColumnDescriptor4.SerializedImageArray = ""; gridColumnDescriptor5.HeaderImage = null; gridColumnDescriptor5.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor5.MappingName = "ties"; gridColumnDescriptor5.SerializedImageArray = ""; gridColumnDescriptor6.HeaderImage = null; gridColumnDescriptor6.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor6.MappingName = "wins"; gridColumnDescriptor6.SerializedImageArray = ""; gridColumnDescriptor7.HeaderImage = null; gridColumnDescriptor7.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor7.MappingName = "year"; gridColumnDescriptor7.SerializedImageArray = ""; this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor1, gridColumnDescriptor2, gridColumnDescriptor3, gridColumnDescriptor4, gridColumnDescriptor5, gridColumnDescriptor6, gridColumnDescriptor7 }); this.gridGroupingControl1.TableDescriptor.PrimaryKeyColumns.AddRange(new Syncfusion.Grouping.SortColumnDescriptor[] { new Syncfusion.Grouping.SortColumnDescriptor("ID", System.ComponentModel.ListSortDirection.Ascending) }); this.gridGroupingControl1.TableDescriptor.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ID"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("losses"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("School"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Sport"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ties"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("wins"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("year") }); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.201.0.37"; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // oleDbDataAdapter1 // this.oleDbDataAdapter1.DeleteCommand = this.oleDbDeleteCommand1; this.oleDbDataAdapter1.InsertCommand = this.oleDbInsertCommand1; this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Statistics", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ID", "ID"), new System.Data.Common.DataColumnMapping("losses", "losses"), new System.Data.Common.DataColumnMapping("School", "School"), new System.Data.Common.DataColumnMapping("Sport", "Sport"), new System.Data.Common.DataColumnMapping("ties", "ties"), new System.Data.Common.DataColumnMapping("wins", "wins"), new System.Data.Common.DataColumnMapping("year", "year") }) }); this.oleDbDataAdapter1.UpdateCommand = this.oleDbUpdateCommand1; // // oleDbDeleteCommand1 // this.oleDbDeleteCommand1.CommandText = resources.GetString("oleDbDeleteCommand1.CommandText"); this.oleDbDeleteCommand1.Connection = this.oleDbConnection1; this.oleDbDeleteCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("Original_ID", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ID", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_School", System.Data.OleDb.OleDbType.VarWChar, 255, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "School", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_School1", System.Data.OleDb.OleDbType.VarWChar, 255, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "School", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_Sport", System.Data.OleDb.OleDbType.VarWChar, 255, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Sport", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_Sport1", System.Data.OleDb.OleDbType.VarWChar, 255, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Sport", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_losses", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "losses", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_losses1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "losses", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_ties", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ties", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_ties1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ties", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_wins", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "wins", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_wins1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "wins", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_year", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "year", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_year1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "year", System.Data.DataRowVersion.Original, null) }); // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = resources.GetString("oleDbConnection1.ConnectionString"); // // oleDbInsertCommand1 // this.oleDbInsertCommand1.CommandText = "INSERT INTO Statistics(losses, School, Sport, ties, wins, year) VALUES (?, ?, ?, " + "?, ?, ?)"; this.oleDbInsertCommand1.Connection = this.oleDbConnection1; this.oleDbInsertCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("losses", System.Data.OleDb.OleDbType.Integer, 0, "losses"), new System.Data.OleDb.OleDbParameter("School", System.Data.OleDb.OleDbType.VarWChar, 255, "School"), new System.Data.OleDb.OleDbParameter("Sport", System.Data.OleDb.OleDbType.VarWChar, 255, "Sport"), new System.Data.OleDb.OleDbParameter("ties", System.Data.OleDb.OleDbType.Integer, 0, "ties"), new System.Data.OleDb.OleDbParameter("wins", System.Data.OleDb.OleDbType.Integer, 0, "wins"), new System.Data.OleDb.OleDbParameter("year", System.Data.OleDb.OleDbType.Integer, 0, "year") }); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT ID, losses, School, Sport, ties, wins, year FROM Statistics"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // oleDbUpdateCommand1 // this.oleDbUpdateCommand1.CommandText = resources.GetString("oleDbUpdateCommand1.CommandText"); this.oleDbUpdateCommand1.Connection = this.oleDbConnection1; this.oleDbUpdateCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("losses", System.Data.OleDb.OleDbType.Integer, 0, "losses"), new System.Data.OleDb.OleDbParameter("School", System.Data.OleDb.OleDbType.VarWChar, 255, "School"), new System.Data.OleDb.OleDbParameter("Sport", System.Data.OleDb.OleDbType.VarWChar, 255, "Sport"), new System.Data.OleDb.OleDbParameter("ties", System.Data.OleDb.OleDbType.Integer, 0, "ties"), new System.Data.OleDb.OleDbParameter("wins", System.Data.OleDb.OleDbType.Integer, 0, "wins"), new System.Data.OleDb.OleDbParameter("year", System.Data.OleDb.OleDbType.Integer, 0, "year"), new System.Data.OleDb.OleDbParameter("Original_ID", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ID", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_School", System.Data.OleDb.OleDbType.VarWChar, 255, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "School", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_School1", System.Data.OleDb.OleDbType.VarWChar, 255, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "School", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_Sport", System.Data.OleDb.OleDbType.VarWChar, 255, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Sport", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_Sport1", System.Data.OleDb.OleDbType.VarWChar, 255, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Sport", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_losses", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "losses", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_losses1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "losses", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_ties", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ties", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_ties1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ties", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_wins", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "wins", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_wins1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "wins", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_year", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "year", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("Original_year1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "year", System.Data.DataRowVersion.Original, null) }); // // panel5 // this.panel5.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.panel5.BackColor = System.Drawing.Color.White; this.panel5.Controls.Add(this.panel3); this.panel5.Controls.Add(this.panel4); this.panel5.Location = new System.Drawing.Point(-1, 1); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(1236, 651); this.panel5.TabIndex = 7; // // tipDesc // this.tipDesc.BackColor = System.Drawing.Color.White; this.tipDesc.ForeColor = System.Drawing.Color.Black; this.tipDesc.IsBalloon = true; this.tipDesc.ShowAlways = true; this.tipDesc.UseFading = false; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 653); this.Controls.Add(this.panel5); this.MinimumSize = new System.Drawing.Size(800, 500); this.Name = "Form1"; this.Text = "Child-Group Options "; this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.afterDetails)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.beforeDetails)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.captionText)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.showCaption)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ShowCaptionPlus)).EndInit(); this.panel3.ResumeLayout(false); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); this.panel5.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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.components = new Container(); this.dataSet11 = new CustomViews.DataSet1(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem50 = new System.Windows.Forms.MenuItem(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.groupingGrid1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.groupBar1 = new Syncfusion.Windows.Forms.Tools.GroupBar(); this.groupView3 = new Syncfusion.Windows.Forms.Tools.GroupView(); this.groupView4 = new Syncfusion.Windows.Forms.Tools.GroupView(); this.groupView1 = new Syncfusion.Windows.Forms.Tools.GroupView(); this.Columns = new Syncfusion.Windows.Forms.Tools.GroupBarItem(); this.groupBarItem2 = new Syncfusion.Windows.Forms.Tools.GroupBarItem(); this.groupBarItem3 = new Syncfusion.Windows.Forms.Tools.GroupBarItem(); this.groupView2 = new Syncfusion.Windows.Forms.Tools.GroupView(); this.checkBoxAdv1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupingGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupBar1)).BeginInit(); this.groupBar1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // menuItem3 // this.menuItem3.Index = -1; this.menuItem3.Text = ""; // // menuItem50 // this.menuItem50.Index = -1; this.menuItem50.Text = ""; // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region," + " PostalCode, Country, Phone, Fax FROM Customers"; this.sqlSelectCommand1.Connection = this.sqlConnection1; // // sqlConnection1 // this.sqlConnection1.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" + "es;persist security info=True;user id=sa;packet size=4096;Pooling=true"; this.sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // sqlInsertCommand1 // this.sqlInsertCommand1.Connection = this.sqlConnection1; this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CustomerID", System.Data.SqlDbType.NVarChar, 5, "CustomerID"), new System.Data.SqlClient.SqlParameter("@CompanyName", System.Data.SqlDbType.NVarChar, 40, "CompanyName"), new System.Data.SqlClient.SqlParameter("@ContactName", System.Data.SqlDbType.NVarChar, 30, "ContactName"), new System.Data.SqlClient.SqlParameter("@ContactTitle", System.Data.SqlDbType.NVarChar, 30, "ContactTitle"), new System.Data.SqlClient.SqlParameter("@Address", System.Data.SqlDbType.NVarChar, 60, "Address"), new System.Data.SqlClient.SqlParameter("@City", System.Data.SqlDbType.NVarChar, 15, "City"), new System.Data.SqlClient.SqlParameter("@Region", System.Data.SqlDbType.NVarChar, 15, "Region"), new System.Data.SqlClient.SqlParameter("@PostalCode", System.Data.SqlDbType.NVarChar, 10, "PostalCode"), new System.Data.SqlClient.SqlParameter("@Country", System.Data.SqlDbType.NVarChar, 15, "Country"), new System.Data.SqlClient.SqlParameter("@Phone", System.Data.SqlDbType.NVarChar, 24, "Phone"), new System.Data.SqlClient.SqlParameter("@Fax", System.Data.SqlDbType.NVarChar, 24, "Fax") }); // // sqlUpdateCommand1 // this.sqlUpdateCommand1.Connection = this.sqlConnection1; this.sqlUpdateCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CustomerID", System.Data.SqlDbType.NVarChar, 5, "CustomerID"), new System.Data.SqlClient.SqlParameter("@CompanyName", System.Data.SqlDbType.NVarChar, 40, "CompanyName"), new System.Data.SqlClient.SqlParameter("@ContactName", System.Data.SqlDbType.NVarChar, 30, "ContactName"), new System.Data.SqlClient.SqlParameter("@ContactTitle", System.Data.SqlDbType.NVarChar, 30, "ContactTitle"), new System.Data.SqlClient.SqlParameter("@Address", System.Data.SqlDbType.NVarChar, 60, "Address"), new System.Data.SqlClient.SqlParameter("@City", System.Data.SqlDbType.NVarChar, 15, "City"), new System.Data.SqlClient.SqlParameter("@Region", System.Data.SqlDbType.NVarChar, 15, "Region"), new System.Data.SqlClient.SqlParameter("@PostalCode", System.Data.SqlDbType.NVarChar, 10, "PostalCode"), new System.Data.SqlClient.SqlParameter("@Country", System.Data.SqlDbType.NVarChar, 15, "Country"), new System.Data.SqlClient.SqlParameter("@Phone", System.Data.SqlDbType.NVarChar, 24, "Phone"), new System.Data.SqlClient.SqlParameter("@Fax", System.Data.SqlDbType.NVarChar, 24, "Fax"), new System.Data.SqlClient.SqlParameter("@Original_CustomerID", System.Data.SqlDbType.NVarChar, 5, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustomerID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Address", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Address", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_City", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "City", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CompanyName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CompanyName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ContactName", System.Data.SqlDbType.NVarChar, 30, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ContactName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ContactTitle", System.Data.SqlDbType.NVarChar, 30, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ContactTitle", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Country", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Country", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Fax", System.Data.SqlDbType.NVarChar, 24, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Fax", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Phone", System.Data.SqlDbType.NVarChar, 24, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Phone", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_PostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "PostalCode", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Region", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Region", System.Data.DataRowVersion.Original, null) }); // // sqlDeleteCommand1 // this.sqlDeleteCommand1.Connection = this.sqlConnection1; this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Original_CustomerID", System.Data.SqlDbType.NVarChar, 5, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustomerID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Address", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Address", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_City", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "City", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CompanyName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CompanyName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ContactName", System.Data.SqlDbType.NVarChar, 30, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ContactName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ContactTitle", System.Data.SqlDbType.NVarChar, 30, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ContactTitle", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Country", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Country", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Fax", System.Data.SqlDbType.NVarChar, 24, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Fax", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Phone", System.Data.SqlDbType.NVarChar, 24, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Phone", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_PostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "PostalCode", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Region", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Region", System.Data.DataRowVersion.Original, null) }); // // sqlDataAdapter1 // this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1; this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1; this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Customers", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("CustomerID", "CustomerID"), new System.Data.Common.DataColumnMapping("CompanyName", "CompanyName"), new System.Data.Common.DataColumnMapping("ContactName", "ContactName"), new System.Data.Common.DataColumnMapping("ContactTitle", "ContactTitle"), new System.Data.Common.DataColumnMapping("Address", "Address"), new System.Data.Common.DataColumnMapping("City", "City"), new System.Data.Common.DataColumnMapping("Region", "Region"), new System.Data.Common.DataColumnMapping("PostalCode", "PostalCode"), new System.Data.Common.DataColumnMapping("Country", "Country"), new System.Data.Common.DataColumnMapping("Phone", "Phone"), new System.Data.Common.DataColumnMapping("Fax", "Fax") }) }); this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1; // // groupingGrid1 // this.groupingGrid1.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.groupingGrid1.BackColor = System.Drawing.SystemColors.Window; this.groupingGrid1.FreezeCaption = false; this.groupingGrid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.groupingGrid1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.groupingGrid1.Location = new System.Drawing.Point(12, 12); this.groupingGrid1.Name = "groupingGrid1"; this.groupingGrid1.ShowNavigationBar = true; this.groupingGrid1.ShowNavigationBarToolTips = true; this.groupingGrid1.Size = new System.Drawing.Size(780, 587); this.groupingGrid1.TabIndex = 1; this.groupingGrid1.TableDescriptor.AllowNew = false; this.groupingGrid1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.groupingGrid1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.groupingGrid1.TableDescriptor.Appearance.AnyGroupCell.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); this.groupingGrid1.TableDescriptor.Appearance.AnyGroupCell.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); this.groupingGrid1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.groupingGrid1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.groupingGrid1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.groupingGrid1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.groupingGrid1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.groupingGrid1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.groupingGrid1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.groupingGrid1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.groupingGrid1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.groupingGrid1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.groupingGrid1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.groupingGrid1.Text = "groupingGrid1"; // // groupBar1 // this.groupBar1.AllowDrop = true; this.groupBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); this.groupBar1.BeforeTouchSize = new System.Drawing.Size(176, 292); this.groupBar1.BorderColor = System.Drawing.Color.White; this.groupBar1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.groupBar1.Controls.Add(this.groupView3); this.groupBar1.Controls.Add(this.groupView4); this.groupBar1.Controls.Add(this.groupView1); this.groupBar1.ExpandButtonToolTip = null; this.groupBar1.FlatLook = true; this.groupBar1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBar1.ForeColor = System.Drawing.Color.White; this.groupBar1.GroupBarDropDownToolTip = null; this.groupBar1.GroupBarItems.AddRange(new Syncfusion.Windows.Forms.Tools.GroupBarItem[] { this.Columns, this.groupBarItem2, this.groupBarItem3 }); this.groupBar1.IndexOnVisibleItems = true; this.groupBar1.Location = new System.Drawing.Point(14, 3); this.groupBar1.MinimizeButtonToolTip = null; this.groupBar1.Name = "groupBar1"; this.groupBar1.NavigationPaneTooltip = null; this.groupBar1.PopupClientSize = new System.Drawing.Size(0, 0); this.groupBar1.SelectedItem = 2; this.groupBar1.Size = new System.Drawing.Size(176, 292); this.groupBar1.Splittercolor = System.Drawing.SystemColors.ControlDark; this.groupBar1.TabIndex = 22; this.groupBar1.Text = "groupBar1"; this.groupBar1.VisualStyle = Syncfusion.Windows.Forms.VisualStyle.Metro; // // groupView3 // this.groupView3.BackColor = System.Drawing.Color.White; this.groupView3.BeforeTouchSize = new System.Drawing.Size(176, 0); this.groupView3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.groupView3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupView3.ForeColor = System.Drawing.Color.DimGray; this.groupView3.GroupViewItems.AddRange(new Syncfusion.Windows.Forms.Tools.GroupViewItem[] { new Syncfusion.Windows.Forms.Tools.GroupViewItem("Choose Columns ..", -1, true, null, "Choose Columns .."), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Reset Columns", -1, true, null, "Reset Columns"), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Choose Column Sets..", -1, true, null, "Choose Column Sets.."), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Reset ColumnSets", -1, true, null, "Reset ColumnSets"), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Choose Column Order ..", -1, true, null, "Choose Column Order .."), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Reset Columns Order", -1, true, null, "Reset Columns Order"), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Choose ExpressionFields", -1, true, null, "Choose ExpressionFields") }); this.groupView3.HighlightItemColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(0))))); this.groupView3.Location = new System.Drawing.Point(0, 44); this.groupView3.Name = "groupView3"; this.groupView3.SelectedHighlightItemColor = System.Drawing.SystemColors.Highlight; this.groupView3.SelectedItemColor = System.Drawing.SystemColors.Highlight; this.groupView3.Size = new System.Drawing.Size(176, 0); this.groupView3.TabIndex = 28; this.groupView3.Text = "groupView3"; this.groupView3.TextWrap = true; // // groupView4 // this.groupView4.BackColor = System.Drawing.Color.White; this.groupView4.BeforeTouchSize = new System.Drawing.Size(176, 226); this.groupView4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.groupView4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupView4.ForeColor = System.Drawing.Color.DimGray; this.groupView4.GroupViewItems.AddRange(new Syncfusion.Windows.Forms.Tools.GroupViewItem[] { new Syncfusion.Windows.Forms.Tools.GroupViewItem("Choose Filters ..", -1, true, null, "Choose Filters .."), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Clear Filters", -1, true, null, "Clear Filters"), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Choose Grouping ..", -1, true, null, "Choose Grouping .."), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Clear Grouping", -1, true, null, "Clear Grouping"), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Choose Sorting..", -1, true, null, "Choose Sorting.."), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Clear Sorting", -1, true, null, "Clear Sorting"), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Choose Summaries..", -1, true, null, "Choose Summaries.."), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Clear Summaries", -1, true, null, "Clear Summaries") }); this.groupView4.HighlightItemColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(0))))); this.groupView4.Location = new System.Drawing.Point(0, 66); this.groupView4.Name = "groupView4"; this.groupView4.Size = new System.Drawing.Size(176, 226); this.groupView4.TabIndex = 29; this.groupView4.Text = "groupView4"; this.groupView4.TextWrap = true; // // groupView1 // this.groupView1.BackColor = System.Drawing.Color.White; this.groupView1.BeforeTouchSize = new System.Drawing.Size(176, 0); this.groupView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.groupView1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupView1.ForeColor = System.Drawing.Color.DimGray; this.groupView1.GroupViewItems.AddRange(new Syncfusion.Windows.Forms.Tools.GroupViewItem[] { new Syncfusion.Windows.Forms.Tools.GroupViewItem("CustomersDataTable (from Xml)", -1, true, null, "CustomersDataTable (from Xml)"), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Browse Table", -1, true, null, "Browse Table"), new Syncfusion.Windows.Forms.Tools.GroupViewItem("Reset Filters, Summaries and Grouping", -1, true, null, "Reset Filters, Summaries and Grouping") }); this.groupView1.HighlightItemColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(0))))); this.groupView1.Location = new System.Drawing.Point(0, 22); this.groupView1.Name = "groupView1"; this.groupView1.Size = new System.Drawing.Size(176, 0); this.groupView1.TabIndex = 27; this.groupView1.Text = "groupView1"; this.groupView1.TextWrap = true; // // Columns // this.Columns.BackColor = System.Drawing.Color.White; this.Columns.Client = this.groupView1; this.Columns.Text = "Table Option"; // // groupBarItem2 // this.groupBarItem2.BackColor = System.Drawing.Color.White; this.groupBarItem2.Client = this.groupView3; this.groupBarItem2.Text = "Column"; // // groupBarItem3 // this.groupBarItem3.BackColor = System.Drawing.Color.White; this.groupBarItem3.Client = this.groupView4; this.groupBarItem3.Text = "Option"; // // groupView2 // this.groupView2.BeforeTouchSize = new System.Drawing.Size(176, 104); this.groupView2.Location = new System.Drawing.Point(0, 44); this.groupView2.Name = "groupView2"; this.groupView2.Size = new System.Drawing.Size(176, 104); this.groupView2.TabIndex = 28; this.groupView2.Text = "groupView2"; // // checkBoxAdv1 // this.checkBoxAdv1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.checkBoxAdv1.BeforeTouchSize = new System.Drawing.Size(150, 21); this.checkBoxAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.checkBoxAdv1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBoxAdv1.Location = new System.Drawing.Point(14, 301); this.checkBoxAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.checkBoxAdv1.Name = "checkBoxAdv1"; this.checkBoxAdv1.Size = new System.Drawing.Size(176, 21); this.checkBoxAdv1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.checkBoxAdv1.DrawFocusRectangle = true; this.checkBoxAdv1.TabIndex = 30; this.checkBoxAdv1.Text = "Enable\\Disable XP Themes"; this.checkBoxAdv1.ThemesEnabled = false; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.groupBar1); this.panel1.Controls.Add(this.checkBoxAdv1); this.panel1.Location = new System.Drawing.Point(798, 12); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(202, 338); this.panel1.TabIndex = 31; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 603); this.Controls.Add(this.panel1); this.Controls.Add(this.groupingGrid1); this.MinimumSize = new System.Drawing.Size(800, 450); this.Name = "Form1"; this.Text = "Custom Views"; ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupingGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupBar1)).EndInit(); this.groupBar1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).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.groupingGrid1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.groupingGrid1)).BeginInit(); this.SuspendLayout(); // // groupingGrid1 // this.groupingGrid1.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.groupingGrid1.BackColor = System.Drawing.SystemColors.Window; this.groupingGrid1.FreezeCaption = false; this.groupingGrid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.groupingGrid1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.groupingGrid1.Location = new System.Drawing.Point(28, 23); this.groupingGrid1.Name = "groupingGrid1"; this.groupingGrid1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false; this.groupingGrid1.NestedTableGroupOptions.ShowCaption = true; this.groupingGrid1.Size = new System.Drawing.Size(686, 626); this.groupingGrid1.TabIndex = 1; this.groupingGrid1.TableDescriptor.AllowNew = false; this.groupingGrid1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.groupingGrid1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.groupingGrid1.TableDescriptor.Appearance.AnyGroupCell.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); this.groupingGrid1.TableDescriptor.Appearance.AnyGroupCell.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); this.groupingGrid1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.groupingGrid1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.groupingGrid1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.groupingGrid1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.groupingGrid1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.groupingGrid1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.groupingGrid1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.groupingGrid1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.groupingGrid1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.groupingGrid1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.groupingGrid1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.groupingGrid1.Text = "groupingGrid1"; this.groupingGrid1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.groupingGrid1.TopLevelGroupOptions.ShowCaption = false; // // 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.CommandsDisabledLinkColor = 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(720, 23); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(259, 626); this.propertyGrid1.TabIndex = 2; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 674); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.groupingGrid1); this.MinimumSize = new System.Drawing.Size(860, 400); this.Name = "Form1"; this.Text = "Strongly Typed Collection"; ((System.ComponentModel.ISupportInitialize)(this.groupingGrid1)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataSet11 = new SummaryIncaption.DataSet1(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.panel2 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(8, 8); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(736, 638); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 30; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 22; this.gridGroupingControl1.Text = "gridGroupingControl1"; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // 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.CommandsDisabledLinkColor = 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(762, 8); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this.gridGroupingControl1; this.propertyGrid1.Size = new System.Drawing.Size(241, 636); this.propertyGrid1.TabIndex = 13; // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel2.BackColor = System.Drawing.Color.LightGray; this.panel2.Location = new System.Drawing.Point(752, 21); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1, 617); this.panel2.TabIndex = 12; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 656); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.panel2); this.Controls.Add(this.gridGroupingControl1); this.MinimumSize = new System.Drawing.Size(800, 400); this.Name = "Form1"; this.Text = "Caption Summary"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).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.Grouping.GridColumnDescriptor gridColumnDescriptor14 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor15 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor16 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor17 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor18 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor19 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor20 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor21 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor22 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor23 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor24 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor25 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor26 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor8 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor9 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor10 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor11 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor12 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor13 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor gridColumnSetDescriptor14 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor(); this.dataSet11 = new EmployeeView.DataSet1(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.SuspendLayout(); // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.Appearance.AlternateRecordFieldCell.BaseStyle = ""; this.gridGroupingControl1.Appearance.AlternateRecordFieldCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(201)))), ((int)(((byte)(219)))))); this.gridGroupingControl1.Appearance.RecordPreviewCell.BaseStyle = ""; this.gridGroupingControl1.Appearance.RecordPreviewCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(240)))), ((int)(((byte)(246)))))); this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.BaseStyle = ""; this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.CellType = "Static"; this.gridGroupingControl1.Appearance.RecordPreviewRowHeaderCell.Enabled = false; this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordAfterDetails = true; this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.DataSource = this.dataSet11.Employees; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(13, 15); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(685, 620); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; gridColumnDescriptor14.HeaderImage = null; gridColumnDescriptor14.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor14.HeaderText = "ID"; gridColumnDescriptor14.MappingName = "EmployeeID"; gridColumnDescriptor14.SerializedImageArray = ""; gridColumnDescriptor14.Width = 60; gridColumnDescriptor15.HeaderImage = null; gridColumnDescriptor15.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor15.MappingName = "FirstName"; gridColumnDescriptor15.SerializedImageArray = ""; gridColumnDescriptor15.Width = 115; gridColumnDescriptor16.HeaderImage = null; gridColumnDescriptor16.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor16.MappingName = "LastName"; gridColumnDescriptor16.SerializedImageArray = ""; gridColumnDescriptor17.HeaderImage = null; gridColumnDescriptor17.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor17.MappingName = "Address"; gridColumnDescriptor17.SerializedImageArray = ""; gridColumnDescriptor17.Width = 118; gridColumnDescriptor18.HeaderImage = null; gridColumnDescriptor18.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor18.MappingName = "City"; gridColumnDescriptor18.SerializedImageArray = ""; gridColumnDescriptor18.Width = 83; gridColumnDescriptor19.HeaderImage = null; gridColumnDescriptor19.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor19.MappingName = "PostalCode"; gridColumnDescriptor19.SerializedImageArray = ""; gridColumnDescriptor20.HeaderImage = null; gridColumnDescriptor20.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor20.MappingName = "Region"; gridColumnDescriptor20.SerializedImageArray = ""; gridColumnDescriptor20.Width = 80; gridColumnDescriptor21.HeaderImage = null; gridColumnDescriptor21.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor21.MappingName = "Country"; gridColumnDescriptor21.SerializedImageArray = ""; gridColumnDescriptor21.Width = 80; gridColumnDescriptor22.HeaderImage = null; gridColumnDescriptor22.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor22.MappingName = "BirthDate"; gridColumnDescriptor22.SerializedImageArray = ""; gridColumnDescriptor23.HeaderImage = null; gridColumnDescriptor23.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor23.MappingName = "Photo"; gridColumnDescriptor23.SerializedImageArray = ""; gridColumnDescriptor24.HeaderImage = null; gridColumnDescriptor24.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor24.MappingName = "ReportsTo"; gridColumnDescriptor24.SerializedImageArray = ""; gridColumnDescriptor25.HeaderImage = null; gridColumnDescriptor25.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor25.MappingName = "Title"; gridColumnDescriptor25.SerializedImageArray = ""; gridColumnDescriptor25.Width = 144; gridColumnDescriptor26.HeaderImage = null; gridColumnDescriptor26.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor26.MappingName = "TitleOfCourtesy"; gridColumnDescriptor26.SerializedImageArray = ""; gridColumnDescriptor26.Width = 133; this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor14, gridColumnDescriptor15, gridColumnDescriptor16, gridColumnDescriptor17, gridColumnDescriptor18, gridColumnDescriptor19, gridColumnDescriptor20, gridColumnDescriptor21, gridColumnDescriptor22, gridColumnDescriptor23, gridColumnDescriptor24, gridColumnDescriptor25, gridColumnDescriptor26 }); gridColumnSetDescriptor8.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("EmployeeID", "R0C0:R1C0") }); gridColumnSetDescriptor8.Name = "ColumnSetId"; gridColumnSetDescriptor9.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Photo", "R0C0:R1C0") }); gridColumnSetDescriptor9.Name = "ColumnSetPhoto"; gridColumnSetDescriptor10.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("FirstName", "R0C0"), new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("LastName", "R1C0") }); gridColumnSetDescriptor10.Name = "ColumnSetName"; gridColumnSetDescriptor11.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Address", "R0C0:R0C1"), new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("City", "R1C0"), new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("PostalCode", "R1C1") }); gridColumnSetDescriptor11.Name = "ColumnSetAddress"; gridColumnSetDescriptor12.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Region", "R0C0"), new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Country", "R1C0") }); gridColumnSetDescriptor12.Name = "ColumnSetRegionCountry"; gridColumnSetDescriptor13.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("Title", "R0C0"), new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("TitleOfCourtesy", "R1C0") }); gridColumnSetDescriptor13.Name = "ColumnSetTitle"; gridColumnSetDescriptor14.ColumnSpans.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("BirthDate", "R0C0"), new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSpanDescriptor("ReportsTo", "R1C0") }); gridColumnSetDescriptor14.Name = "ColumnSetBirth"; this.gridGroupingControl1.TableDescriptor.ColumnSets.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnSetDescriptor[] { gridColumnSetDescriptor8, gridColumnSetDescriptor9, gridColumnSetDescriptor10, gridColumnSetDescriptor11, gridColumnSetDescriptor12, gridColumnSetDescriptor13, gridColumnSetDescriptor14 }); this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.TableOptions.RecordPreviewRowHeight = 60; this.gridGroupingControl1.TableOptions.RecordRowHeight = 30; this.gridGroupingControl1.TableOptions.ShowRecordPreviewRow = true; this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordAfterDetails = false; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = true; this.gridGroupingControl1.QueryCellStyleInfo += new Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventHandler(this.gridGroupingControl1_QueryCellStyleInfo); // // 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.CommandsDisabledLinkColor = System.Drawing.Color.White; this.propertyGrid1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.propertyGrid1.HelpBackColor = System.Drawing.Color.White; this.propertyGrid1.LineColor = System.Drawing.Color.White; this.propertyGrid1.Location = new System.Drawing.Point(704, 15); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(292, 620); this.propertyGrid1.TabIndex = 9; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 656); this.MinimumSize = new System.Drawing.Size(850, 500); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.Text = "Record Customization"; ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.label5 = new System.Windows.Forms.Label(); this.comboBox2 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.comboBoxAdv1 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.comboBox3 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv(); this.panel1 = new System.Windows.Forms.Panel(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label9 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.pictureBox5 = new System.Windows.Forms.PictureBox(); this.panel4 = new System.Windows.Forms.Panel(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.pictureBox7 = new System.Windows.Forms.PictureBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox6 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.pictureBox8 = new System.Windows.Forms.PictureBox(); this.pictureBox9 = new System.Windows.Forms.PictureBox(); this.pictureBox10 = new System.Windows.Forms.PictureBox(); this.pictureBox11 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox3)).BeginInit(); this.panel1.SuspendLayout(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 7); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(697, 635); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.201.0.37"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "filter_delete.png"); this.imageList1.Images.SetKeyName(1, "filter.png"); // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.label5.ForeColor = System.Drawing.Color.DimGray; this.label5.Location = new System.Drawing.Point(33, 70); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(0, 13); this.label5.TabIndex = 9; this.label5.Visible = false; // // comboBox2 // this.comboBox2.BackColor = System.Drawing.Color.White; this.comboBox2.BeforeTouchSize = new System.Drawing.Size(186, 21); this.comboBox2.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.comboBox2.ForeColor = System.Drawing.Color.DimGray; this.comboBox2.Location = new System.Drawing.Point(23, 16); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(186, 21); this.comboBox2.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.comboBox2.TabIndex = 13; // // comboBoxAdv1 // this.comboBoxAdv1.BackColor = System.Drawing.Color.White; this.comboBoxAdv1.BeforeTouchSize = new System.Drawing.Size(186, 21); this.comboBoxAdv1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.comboBoxAdv1.ForeColor = System.Drawing.Color.DimGray; this.comboBoxAdv1.Location = new System.Drawing.Point(23, 112); this.comboBoxAdv1.Name = "comboBoxAdv1"; this.comboBoxAdv1.Size = new System.Drawing.Size(186, 21); this.comboBoxAdv1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.comboBoxAdv1.TabIndex = 16; // // comboBox3 // this.comboBox3.BackColor = System.Drawing.Color.White; this.comboBox3.BeforeTouchSize = new System.Drawing.Size(186, 21); this.comboBox3.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.comboBox3.ForeColor = System.Drawing.Color.DimGray; this.comboBox3.Location = new System.Drawing.Point(23, 65); this.comboBox3.Name = "comboBox3"; this.comboBox3.Size = new System.Drawing.Size(186, 21); this.comboBox3.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.comboBox3.TabIndex = 14; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.label8); this.panel1.Controls.Add(this.label7); this.panel1.Controls.Add(this.label6); this.panel1.Controls.Add(this.groupBox3); this.panel1.Controls.Add(this.groupBox2); this.panel1.Location = new System.Drawing.Point(726, 7); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(280, 635); this.panel1.TabIndex = 15; // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Segoe UI", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(16, 408); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(243, 13); this.label8.TabIndex = 23; this.label8.Text = "\"Grid.TableModel.EnableLegacyStyle = false\""; // // label7 // this.label7.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.Location = new System.Drawing.Point(8, 308); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(261, 90); this.label7.TabIndex = 22; this.label7.Text = "\r\nThe existing ColorStyles property is marked as deprecated, \r\n\r\nSo the colorsche" + "me used by ColorStyles will be applied to the Grid just by disabling its LegacyS" + "tyles."; // // label6 // this.label6.Font = new System.Drawing.Font("Segoe UI", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(8, 267); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(261, 41); this.label6.TabIndex = 21; this.label6.Text = "This sample features the GridGroupingControl with the new colorscheme used for th" + "e ColorStyles. "; // // groupBox3 // this.groupBox3.Controls.Add(this.pictureBox8); this.groupBox3.Controls.Add(this.pictureBox9); this.groupBox3.Controls.Add(this.pictureBox10); this.groupBox3.Controls.Add(this.pictureBox11); this.groupBox3.Controls.Add(this.label9); this.groupBox3.Controls.Add(this.panel3); this.groupBox3.Controls.Add(this.pictureBox5); this.groupBox3.Controls.Add(this.panel4); this.groupBox3.Controls.Add(this.pictureBox3); this.groupBox3.Controls.Add(this.pictureBox4); this.groupBox3.Controls.Add(this.pictureBox7); this.groupBox3.Controls.Add(this.pictureBox2); this.groupBox3.Controls.Add(this.pictureBox6); this.groupBox3.Controls.Add(this.pictureBox1); this.groupBox3.Location = new System.Drawing.Point(7, 3); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(259, 141); this.groupBox3.TabIndex = 20; this.groupBox3.TabStop = false; this.groupBox3.Text = "Styles"; // // label9 // this.label9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label9.Location = new System.Drawing.Point(45, 112); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(195, 13); this.label9.TabIndex = 13; this.label9.Text = "GridVisualStyles.Metro"; this.label9.Visible = false; // // panel3 // this.panel3.BackColor = System.Drawing.Color.DimGray; this.panel3.Location = new System.Drawing.Point(14, 60); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(26, 6); this.panel3.TabIndex = 12; // // pictureBox5 // this.pictureBox5.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox5.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox5.Image"))); this.pictureBox5.Location = new System.Drawing.Point(151, 24); this.pictureBox5.Name = "pictureBox5"; this.pictureBox5.Size = new System.Drawing.Size(30, 30); this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox5.TabIndex = 4; this.pictureBox5.TabStop = false; this.pictureBox5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox5.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox5.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // panel4 // this.panel4.BackColor = System.Drawing.Color.Orange; this.panel4.Location = new System.Drawing.Point(13, 60); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(26, 4); this.panel4.TabIndex = 7; this.panel4.Visible = false; // // pictureBox3 // this.pictureBox3.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image"))); this.pictureBox3.Location = new System.Drawing.Point(81, 24); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(30, 30); this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox3.TabIndex = 2; this.pictureBox3.TabStop = false; this.pictureBox3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox3.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox3.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // pictureBox4 // this.pictureBox4.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox4.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox4.Image"))); this.pictureBox4.Location = new System.Drawing.Point(116, 24); this.pictureBox4.Name = "pictureBox4"; this.pictureBox4.Size = new System.Drawing.Size(30, 30); this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox4.TabIndex = 3; this.pictureBox4.TabStop = false; this.pictureBox4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox4.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox4.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // pictureBox7 // this.pictureBox7.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox7.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox7.Image"))); this.pictureBox7.Location = new System.Drawing.Point(221, 24); this.pictureBox7.Name = "pictureBox7"; this.pictureBox7.Size = new System.Drawing.Size(30, 30); this.pictureBox7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox7.TabIndex = 4; this.pictureBox7.TabStop = false; this.pictureBox7.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox7.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox7.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // pictureBox2 // this.pictureBox2.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); this.pictureBox2.Location = new System.Drawing.Point(46, 24); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(30, 30); this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox2.TabIndex = 1; this.pictureBox2.TabStop = false; this.pictureBox2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox2.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox2.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // pictureBox6 // this.pictureBox6.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox6.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox6.Image"))); this.pictureBox6.Location = new System.Drawing.Point(186, 24); this.pictureBox6.Name = "pictureBox6"; this.pictureBox6.Size = new System.Drawing.Size(30, 30); this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox6.TabIndex = 5; this.pictureBox6.TabStop = false; this.pictureBox6.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox6.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox6.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // pictureBox1 // this.pictureBox1.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(11, 24); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(30, 30); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; this.pictureBox1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox1.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox1.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // groupBox2 // this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox2.ForeColor = System.Drawing.Color.Black; this.groupBox2.Location = new System.Drawing.Point(7, 156); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(259, 89); this.groupBox2.TabIndex = 19; this.groupBox2.TabStop = false; this.groupBox2.Text = "Applied Changes"; // // label10 // this.label10.AutoSize = true; this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label10.Location = new System.Drawing.Point(133, 32); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(39, 15); this.label10.TabIndex = 10; this.label10.Text = "Metro"; // // label11 // this.label11.AutoSize = true; this.label11.ForeColor = System.Drawing.Color.DimGray; this.label11.Location = new System.Drawing.Point(23, 32); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(101, 15); this.label11.TabIndex = 9; this.label11.Text = "Active Style :"; // // label12 // this.label12.AutoSize = true; this.label12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label12.Location = new System.Drawing.Point(132, 56); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(39, 15); this.label12.TabIndex = 8; this.label12.Text = "Metro"; // // label13 // this.label13.AutoSize = true; this.label13.ForeColor = System.Drawing.Color.DimGray; this.label13.Location = new System.Drawing.Point(23, 56); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(100, 15); this.label13.TabIndex = 7; this.label13.Text = "Active Scrollbars :"; // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel2.BackColor = System.Drawing.Color.DimGray; this.panel2.Location = new System.Drawing.Point(716, 19); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1, 609); this.panel2.TabIndex = 16; // // pictureBox8 // this.pictureBox8.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox8.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox8.Image"))); this.pictureBox8.Location = new System.Drawing.Point(12, 69); this.pictureBox8.Name = "pictureBox8"; this.pictureBox8.Size = new System.Drawing.Size(30, 30); this.pictureBox8.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox8.TabIndex = 16; this.pictureBox8.TabStop = false; this.pictureBox8.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox8.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox8.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // pictureBox9 // this.pictureBox9.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox9.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox9.Image"))); this.pictureBox9.Location = new System.Drawing.Point(48, 70); this.pictureBox9.Name = "pictureBox9"; this.pictureBox9.Size = new System.Drawing.Size(30, 30); this.pictureBox9.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox9.TabIndex = 17; this.pictureBox9.TabStop = false; this.pictureBox9.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox9.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox9.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // pictureBox10 // this.pictureBox10.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox10.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox10.Image"))); this.pictureBox10.Location = new System.Drawing.Point(80, 69); this.pictureBox10.Name = "pictureBox10"; this.pictureBox10.Size = new System.Drawing.Size(30, 30); this.pictureBox10.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox10.TabIndex = 15; this.pictureBox10.TabStop = false; this.pictureBox10.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox10.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox10.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // pictureBox11 // this.pictureBox11.Cursor = System.Windows.Forms.Cursors.Hand; this.pictureBox11.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox11.Image"))); this.pictureBox11.Location = new System.Drawing.Point(116, 69); this.pictureBox11.Name = "pictureBox11"; this.pictureBox11.Size = new System.Drawing.Size(30, 30); this.pictureBox11.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox11.TabIndex = 14; this.pictureBox11.TabStop = false; this.pictureBox11.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseClick); this.pictureBox11.MouseLeave += new System.EventHandler(this.pictureBox1_MouseLeave); this.pictureBox11.MouseHover += new System.EventHandler(this.pictureBox1_MouseHover); // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 654); this.MinimumSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Controls.Add(this.gridGroupingControl1); this.Controls.Add(this.label5); this.Name = "Form1"; this.Text = "Visual Style"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBox3)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.groupBox3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox11)).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() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor5 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor6 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor7 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor gridRelationDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor8 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor9 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor10 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor11 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor12 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor13 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderRowDescriptor gridStackedHeaderRowDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderRowDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor gridStackedHeaderDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor gridStackedHeaderDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor gridStackedHeaderDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor gridStackedHeaderDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor gridStackedHeaderDescriptor5 = new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataset11 = new GroupingEvents.Dataset1(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.panel1 = new System.Windows.Forms.Panel(); this.button1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.freezeCaptioncheckBoxAdv = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.freezeCaptioncheckBoxAdv)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.DataMember = "Employees"; this.gridGroupingControl1.DataSource = this.dataset11; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.Location = new System.Drawing.Point(2, 0); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(883, 355); this.gridGroupingControl1.TabIndex = 0; gridColumnDescriptor1.HeaderImage = null; gridColumnDescriptor1.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor1.HeaderText = "Employee ID"; gridColumnDescriptor1.MappingName = "EmployeeID"; gridColumnDescriptor1.SerializedImageArray = ""; gridColumnDescriptor2.HeaderImage = null; gridColumnDescriptor2.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor2.HeaderText = "First Name"; gridColumnDescriptor2.MappingName = "FirstName"; gridColumnDescriptor2.SerializedImageArray = ""; gridColumnDescriptor3.HeaderImage = null; gridColumnDescriptor3.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor3.HeaderText = "Last Name"; gridColumnDescriptor3.MappingName = "LastName"; gridColumnDescriptor3.SerializedImageArray = ""; gridColumnDescriptor4.HeaderImage = null; gridColumnDescriptor4.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor4.MappingName = "Title"; gridColumnDescriptor4.SerializedImageArray = ""; gridColumnDescriptor5.HeaderImage = null; gridColumnDescriptor5.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor5.MappingName = "Address"; gridColumnDescriptor5.SerializedImageArray = ""; gridColumnDescriptor6.HeaderImage = null; gridColumnDescriptor6.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor6.MappingName = "City"; gridColumnDescriptor6.SerializedImageArray = ""; gridColumnDescriptor7.HeaderImage = null; gridColumnDescriptor7.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor7.MappingName = "Country"; gridColumnDescriptor7.SerializedImageArray = ""; this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor1, gridColumnDescriptor2, gridColumnDescriptor3, gridColumnDescriptor4, gridColumnDescriptor5, gridColumnDescriptor6, gridColumnDescriptor7 }); gridColumnDescriptor8.HeaderImage = null; gridColumnDescriptor8.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor8.HeaderText = "Customer ID"; gridColumnDescriptor8.MappingName = "CustomerID"; gridColumnDescriptor8.SerializedImageArray = ""; gridColumnDescriptor9.HeaderImage = null; gridColumnDescriptor9.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor9.HeaderText = "Order Date"; gridColumnDescriptor9.MappingName = "OrderDate"; gridColumnDescriptor9.SerializedImageArray = ""; gridColumnDescriptor10.HeaderImage = null; gridColumnDescriptor10.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor10.HeaderText = "Order ID"; gridColumnDescriptor10.MappingName = "OrderID"; gridColumnDescriptor10.SerializedImageArray = ""; gridColumnDescriptor11.HeaderImage = null; gridColumnDescriptor11.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor11.HeaderText = "Ship Address"; gridColumnDescriptor11.MappingName = "ShipAddress"; gridColumnDescriptor11.SerializedImageArray = ""; gridColumnDescriptor12.HeaderImage = null; gridColumnDescriptor12.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor12.HeaderText = "Ship Name"; gridColumnDescriptor12.MappingName = "ShipName"; gridColumnDescriptor12.SerializedImageArray = ""; gridColumnDescriptor13.HeaderImage = null; gridColumnDescriptor13.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor13.HeaderText = "Shipped Date"; gridColumnDescriptor13.MappingName = "ShippedDate"; gridColumnDescriptor13.SerializedImageArray = ""; gridRelationDescriptor1.ChildTableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor8, gridColumnDescriptor9, gridColumnDescriptor10, gridColumnDescriptor11, gridColumnDescriptor12, gridColumnDescriptor13 }); gridRelationDescriptor1.ChildTableDescriptor.StackedHeaderRows.Add(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderRowDescriptor("Row 1", new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor("Header 1", new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("CustomerID"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("OrderDate"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("OrderID"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipAddress"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShipName"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ShippedDate") }) })); gridRelationDescriptor1.MappingName = "EmployeesOrders"; this.gridGroupingControl1.TableDescriptor.Relations.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridRelationDescriptor[] { gridRelationDescriptor1 }); gridStackedHeaderRowDescriptor1.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White); gridStackedHeaderDescriptor1.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))))); gridStackedHeaderDescriptor1.Name = "Header 1"; gridStackedHeaderDescriptor1.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("EmployeeID"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("FirstName"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("LastName") }); gridStackedHeaderDescriptor2.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))))); gridStackedHeaderDescriptor2.Name = "Header 2"; gridStackedHeaderDescriptor2.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Title"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Address") }); gridStackedHeaderDescriptor3.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.Blue); gridStackedHeaderDescriptor3.Name = "Header 3"; gridStackedHeaderDescriptor3.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("City"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Country"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("TitleOfCourtesy"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("BirthDate"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("HireDate") }); gridStackedHeaderDescriptor4.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))))); gridStackedHeaderDescriptor4.Name = "Header 4"; gridStackedHeaderDescriptor4.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Region"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("PostalCode"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("HomePhone") }); gridStackedHeaderDescriptor5.Appearance.StackedHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))))); gridStackedHeaderDescriptor5.Name = "Header 5"; gridStackedHeaderDescriptor5.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Extension"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Photo"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("SmallPhoto"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("Notes"), new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderVisibleColumnDescriptor("ReportsTo") }); gridStackedHeaderRowDescriptor1.Headers.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridStackedHeaderDescriptor[] { gridStackedHeaderDescriptor1, gridStackedHeaderDescriptor2, gridStackedHeaderDescriptor3, gridStackedHeaderDescriptor4, gridStackedHeaderDescriptor5 }); gridStackedHeaderRowDescriptor1.Name = "Row 1"; this.gridGroupingControl1.TableDescriptor.StackedHeaderRows.Add(gridStackedHeaderRowDescriptor1); this.gridGroupingControl1.TableDescriptor.TableOptions.CaptionRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 30; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 22; this.gridGroupingControl1.TableDescriptor.VisibleColumns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor[] { new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("EmployeeID"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("FirstName"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("LastName"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Title"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Address"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("City"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Country"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("TitleOfCourtesy"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("BirthDate"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("HireDate"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Region"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("PostalCode"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("HomePhone"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Extension"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Photo"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("SmallPhoto"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("Notes"), new Syncfusion.Windows.Forms.Grid.Grouping.GridVisibleColumnDescriptor("ReportsTo") }); this.gridGroupingControl1.Text = "y"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.VersionInfo = "4.301.0.0"; // // dataset11 // this.dataset11.DataSetName = "Dataset1"; this.dataset11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Enabled = false; this.menuItem1.Index = 0; this.menuItem1.Text = "Clear Window"; this.menuItem1.Click += new System.EventHandler(this.menuItem1_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.Controls.Add(this.gridGroupingControl1); this.panel1.Location = new System.Drawing.Point(28, 23); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(888, 355); this.panel1.TabIndex = 6; // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.button1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button1.FlatStyle = FlatStyle.Flat; this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.button1.BeforeTouchSize = new System.Drawing.Size(128, 24); 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(790, 394); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(128, 24); this.button1.TabIndex = 12; this.button1.Text = "Trace Events"; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.DimGray; this.label1.Location = new System.Drawing.Point(25, 402); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 16); this.label1.TabIndex = 7; this.label1.Text = "Event Tracer:"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.DimGray; this.label2.Location = new System.Drawing.Point(93, 402); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(218, 16); this.label2.TabIndex = 8; this.label2.Text = "(Right click to clear the output window)"; // // listView1 // this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2 }); this.listView1.ContextMenu = this.contextMenu1; this.listView1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.listView1.ForeColor = System.Drawing.Color.DimGray; this.listView1.Location = new System.Drawing.Point(25, 428); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(893, 201); this.listView1.TabIndex = 9; this.listView1.TabStop = false; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "Event"; this.columnHeader1.Width = 186; // // columnHeader2 // this.columnHeader2.Text = "Details"; this.columnHeader2.Width = 759; // // freezeCaptioncheckBoxAdv // this.freezeCaptioncheckBoxAdv.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.freezeCaptioncheckBoxAdv.BeforeTouchSize = new System.Drawing.Size(150, 21); this.freezeCaptioncheckBoxAdv.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.freezeCaptioncheckBoxAdv.Location = new System.Drawing.Point(618, 396); this.freezeCaptioncheckBoxAdv.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.freezeCaptioncheckBoxAdv.Name = "freezeCaptioncheckBoxAdv"; this.freezeCaptioncheckBoxAdv.Size = new System.Drawing.Size(150, 21); this.freezeCaptioncheckBoxAdv.TabIndex = 11; this.freezeCaptioncheckBoxAdv.Text = "Freeze Caption"; this.freezeCaptioncheckBoxAdv.ThemesEnabled = true; this.freezeCaptioncheckBoxAdv.CheckStateChanged += new System.EventHandler(this.freezeCaptioncheckBoxAdv_CheckStateChanged); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(940, 656); this.Controls.Add(this.freezeCaptioncheckBoxAdv); this.Controls.Add(this.button1); this.Controls.Add(this.listView1); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(800, 600); this.Name = "Form1"; this.Text = "Grouping Events"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).EndInit(); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.freezeCaptioncheckBoxAdv)).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(); this.dataset11 = new GroupingEngineEventsTracer.Dataset1(); this.button1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.button2 = new Syncfusion.Windows.Forms.ButtonAdv(); this.button3 = new Syncfusion.Windows.Forms.ButtonAdv(); this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel(); this.checkBoxAdv1 = new System.Windows.Forms.CheckBox(); this.panel1 = new System.Windows.Forms.Panel(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.panel2 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit(); this.gradientPanel1.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // dataset11 // this.dataset11.DataSetName = "Dataset1"; this.dataset11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | 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(128, 23); 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", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.ForeColor = System.Drawing.Color.White; this.button1.IsBackStageButton = false; this.button1.Location = new System.Drawing.Point(12, 16); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(128, 23); this.button1.TabIndex = 2; this.button1.Text = "Engine Events"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.button2.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.button2.BeforeTouchSize = new System.Drawing.Size(128, 23); this.button2.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Font = new System.Drawing.Font("Segoe UI", 8.25F, 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(12, 56); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(128, 23); this.button2.TabIndex = 3; this.button2.Text = "Engine.Table Events"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.button3.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.button3.BeforeTouchSize = new System.Drawing.Size(128, 23); this.button3.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("Segoe UI", 8.25F, 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(12, 96); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(128, 23); this.button3.TabIndex = 5; this.button3.Text = "Clear Output Window"; this.button3.Click += new System.EventHandler(this.button3_Click); // // gradientPanel1 // this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gradientPanel1.Controls.Add(this.checkBoxAdv1); this.gradientPanel1.Controls.Add(this.button1); this.gradientPanel1.Controls.Add(this.button2); this.gradientPanel1.Controls.Add(this.button3); this.gradientPanel1.Location = new System.Drawing.Point(849, 443); this.gradientPanel1.Name = "gradientPanel1"; this.gradientPanel1.Size = new System.Drawing.Size(149, 203); this.gradientPanel1.TabIndex = 6; // // checkBoxAdv1 // this.checkBoxAdv1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkBoxAdv1.BackColor = System.Drawing.Color.Transparent; this.checkBoxAdv1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBoxAdv1.ForeColor = System.Drawing.Color.DimGray; this.checkBoxAdv1.Location = new System.Drawing.Point(19, 135); this.checkBoxAdv1.Name = "checkBoxAdv1"; this.checkBoxAdv1.Size = new System.Drawing.Size(110, 23); this.checkBoxAdv1.TabIndex = 6; this.checkBoxAdv1.Text = "Disable Tracing"; this.checkBoxAdv1.UseVisualStyleBackColor = false; this.checkBoxAdv1.CheckedChanged += new System.EventHandler(this.checkBoxAdv1_CheckedChanged); this.checkBoxAdv1.CheckStateChanged += new System.EventHandler(this.checkBoxAdv1_CheckStateChanged); // // 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.gridGroupingControl1); this.panel1.Location = new System.Drawing.Point(0, 12); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1010, 640); this.panel1.TabIndex = 7; // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.gridGroupingControl1.DataMember = "Employees"; this.gridGroupingControl1.DataSource = this.dataset11; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyHeaderCell.Font = new GridFontInfo(new Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular)); this.gridGroupingControl1.TableDescriptor.Appearance.AnyHeaderCell.Font.Bold = true; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(0, -1); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(999, 425); this.gridGroupingControl1.TabIndex = 1; this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.301.0.0"; // // 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.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.Add(this.label1); this.panel2.Location = new System.Drawing.Point(4, 443); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(839, 203); this.panel2.TabIndex = 8; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 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.DimGray; this.label1.Location = new System.Drawing.Point(7, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(168, 16); this.label1.TabIndex = 10; this.label1.Text = "Event Log"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 653); this.MinimumSize = new System.Drawing.Size(850, 570); this.Controls.Add(this.panel2); this.Controls.Add(this.gradientPanel1); this.Controls.Add(this.panel1); this.Name = "Form1"; this.Text = "Elements View"; ((System.ComponentModel.ISupportInitialize)(this.dataset11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit(); this.gradientPanel1.ResumeLayout(false); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); this.panel2.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.Grouping.GridColumnDescriptor gridColumnDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor5 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor6 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor7 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor8 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor9 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor10 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor11 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor12 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor13 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor14 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); this.northwindDataSet1 = new SummaryInCaption.DataSet1(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection2 = new System.Data.SqlClient.SqlConnection(); this.sqlInsertCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlUpdateCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDeleteCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlDataAdapterOrders = new System.Data.SqlClient.SqlDataAdapter(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.panel2 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.SuspendLayout(); // // northwindDataSet1 // this.northwindDataSet1.DataSetName = "DataSet1"; this.northwindDataSet1.Locale = new System.Globalization.CultureInfo("en-US"); this.northwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.northwindDataSet1.Orders; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 9); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(725, 634); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; gridColumnDescriptor1.HeaderImage = null; gridColumnDescriptor1.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor1.MappingName = "OrderID"; gridColumnDescriptor1.SerializedImageArray = ""; gridColumnDescriptor2.HeaderImage = null; gridColumnDescriptor2.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor2.MappingName = "CustomerID"; gridColumnDescriptor2.SerializedImageArray = ""; gridColumnDescriptor3.HeaderImage = null; gridColumnDescriptor3.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor3.MappingName = "EmployeeID"; gridColumnDescriptor3.SerializedImageArray = ""; gridColumnDescriptor4.HeaderImage = null; gridColumnDescriptor4.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor4.HeaderText = "Order Date"; gridColumnDescriptor4.MappingName = "OrderDate"; gridColumnDescriptor4.SerializedImageArray = ""; gridColumnDescriptor5.HeaderImage = null; gridColumnDescriptor5.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor5.HeaderText = "Required Date"; gridColumnDescriptor5.MappingName = "RequiredDate"; gridColumnDescriptor5.SerializedImageArray = ""; gridColumnDescriptor6.HeaderImage = null; gridColumnDescriptor6.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor6.HeaderText = "Shipped Date"; gridColumnDescriptor6.MappingName = "ShippedDate"; gridColumnDescriptor6.SerializedImageArray = ""; gridColumnDescriptor7.HeaderImage = null; gridColumnDescriptor7.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor7.MappingName = "ShipVia"; gridColumnDescriptor7.SerializedImageArray = ""; gridColumnDescriptor8.HeaderImage = null; gridColumnDescriptor8.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor8.MappingName = "Freight"; gridColumnDescriptor8.SerializedImageArray = ""; gridColumnDescriptor9.HeaderImage = null; gridColumnDescriptor9.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor9.HeaderText = "Ship Name"; gridColumnDescriptor9.MappingName = "ShipName"; gridColumnDescriptor9.SerializedImageArray = ""; gridColumnDescriptor10.HeaderImage = null; gridColumnDescriptor10.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor10.HeaderText = "Ship Address"; gridColumnDescriptor10.MappingName = "ShipAddress"; gridColumnDescriptor10.SerializedImageArray = ""; gridColumnDescriptor11.HeaderImage = null; gridColumnDescriptor11.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor11.HeaderText = "Ship City"; gridColumnDescriptor11.MappingName = "ShipCity"; gridColumnDescriptor11.SerializedImageArray = ""; gridColumnDescriptor12.HeaderImage = null; gridColumnDescriptor12.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor12.HeaderText = "Ship Region"; gridColumnDescriptor12.MappingName = "ShipRegion"; gridColumnDescriptor12.SerializedImageArray = ""; gridColumnDescriptor13.HeaderImage = null; gridColumnDescriptor13.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor13.HeaderText = "Ship Postal Code"; gridColumnDescriptor13.MappingName = "ShipPostalCode"; gridColumnDescriptor13.SerializedImageArray = ""; gridColumnDescriptor14.HeaderImage = null; gridColumnDescriptor14.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor14.HeaderText = "Ship Country"; gridColumnDescriptor14.MappingName = "ShipCountry"; gridColumnDescriptor14.SerializedImageArray = ""; this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor1, gridColumnDescriptor2, gridColumnDescriptor3, gridColumnDescriptor4, gridColumnDescriptor5, gridColumnDescriptor6, gridColumnDescriptor7, gridColumnDescriptor8, gridColumnDescriptor9, gridColumnDescriptor10, gridColumnDescriptor11, gridColumnDescriptor12, gridColumnDescriptor13, gridColumnDescriptor14 }); this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 30; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 22; // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = "SELECT OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, Shi" + "pVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, Ship" + "Country FROM Orders"; this.sqlSelectCommand2.Connection = this.sqlConnection2; // // sqlConnection2 // this.sqlConnection2.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" + "es;persist security info=True;user id=sa;packet size=4096;Pooling=true"; this.sqlConnection2.FireInfoMessageEventOnUserErrors = false; // // sqlInsertCommand2 // this.sqlInsertCommand2.Connection = this.sqlConnection2; this.sqlInsertCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CustomerID", System.Data.SqlDbType.NVarChar, 5, "CustomerID"), new System.Data.SqlClient.SqlParameter("@EmployeeID", System.Data.SqlDbType.Int, 4, "EmployeeID"), new System.Data.SqlClient.SqlParameter("@OrderDate", System.Data.SqlDbType.DateTime, 8, "OrderDate"), new System.Data.SqlClient.SqlParameter("@RequiredDate", System.Data.SqlDbType.DateTime, 8, "RequiredDate"), new System.Data.SqlClient.SqlParameter("@ShippedDate", System.Data.SqlDbType.DateTime, 8, "ShippedDate"), new System.Data.SqlClient.SqlParameter("@ShipVia", System.Data.SqlDbType.Int, 4, "ShipVia"), new System.Data.SqlClient.SqlParameter("@Freight", System.Data.SqlDbType.Money, 8, "Freight"), new System.Data.SqlClient.SqlParameter("@ShipName", System.Data.SqlDbType.NVarChar, 40, "ShipName"), new System.Data.SqlClient.SqlParameter("@ShipAddress", System.Data.SqlDbType.NVarChar, 60, "ShipAddress"), new System.Data.SqlClient.SqlParameter("@ShipCity", System.Data.SqlDbType.NVarChar, 15, "ShipCity"), new System.Data.SqlClient.SqlParameter("@ShipRegion", System.Data.SqlDbType.NVarChar, 15, "ShipRegion"), new System.Data.SqlClient.SqlParameter("@ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, "ShipPostalCode"), new System.Data.SqlClient.SqlParameter("@ShipCountry", System.Data.SqlDbType.NVarChar, 15, "ShipCountry") }); // // sqlUpdateCommand2 // this.sqlUpdateCommand2.Connection = this.sqlConnection2; this.sqlUpdateCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@CustomerID", System.Data.SqlDbType.NVarChar, 5, "CustomerID"), new System.Data.SqlClient.SqlParameter("@EmployeeID", System.Data.SqlDbType.Int, 4, "EmployeeID"), new System.Data.SqlClient.SqlParameter("@OrderDate", System.Data.SqlDbType.DateTime, 8, "OrderDate"), new System.Data.SqlClient.SqlParameter("@RequiredDate", System.Data.SqlDbType.DateTime, 8, "RequiredDate"), new System.Data.SqlClient.SqlParameter("@ShippedDate", System.Data.SqlDbType.DateTime, 8, "ShippedDate"), new System.Data.SqlClient.SqlParameter("@ShipVia", System.Data.SqlDbType.Int, 4, "ShipVia"), new System.Data.SqlClient.SqlParameter("@Freight", System.Data.SqlDbType.Money, 8, "Freight"), new System.Data.SqlClient.SqlParameter("@ShipName", System.Data.SqlDbType.NVarChar, 40, "ShipName"), new System.Data.SqlClient.SqlParameter("@ShipAddress", System.Data.SqlDbType.NVarChar, 60, "ShipAddress"), new System.Data.SqlClient.SqlParameter("@ShipCity", System.Data.SqlDbType.NVarChar, 15, "ShipCity"), new System.Data.SqlClient.SqlParameter("@ShipRegion", System.Data.SqlDbType.NVarChar, 15, "ShipRegion"), new System.Data.SqlClient.SqlParameter("@ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, "ShipPostalCode"), new System.Data.SqlClient.SqlParameter("@ShipCountry", System.Data.SqlDbType.NVarChar, 15, "ShipCountry"), new System.Data.SqlClient.SqlParameter("@Original_OrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CustomerID", System.Data.SqlDbType.NVarChar, 5, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustomerID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_EmployeeID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "EmployeeID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Freight", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Freight", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_OrderDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderDate", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_RequiredDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "RequiredDate", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipAddress", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipAddress", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipCity", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCity", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipCountry", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCountry", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipPostalCode", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipRegion", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipRegion", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipVia", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipVia", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShippedDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShippedDate", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@OrderID", System.Data.SqlDbType.Int, 4, "OrderID") }); // // sqlDeleteCommand2 // this.sqlDeleteCommand2.Connection = this.sqlConnection2; this.sqlDeleteCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@Original_OrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_CustomerID", System.Data.SqlDbType.NVarChar, 5, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustomerID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_EmployeeID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "EmployeeID", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_Freight", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Freight", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_OrderDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderDate", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_RequiredDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "RequiredDate", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipAddress", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipAddress", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipCity", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCity", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipCountry", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCountry", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipName", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipPostalCode", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipRegion", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipRegion", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShipVia", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipVia", System.Data.DataRowVersion.Original, null), new System.Data.SqlClient.SqlParameter("@Original_ShippedDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShippedDate", System.Data.DataRowVersion.Original, null) }); // // sqlDataAdapterOrders // this.sqlDataAdapterOrders.DeleteCommand = this.sqlDeleteCommand2; this.sqlDataAdapterOrders.InsertCommand = this.sqlInsertCommand2; this.sqlDataAdapterOrders.SelectCommand = this.sqlSelectCommand2; this.sqlDataAdapterOrders.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Orders", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("OrderID", "OrderID"), new System.Data.Common.DataColumnMapping("CustomerID", "CustomerID"), new System.Data.Common.DataColumnMapping("EmployeeID", "EmployeeID"), new System.Data.Common.DataColumnMapping("OrderDate", "OrderDate"), new System.Data.Common.DataColumnMapping("RequiredDate", "RequiredDate"), new System.Data.Common.DataColumnMapping("ShippedDate", "ShippedDate"), new System.Data.Common.DataColumnMapping("ShipVia", "ShipVia"), new System.Data.Common.DataColumnMapping("Freight", "Freight"), new System.Data.Common.DataColumnMapping("ShipName", "ShipName"), new System.Data.Common.DataColumnMapping("ShipAddress", "ShipAddress"), new System.Data.Common.DataColumnMapping("ShipCity", "ShipCity"), new System.Data.Common.DataColumnMapping("ShipRegion", "ShipRegion"), new System.Data.Common.DataColumnMapping("ShipPostalCode", "ShipPostalCode"), new System.Data.Common.DataColumnMapping("ShipCountry", "ShipCountry") }) }); this.sqlDataAdapterOrders.UpdateCommand = this.sqlUpdateCommand2; // // 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.CommandsDisabledLinkColor = 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(749, 14); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this.gridGroupingControl1; this.propertyGrid1.Size = new System.Drawing.Size(252, 629); this.propertyGrid1.TabIndex = 12; // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel2.BackColor = System.Drawing.Color.LightGray; this.panel2.Location = new System.Drawing.Point(742, 22); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1, 609); this.panel2.TabIndex = 13; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 656); this.Controls.Add(this.panel2); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.gridGroupingControl1); this.MinimumSize = new System.Drawing.Size(800, 400); this.Name = "Form1"; this.Text = "Sort by Summary"; ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).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(); this.groupingGrid1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataSet21 = new HierarchySample.DataSet1(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.expandAllButton = new Syncfusion.Windows.Forms.ButtonAdv(); this.CollapseAllbutton = new Syncfusion.Windows.Forms.ButtonAdv(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.groupingGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet21)).BeginInit(); this.SuspendLayout(); // // groupingGrid1 // this.groupingGrid1.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.groupingGrid1.BackColor = System.Drawing.SystemColors.Window; this.groupingGrid1.FreezeCaption = false; this.groupingGrid1.Location = new System.Drawing.Point(0, 0); this.groupingGrid1.Name = "groupingGrid1"; this.groupingGrid1.Size = new System.Drawing.Size(730, 597); this.groupingGrid1.TabIndex = 1; this.groupingGrid1.Text = "groupingGrid1"; // // dataSet21 // this.dataSet21.DataSetName = "DataSet1"; this.dataSet21.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet21.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT ProductID, ProductName, SupplierID, CategoryID, QuantityPerUnit, UnitPrice" + ", UnitsInStock, UnitsOnOrder, ReorderLevel, Discontinued FROM Products"; this.sqlSelectCommand1.Connection = this.sqlConnection1; // // sqlConnection1 // this.sqlConnection1.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" + "es;persist security info=True;user id=sa;packet size=4096;Pooling=true"; this.sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // sqlDataAdapter1 // this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Products", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("ProductID", "ProductID"), new System.Data.Common.DataColumnMapping("ProductName", "ProductName"), new System.Data.Common.DataColumnMapping("SupplierID", "SupplierID"), new System.Data.Common.DataColumnMapping("CategoryID", "CategoryID"), new System.Data.Common.DataColumnMapping("QuantityPerUnit", "QuantityPerUnit"), new System.Data.Common.DataColumnMapping("UnitPrice", "UnitPrice"), new System.Data.Common.DataColumnMapping("UnitsInStock", "UnitsInStock"), new System.Data.Common.DataColumnMapping("UnitsOnOrder", "UnitsOnOrder"), new System.Data.Common.DataColumnMapping("ReorderLevel", "ReorderLevel"), new System.Data.Common.DataColumnMapping("Discontinued", "Discontinued") }) }); // // expandAllButton // this.expandAllButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.expandAllButton.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.expandAllButton.FlatStyle = FlatStyle.Flat; this.expandAllButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.expandAllButton.BeforeTouchSize = new System.Drawing.Size(121, 24); this.expandAllButton.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.expandAllButton.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.expandAllButton.ForeColor = System.Drawing.Color.White; this.expandAllButton.IsBackStageButton = false; this.expandAllButton.Location = new System.Drawing.Point(745, 612); this.expandAllButton.Name = "expandAllButton"; this.expandAllButton.Size = new System.Drawing.Size(121, 24); this.expandAllButton.TabIndex = 2; this.expandAllButton.Text = "Expand All"; this.expandAllButton.Click += new System.EventHandler(this.expandAllButton_Click); // // CollapseAllbutton // this.CollapseAllbutton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.CollapseAllbutton.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.CollapseAllbutton.FlatStyle = FlatStyle.Flat; this.CollapseAllbutton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.CollapseAllbutton.BeforeTouchSize = new System.Drawing.Size(120, 24); this.CollapseAllbutton.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.CollapseAllbutton.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.CollapseAllbutton.ForeColor = System.Drawing.Color.White; this.CollapseAllbutton.IsBackStageButton = false; this.CollapseAllbutton.Location = new System.Drawing.Point(880, 612); this.CollapseAllbutton.Name = "CollapseAllbutton"; this.CollapseAllbutton.Size = new System.Drawing.Size(120, 24); this.CollapseAllbutton.TabIndex = 2; this.CollapseAllbutton.Text = "Collapse All"; this.CollapseAllbutton.Click += new System.EventHandler(this.CollapseAllbutton_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.CommandsDisabledLinkColor = 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(745, 0); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(255, 597); this.propertyGrid1.TabIndex = 13; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 653); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.expandAllButton); this.Controls.Add(this.groupingGrid1); this.Controls.Add(this.CollapseAllbutton); this.MinimumSize = new System.Drawing.Size(800, 500); this.Name = "Form1"; this.Text = "Hierarchy "; ((System.ComponentModel.ISupportInitialize)(this.groupingGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet21)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.panel1 = new System.Windows.Forms.Panel(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.Color.White; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 6); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(480, 396); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Silver); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false; this.gridGroupingControl1.VersionInfo = "3.201.1.0"; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.ForeColor = System.Drawing.Color.DimGray; this.panel1.Location = new System.Drawing.Point(497, 24); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1, 370); this.panel1.TabIndex = 20; // // 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.CommandsDisabledLinkColor = 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(504, 6); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this.gridGroupingControl1; this.propertyGrid1.Size = new System.Drawing.Size(203, 396); this.propertyGrid1.TabIndex = 19; // // Form1 // this.ClientSize = new System.Drawing.Size(718, 419); this.Controls.Add(this.panel1); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.gridGroupingControl1); this.MinimumSize = new System.Drawing.Size(530, 376); this.Name = "Form1"; this.Text = "Sort By Display Member "; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.showFilter = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.EnableFilteredColIcon = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.filterMouseHover = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.showFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.EnableFilteredColIcon)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.filterMouseHover)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.ForeColor = System.Drawing.Color.MidnightBlue; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(8, 9); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(782, 635); this.gridGroupingControl1.TabIndex = 1; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = (int)DpiAware.LogicalToDeviceUnits(25.0f); this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = (int)DpiAware.LogicalToDeviceUnits(20.0f); this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))))); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.201.0.37"; // // showFilter // this.showFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.showFilter.DrawFocusRectangle = false; this.showFilter.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.showFilter.Location = new System.Drawing.Point(6, 30); this.showFilter.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.showFilter.Name = "showFilter"; this.showFilter.Size = new System.Drawing.Size(162, 28); this.showFilter.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.showFilter.DrawFocusRectangle = true; this.showFilter.TabIndex = 2; this.showFilter.Text = "Enable Office2007Filter"; this.showFilter.ThemesEnabled = false; this.showFilter.CheckStateChanged += new System.EventHandler(this.showFilter_CheckStateChanged); // // EnableFilteredColIcon // this.EnableFilteredColIcon.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.EnableFilteredColIcon.DrawFocusRectangle = false; this.EnableFilteredColIcon.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.EnableFilteredColIcon.Location = new System.Drawing.Point(7, 69); this.EnableFilteredColIcon.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.EnableFilteredColIcon.Name = "EnableFilteredColIcon"; this.EnableFilteredColIcon.Size = new System.Drawing.Size(184, 19); this.EnableFilteredColIcon.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.EnableFilteredColIcon.DrawFocusRectangle = true; this.EnableFilteredColIcon.TabIndex = 3; this.EnableFilteredColIcon.Text = "Enable Filtered Column Icon"; this.EnableFilteredColIcon.ThemesEnabled = false; this.EnableFilteredColIcon.CheckStateChanged += new System.EventHandler(this.EnableFilteredColIcon_CheckStateChanged); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.filterMouseHover); this.groupBox1.Controls.Add(this.showFilter); this.groupBox1.Controls.Add(this.EnableFilteredColIcon); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(800, 1); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(200, 162); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Filter Options"; // // filterMouseHover // this.filterMouseHover.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.filterMouseHover.Checked = true; this.filterMouseHover.CheckState = System.Windows.Forms.CheckState.Checked; this.filterMouseHover.DrawFocusRectangle = false; this.filterMouseHover.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.filterMouseHover.Location = new System.Drawing.Point(7, 100); this.filterMouseHover.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.filterMouseHover.Name = "filterMouseHover"; this.filterMouseHover.Size = new System.Drawing.Size(184, 28); this.filterMouseHover.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro; this.filterMouseHover.DrawFocusRectangle = true; this.filterMouseHover.TabIndex = 4; this.filterMouseHover.Text = "Show filter on MouseHover"; this.filterMouseHover.ThemesEnabled = false; this.filterMouseHover.CheckStateChanged += new System.EventHandler(this.filterMouseHover_CheckStateChanged); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1012, 656); this.MinimumSize = new System.Drawing.Size(900, 500); this.Controls.Add(this.groupBox1); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "MS Excel-Style Filter"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.showFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.EnableFilteredColIcon)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.filterMouseHover)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataset11 = new StylesAtGroupLevel_2003.Dataset1(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.Appearance.AnyGroupCell.Themed = false; this.gridGroupingControl1.Appearance.GroupCaptionCell.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(179)))), ((int)(((byte)(200)))))); this.gridGroupingControl1.Appearance.GroupCaptionCell.CellTipText = "GroupCaptionCell"; this.gridGroupingControl1.Appearance.GroupCaptionCell.Font.Bold = false; this.gridGroupingControl1.Appearance.GroupCaptionCell.Font.Facename = "Verdana"; this.gridGroupingControl1.Appearance.GroupCaptionCell.Font.Italic = false; this.gridGroupingControl1.Appearance.GroupCaptionCell.Font.Size = 8.25F; this.gridGroupingControl1.Appearance.GroupCaptionCell.Font.Strikeout = false; this.gridGroupingControl1.Appearance.GroupCaptionCell.Font.Underline = false; this.gridGroupingControl1.Appearance.GroupCaptionCell.Font.Unit = System.Drawing.GraphicsUnit.Point; this.gridGroupingControl1.Appearance.GroupCaptionCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(173)))), ((int)(((byte)(208))))), System.Drawing.Color.White); this.gridGroupingControl1.Appearance.GroupCaptionCell.TextColor = System.Drawing.Color.Black; this.gridGroupingControl1.Appearance.GroupCaptionCell.Themed = false; this.gridGroupingControl1.Appearance.GroupCaptionPlusMinusCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.PathRectangle, System.Drawing.SystemColors.Window, System.Drawing.Color.Pink); this.gridGroupingControl1.Appearance.GroupCaptionPlusMinusCell.Themed = true; this.gridGroupingControl1.Appearance.GroupCaptionRowHeaderCell.CellTipText = "GroupCaptionRowHeader"; this.gridGroupingControl1.Appearance.GroupCaptionRowHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.BackwardDiagonal, System.Drawing.SystemColors.Window, System.Drawing.Color.DarkOrange); this.gridGroupingControl1.Appearance.GroupCaptionRowHeaderCell.Themed = false; this.gridGroupingControl1.Appearance.GroupHeaderRowHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.SystemColors.Window, System.Drawing.Color.LightPink); this.gridGroupingControl1.Appearance.GroupHeaderRowHeaderCell.Themed = false; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Enabled = false; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Font.Bold = true; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Font.Facename = "Tahoma"; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Font.Italic = false; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Font.Size = 8.25F; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Font.Strikeout = false; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Font.Underline = false; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Font.Unit = System.Drawing.GraphicsUnit.Point; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(199)))), ((int)(((byte)(190)))))); this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.MergeCell = Syncfusion.Windows.Forms.Grid.GridMergeCellDirection.None; this.gridGroupingControl1.Appearance.GroupHeaderSectionCell.Themed = false; this.gridGroupingControl1.Appearance.GroupIndentLCell.AutoSize = true; this.gridGroupingControl1.Appearance.GroupIndentLCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.Moccasin); this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.DataMember = "Categories"; this.gridGroupingControl1.DataSource = this.dataset11; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(16, 16); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.NestedTableGroupOptions.ShowGroupHeader = false; this.gridGroupingControl1.ShowGroupDropArea = true; this.gridGroupingControl1.Size = new System.Drawing.Size(980, 624); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.ChildGroupOptions.ShowCaptionSummaryCells = false; this.gridGroupingControl1.TableDescriptor.ChildGroupOptions.ShowColumnHeaders = true; this.gridGroupingControl1.TableDescriptor.ChildGroupOptions.ShowGroupFooter = false; this.gridGroupingControl1.TableDescriptor.ChildGroupOptions.ShowGroupHeader = true; this.gridGroupingControl1.TableDescriptor.ChildGroupOptions.ShowGroupPreview = false; this.gridGroupingControl1.TableDescriptor.ChildGroupOptions.ShowGroupSummaryWhenCollapsed = false; this.gridGroupingControl1.TableDescriptor.GroupedColumns.AddRange(new Syncfusion.Grouping.SortColumnDescriptor[] { new Syncfusion.Grouping.SortColumnDescriptor("CategoryName", System.ComponentModel.ListSortDirection.Ascending), new Syncfusion.Grouping.SortColumnDescriptor("CategoryID", System.ComponentModel.ListSortDirection.Ascending) }); this.gridGroupingControl1.TableDescriptor.SortedColumns.AddRange(new Syncfusion.Grouping.SortColumnDescriptor[] { new Syncfusion.Grouping.SortColumnDescriptor("CategoryID", System.ComponentModel.ListSortDirection.Ascending) }); this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.TableDescriptor.TopLevelGroupOptions.ShowCaptionPlusMinus = false; this.gridGroupingControl1.TableDescriptor.TopLevelGroupOptions.ShowGroupHeader = false; this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))))); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = true; this.gridGroupingControl1.VersionInfo = "4.301.0.0"; // // dataset11 // this.dataset11.DataSetName = "Dataset1"; this.dataset11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 654); this.MinimumSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.Text = "Group Style"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).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.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(8, 9); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(759, 538); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.VersionInfo = "4.400.0.50"; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.groupBox1.ForeColor = System.Drawing.Color.DimGray; this.groupBox1.Location = new System.Drawing.Point(12, 562); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(988, 82); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Summary Details"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(48, 56); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(806, 24); this.label2.TabIndex = 1; this.label2.Text = "Summary Column \'Col4\' :"; // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(48, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(498, 23); this.label1.TabIndex = 0; this.label1.Text = "Summary Column \'Col2\' :"; // // 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.CommandsDisabledLinkColor = 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(777, 9); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this.gridGroupingControl1; this.propertyGrid1.Size = new System.Drawing.Size(223, 538); this.propertyGrid1.TabIndex = 15; // // Form1 // this.MinimumSize = new System.Drawing.Size(800, 400); this.ClientSize = new System.Drawing.Size(1012, 656); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.groupBox1); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.Text = "Weighted Summary"; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); 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() { this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataset11 = new StylesAtTableLevel_2003.Dataset1(); this.panel1 = new System.Windows.Forms.Panel(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.Appearance.ColumnHeaderCell.CellTipText = "ColumnHeader"; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Font.Bold = false; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Font.Facename = "Tahoma"; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Font.Italic = false; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Font.Size = 8.25F; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Font.Strikeout = false; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Font.Underline = false; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Font.Unit = System.Drawing.GraphicsUnit.Point; this.gridGroupingControl1.Appearance.ColumnHeaderCell.TextColor = System.Drawing.Color.Red; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(220)))), ((int)(((byte)(232))))), System.Drawing.Color.FromArgb(((int)(((byte)(106)))), ((int)(((byte)(111)))), ((int)(((byte)(151)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyHeaderCell.TextColor = Color.White; this.gridGroupingControl1.Appearance.ColumnHeaderCell.Themed = false; this.gridGroupingControl1.Appearance.GroupCaptionCell.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(159)))), ((int)(((byte)(153))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Medium); this.gridGroupingControl1.Appearance.GroupCaptionCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(228)))), ((int)(((byte)(224)))))); this.gridGroupingControl1.Appearance.GroupCaptionCell.Themed = false; this.gridGroupingControl1.Appearance.NestedTableCell.CellAppearance = Syncfusion.Windows.Forms.Grid.GridCellAppearance.Raised; this.gridGroupingControl1.Appearance.NestedTableCell.CellTipText = "OrderDetails"; this.gridGroupingControl1.Appearance.NestedTableCell.Font.Bold = true; this.gridGroupingControl1.Appearance.NestedTableCell.Font.Facename = "Arial"; this.gridGroupingControl1.Appearance.NestedTableCell.Font.Italic = false; this.gridGroupingControl1.Appearance.NestedTableCell.Font.Size = 8.25F; this.gridGroupingControl1.Appearance.NestedTableCell.Font.Strikeout = false; this.gridGroupingControl1.Appearance.NestedTableCell.Font.Underline = false; this.gridGroupingControl1.Appearance.NestedTableCell.Font.Unit = System.Drawing.GraphicsUnit.Point; this.gridGroupingControl1.Appearance.NestedTableCell.Format = ""; this.gridGroupingControl1.Appearance.NestedTableCell.ImageFromByteArray = true; this.gridGroupingControl1.Appearance.NestedTableCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(213)))), ((int)(((byte)(231)))))); this.gridGroupingControl1.Appearance.NestedTableCell.TextColor = System.Drawing.Color.Brown; this.gridGroupingControl1.Appearance.NestedTableCell.Themed = true; this.gridGroupingControl1.Appearance.NestedTableRowHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(213)))), ((int)(((byte)(231)))))); this.gridGroupingControl1.Appearance.NestedTableRowHeaderCell.Themed = false; this.gridGroupingControl1.Appearance.RecordFieldCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.Lavender); this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Font.Bold = true; this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Font.Facename = "Tahoma"; this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Font.Italic = false; this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Font.Size = 8.25F; this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Font.Strikeout = false; this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Font.Underline = false; this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Font.Unit = System.Drawing.GraphicsUnit.Point; this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.PathRectangle, System.Drawing.SystemColors.Window, System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(222)))))); this.gridGroupingControl1.Appearance.RecordPlusMinusCell.Themed = true; this.gridGroupingControl1.Appearance.RowHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.SystemColors.Window, System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(213)))), ((int)(((byte)(231)))))); this.gridGroupingControl1.Appearance.RowHeaderCell.Themed = false; this.gridGroupingControl1.Appearance.TopLeftHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.PathRectangle, System.Drawing.SystemColors.Window, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(228)))), ((int)(((byte)(221)))))); this.gridGroupingControl1.Appearance.TopLeftHeaderCell.Themed = false; this.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.DataMember = "Customers"; this.gridGroupingControl1.DataSource = this.dataset11; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.gridGroupingControl1.FreezeCaption = false; //this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; //this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(12, 12); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.Size = new System.Drawing.Size(776, 628); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; this.gridGroupingControl1.TableDescriptor.SortedColumns.AddRange(new Syncfusion.Grouping.SortColumnDescriptor[] { new Syncfusion.Grouping.SortColumnDescriptor("CompanyName", System.ComponentModel.ListSortDirection.Descending) }); this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 20; this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(220)))))); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.VersionInfo = "4.301.0.0"; // // dataset11 // this.dataset11.DataSetName = "Dataset1"; this.dataset11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.ForeColor = System.Drawing.Color.DimGray; this.panel1.Location = new System.Drawing.Point(792, 22); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1, 607); this.panel1.TabIndex = 22; // // 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.CommandsDisabledLinkColor = 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(799, 12); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this.gridGroupingControl1; this.propertyGrid1.Size = new System.Drawing.Size(203, 628); this.propertyGrid1.TabIndex = 21; // // Form1 // this.ClientSize = new System.Drawing.Size(1012, 654); this.MinimumSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.panel1); this.Controls.Add(this.propertyGrid1); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.Text = "Styles At Table Level"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataset11)).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(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.button1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.buttonAdv1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.buttonAdv2 = new Syncfusion.Windows.Forms.ButtonAdv(); this.groupBox1 = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.ChildGroupOptions.ShowCaption = false; this.gridGroupingControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.Location = new System.Drawing.Point(10, 12); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.NestedTableGroupOptions.ShowCaption = false; this.gridGroupingControl1.Size = new System.Drawing.Size(798, 631); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 25; this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))))); this.gridGroupingControl1.Text = "gridGroupingControl1"; this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false; // // 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(160, 34); this.button1.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.button1.FlatStyle = FlatStyle.Flat; this.button1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.ForeColor = System.Drawing.Color.White; this.button1.IsBackStageButton = false; this.button1.Location = new System.Drawing.Point(841, 250); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(160, 34); this.button1.TabIndex = 5; this.button1.Text = "Export to Word Document"; // // buttonAdv1 // this.buttonAdv1.Anchor = System.Windows.Forms.AnchorStyles.Right; this.buttonAdv1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.buttonAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.buttonAdv1.BeforeTouchSize = new System.Drawing.Size(154, 31); this.buttonAdv1.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.buttonAdv1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonAdv1.ForeColor = System.Drawing.Color.White; this.buttonAdv1.IsBackStageButton = false; this.buttonAdv1.Location = new System.Drawing.Point(12, 87); this.buttonAdv1.Name = "buttonAdv1"; this.buttonAdv1.Size = new System.Drawing.Size(154, 31); this.buttonAdv1.TabIndex = 4; this.buttonAdv1.Text = "Collapse All"; this.buttonAdv1.UseVisualStyle = true; this.buttonAdv1.UseVisualStyleBackColor = true; // // buttonAdv2 // this.buttonAdv2.Anchor = System.Windows.Forms.AnchorStyles.Right; this.buttonAdv2.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.buttonAdv2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.buttonAdv2.BeforeTouchSize = new System.Drawing.Size(154, 31); this.buttonAdv2.BorderStyleAdv = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner; this.buttonAdv2.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonAdv2.ForeColor = System.Drawing.Color.White; this.buttonAdv2.IsBackStageButton = false; this.buttonAdv2.Location = new System.Drawing.Point(12, 33); this.buttonAdv2.Name = "buttonAdv2"; this.buttonAdv2.Size = new System.Drawing.Size(154, 31); this.buttonAdv2.TabIndex = 3; this.buttonAdv2.Text = "Expand All"; this.buttonAdv2.UseVisualStyle = true; this.buttonAdv2.UseVisualStyleBackColor = true; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.buttonAdv2); this.groupBox1.Controls.Add(this.buttonAdv1); this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(829, 43); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(175, 148); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "Expand Options"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 653); this.Controls.Add(this.groupBox1); this.Controls.Add(this.button1); this.Controls.Add(this.gridGroupingControl1); this.MinimumSize = new System.Drawing.Size(800, 400); this.Name = "Form1"; this.Text = "Word Converter"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); 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.Grouping.GridColumnDescriptor gridColumnDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor5 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor6 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor7 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor8 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor9 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor10 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor11 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor12 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor13 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor14 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor(); this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl(); this.dataSet11 = new SummaryTutorial.DataSet1(); ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); this.SuspendLayout(); // // gridGroupingControl1 // this.gridGroupingControl1.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.gridGroupingControl1.BackColor = System.Drawing.SystemColors.Window; this.gridGroupingControl1.DataSource = this.dataSet11.Orders; this.gridGroupingControl1.FreezeCaption = false; this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; this.gridGroupingControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro; this.gridGroupingControl1.Location = new System.Drawing.Point(3, 0); this.gridGroupingControl1.Name = "gridGroupingControl1"; this.gridGroupingControl1.Size = new System.Drawing.Size(1007, 655); this.gridGroupingControl1.TabIndex = 0; this.gridGroupingControl1.TableDescriptor.AllowNew = false; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename = "Segoe UI"; this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138))))); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.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); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin); this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208)))))); this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold = true; this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType = "ColumnHeader"; gridColumnDescriptor1.HeaderImage = null; gridColumnDescriptor1.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor1.MappingName = "CustomerID"; gridColumnDescriptor1.SerializedImageArray = ""; gridColumnDescriptor2.HeaderImage = null; gridColumnDescriptor2.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor2.MappingName = "EmployeeID"; gridColumnDescriptor2.SerializedImageArray = ""; gridColumnDescriptor3.HeaderImage = null; gridColumnDescriptor3.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor3.MappingName = "Freight"; gridColumnDescriptor3.SerializedImageArray = ""; gridColumnDescriptor4.HeaderImage = null; gridColumnDescriptor4.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor4.HeaderText = "Order Date"; gridColumnDescriptor4.MappingName = "OrderDate"; gridColumnDescriptor4.SerializedImageArray = ""; gridColumnDescriptor5.HeaderImage = null; gridColumnDescriptor5.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor5.MappingName = "OrderID"; gridColumnDescriptor5.SerializedImageArray = ""; gridColumnDescriptor6.HeaderImage = null; gridColumnDescriptor6.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor6.HeaderText = "Required Date"; gridColumnDescriptor6.MappingName = "RequiredDate"; gridColumnDescriptor6.SerializedImageArray = ""; gridColumnDescriptor7.HeaderImage = null; gridColumnDescriptor7.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor7.HeaderText = "Ship Address"; gridColumnDescriptor7.MappingName = "ShipAddress"; gridColumnDescriptor7.SerializedImageArray = ""; gridColumnDescriptor8.HeaderImage = null; gridColumnDescriptor8.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor8.HeaderText = "Ship City"; gridColumnDescriptor8.MappingName = "ShipCity"; gridColumnDescriptor8.SerializedImageArray = ""; gridColumnDescriptor9.HeaderImage = null; gridColumnDescriptor9.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor9.HeaderText = "Ship Country"; gridColumnDescriptor9.MappingName = "ShipCountry"; gridColumnDescriptor9.SerializedImageArray = ""; gridColumnDescriptor10.HeaderImage = null; gridColumnDescriptor10.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor10.HeaderText = "Ship Name"; gridColumnDescriptor10.MappingName = "ShipName"; gridColumnDescriptor10.SerializedImageArray = ""; gridColumnDescriptor11.HeaderImage = null; gridColumnDescriptor11.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor11.HeaderText = "Shipped Date"; gridColumnDescriptor11.MappingName = "ShippedDate"; gridColumnDescriptor11.SerializedImageArray = ""; gridColumnDescriptor12.HeaderImage = null; gridColumnDescriptor12.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor12.HeaderText = "Ship Postal Code"; gridColumnDescriptor12.MappingName = "ShipPostalCode"; gridColumnDescriptor12.SerializedImageArray = ""; gridColumnDescriptor13.HeaderImage = null; gridColumnDescriptor13.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor13.HeaderText = "Ship Region"; gridColumnDescriptor13.MappingName = "ShipRegion"; gridColumnDescriptor13.SerializedImageArray = ""; gridColumnDescriptor14.HeaderImage = null; gridColumnDescriptor14.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left; gridColumnDescriptor14.HeaderText = "Ship Via"; gridColumnDescriptor14.MappingName = "ShipVia"; gridColumnDescriptor14.SerializedImageArray = ""; this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] { gridColumnDescriptor1, gridColumnDescriptor2, gridColumnDescriptor3, gridColumnDescriptor4, gridColumnDescriptor5, gridColumnDescriptor6, gridColumnDescriptor7, gridColumnDescriptor8, gridColumnDescriptor9, gridColumnDescriptor10, gridColumnDescriptor11, gridColumnDescriptor12, gridColumnDescriptor13, gridColumnDescriptor14 }); this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 32; this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight = 22; this.gridGroupingControl1.Text = "gridGroupingControl1"; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.Locale = new System.Globalization.CultureInfo("en-US"); this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // Form1 // this.MinimumSize = new System.Drawing.Size(800, 400); this.ClientSize = new System.Drawing.Size(1012, 656); this.Controls.Add(this.gridGroupingControl1); this.Name = "Form1"; this.Text = "Group Summary "; ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); this.ResumeLayout(false); }