Exemple #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.comboBoxBase1     = new Syncfusion.Windows.Forms.Tools.ComboBoxBase();
     this.gridListControl1  = new Syncfusion.Windows.Forms.Grid.GridListControl();
     this.dataSet11         = new ComboBoxBaseGridDemo.DataSet1();
     this.propertyGrid1     = new System.Windows.Forms.PropertyGrid();
     this.groupBox2         = new System.Windows.Forms.GroupBox();
     this.textLog           = new System.Windows.Forms.TextBox();
     this.Label1            = new System.Windows.Forms.Label();
     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.comboDropDown1    = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxBase1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboDropDown1)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.comboBoxBase1);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location  = new System.Drawing.Point(27, 69);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(292, 56);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "ComboBoxBase";
     //
     // comboBoxBase1
     //
     this.comboBoxBase1.Anchor                    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxBase1.BackColor                 = System.Drawing.Color.White;
     this.comboBoxBase1.BeforeTouchSize           = new System.Drawing.Size(260, 21);
     this.comboBoxBase1.DropDownWidth             = 320;
     this.comboBoxBase1.Font                      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxBase1.ListControl               = this.gridListControl1;
     this.comboBoxBase1.Location                  = new System.Drawing.Point(16, 24);
     this.comboBoxBase1.Name                      = "comboBoxBase1";
     this.comboBoxBase1.Size                      = new System.Drawing.Size(260, 21);
     this.comboBoxBase1.Style                     = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBoxBase1.TabIndex                  = 0;
     this.comboBoxBase1.DropDownCloseOnClick     += new Syncfusion.Windows.Forms.Tools.MouseClickCancelEventHandler(this.comboBoxBase1_DropDownCloseOnClick);
     this.comboBoxBase1.DropDown                 += new System.EventHandler(this.comboBoxBase1_DropDown);
     this.comboBoxBase1.SelectionChangeCommitted += new System.EventHandler(this.comboBoxBase1_SelectionChangeCommitted);
     this.comboBoxBase1.TextChanged              += new System.EventHandler(this.comboBoxBase1_TextChanged);
     this.comboBoxBase1.Validating               += new System.ComponentModel.CancelEventHandler(this.comboBoxBase1_Validating);
     this.comboBoxBase1.Validated                += new System.EventHandler(this.comboBoxBase1_Validated);
     //
     // gridListControl1
     //
     this.gridListControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridListControl1.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.gridListControl1.BackColor                        = System.Drawing.Color.White;
     this.gridListControl1.BorderStyle                      = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridListControl1.DataSource                       = this.dataSet11.Products;
     this.gridListControl1.DisplayMember                    = "ProductName";
     this.gridListControl1.GridVisualStyles                 = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridListControl1.ItemHeight                       = 22;
     this.gridListControl1.Location                         = new System.Drawing.Point(43, 131);
     this.gridListControl1.MultiColumn                      = true;
     this.gridListControl1.Name                             = "gridListControl1";
     this.gridListControl1.Properties.BackgroundColor       = System.Drawing.SystemColors.Window;
     this.gridListControl1.Properties.ForceImmediateRepaint = false;
     this.gridListControl1.Properties.MarkColHeader         = false;
     this.gridListControl1.Properties.MarkRowHeader         = false;
     this.gridListControl1.SelectedIndex                    = -1;
     this.gridListControl1.Size                             = new System.Drawing.Size(416, 274);
     this.gridListControl1.SupportsTransparentBackColor     = true;
     this.gridListControl1.TabIndex                         = 3;
     this.gridListControl1.ThemesEnabled                    = true;
     this.gridListControl1.TopIndex                         = 0;
     this.gridListControl1.ValueMember                      = "ProductID";
     //
     // 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.LineColor = System.Drawing.SystemColors.Window;
     this.propertyGrid1.Location  = new System.Drawing.Point(578, 50);
     this.propertyGrid1.Name      = "propertyGrid1";
     this.propertyGrid1.Size      = new System.Drawing.Size(200, 303);
     this.propertyGrid1.TabIndex  = 1;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.textLog);
     this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox2.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.Location  = new System.Drawing.Point(24, 211);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(548, 144);
     this.groupBox2.TabIndex  = 4;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Event Log:";
     //
     // textLog
     //
     this.textLog.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.textLog.Font       = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textLog.Location   = new System.Drawing.Point(3, 18);
     this.textLog.Multiline  = true;
     this.textLog.Name       = "textLog";
     this.textLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textLog.Size       = new System.Drawing.Size(542, 123);
     this.textLog.TabIndex   = 0;
     //
     // Label1
     //
     this.Label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.Label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Label1.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     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(27, 16);
     this.Label1.Name        = "Label1";
     this.Label1.Size        = new System.Drawing.Size(476, 48);
     this.Label1.TabIndex    = 6;
     this.Label1.Text        = "The ComboBoxBase control shown below, is bound to a GridListControl which is bein" +
                               "g used in the drop-down. Properties of both controls can be modified using the P" +
                               "ropertyGrid to the right hand side.";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     //
     // 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;
     //
     // 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("@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")
     });
     //
     // 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("@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")
     });
     //
     // 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_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)
     });
     //
     // 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", "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.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
     //
     // comboDropDown1
     //
     this.comboDropDown1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.comboDropDown1.BackColor              = System.Drawing.Color.White;
     this.comboDropDown1.BeforeTouchSize        = new System.Drawing.Size(200, 21);
     this.comboDropDown1.Font                   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboDropDown1.Location               = new System.Drawing.Point(578, 16);
     this.comboDropDown1.Name                   = "comboDropDown1";
     this.comboDropDown1.Size                   = new System.Drawing.Size(200, 21);
     this.comboDropDown1.Style                  = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboDropDown1.TabIndex               = 7;
     this.comboDropDown1.SelectedIndexChanging += new Syncfusion.Windows.Forms.Tools.SelectedIndexChangingHandler(this.comboDropDown1_SelectedIndexChanging);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(788, 393);
     this.Controls.Add(this.comboDropDown1);
     this.Controls.Add(this.gridListControl1);
     this.Controls.Add(this.propertyGrid1);
     this.Controls.Add(this.Label1);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.groupBox2);
     this.MinimumSize = new System.Drawing.Size(600, 400);
     this.Name        = "Form1";
     this.Text        = "&";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxBase1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboDropDown1)).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.GridRangeStyle gridRangeStyle1 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
     this.comboBox2        = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.comboBox1        = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.label2           = new System.Windows.Forms.Label();
     this.label1           = new System.Windows.Forms.Label();
     this.grid             = new System.Windows.Forms.GroupBox();
     this.gridControl1     = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.gridListControl1 = new Syncfusion.Windows.Forms.Grid.GridListControl();
     this.gridList         = new System.Windows.Forms.GroupBox();
     this.parent           = new System.Windows.Forms.GroupBox();
     this.styles           = new System.Windows.Forms.GroupBox();
     this.label3           = new System.Windows.Forms.Label();
     this.label4           = new System.Windows.Forms.Label();
     this.label5           = new System.Windows.Forms.Label();
     this.label6           = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
     this.grid.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListControl1)).BeginInit();
     this.gridList.SuspendLayout();
     this.parent.SuspendLayout();
     this.styles.SuspendLayout();
     this.SuspendLayout();
     //
     // comboBox2
     //
     this.comboBox2.BackColor       = System.Drawing.Color.White;
     this.comboBox2.BeforeTouchSize = new System.Drawing.Size(159, 23);
     this.comboBox2.Font            = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.Items.AddRange(new object[] {
         "Office2007Blue",
         "Office2007Black",
         "Office2007Silver",
         "Office2010Blue",
         "Office2010Black",
         "Office2010Silver",
         "Office2016Black",
         "Office2016White",
         "Office2016Colorful",
         "Office2016DarkGray"
     });
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2007Blue"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2007Black"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2007Silver"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2010Blue"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2010Black"));
     this.comboBox2.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox2, "Office2010Silver"));
     this.comboBox2.Location              = new System.Drawing.Point(119, 75);
     this.comboBox2.MetroColor            = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.comboBox2.Name                  = "comboBox2";
     this.comboBox2.Size                  = new System.Drawing.Size(159, 23);
     this.comboBox2.Style                 = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox2.TabIndex              = 3;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // comboBox1
     //
     this.comboBox1.BackColor       = System.Drawing.Color.White;
     this.comboBox1.BeforeTouchSize = new System.Drawing.Size(159, 23);
     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[] {
         "Parent Container",
         "GridControl",
         "GridListControl"
     });
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "Parent Container"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "GridControl"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "GridListControl"));
     this.comboBox1.Location              = new System.Drawing.Point(119, 37);
     this.comboBox1.MetroColor            = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(159, 23);
     this.comboBox1.Style                 = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox1.TabIndex              = 2;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label2
     //
     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(17, 80);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(78, 15);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Visual Theme";
     //
     // label1
     //
     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(14, 39);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(84, 15);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Parent Control";
     //
     // grid
     //
     this.grid.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.grid.Controls.Add(this.gridControl1);
     this.grid.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grid.Location = new System.Drawing.Point(20, 24);
     this.grid.Name     = "grid";
     this.grid.Size     = new System.Drawing.Size(640, 424);
     this.grid.TabIndex = 5;
     this.grid.TabStop  = false;
     this.grid.Text     = "GridControl";
     //
     // gridControl1
     //
     this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount               = 15;
     this.gridControl1.DefaultColWidth        = 90;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.DefaultRowHeight       = 20;
     this.gridControl1.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.gridControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.Location             = new System.Drawing.Point(17, 30);
     this.gridControl1.MetroScrollBars      = true;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Properties.ForceImmediateRepaint = false;
     this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     gridRangeStyle1.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
     gridRangeStyle1.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     gridRangeStyle1.StyleInfo.Borders.Right  = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     gridRangeStyle1.StyleInfo.Font.Bold      = false;
     gridRangeStyle1.StyleInfo.Font.Facename  = "Segoe UI";
     gridRangeStyle1.StyleInfo.Font.Italic    = false;
     gridRangeStyle1.StyleInfo.Font.Size      = 9F;
     gridRangeStyle1.StyleInfo.Font.Strikeout = false;
     gridRangeStyle1.StyleInfo.Font.Underline = false;
     gridRangeStyle1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
         gridRangeStyle1
     });
     this.gridControl1.RowCount = 20;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size          = new System.Drawing.Size(607, 371);
     this.gridControl1.SmartSizeBox  = false;
     this.gridControl1.TabIndex      = 0;
     this.gridControl1.Text          = "gridControl1";
     this.gridControl1.ThemesEnabled = true;
     this.gridControl1.UseRightToLeftCompatibleTextBox = true;
     //
     // gridListControl1
     //
     this.gridListControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridListControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.gridListControl1.BackColor                        = System.Drawing.SystemColors.Control;
     this.gridListControl1.BorderStyle                      = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridListControl1.GridVisualStyles                 = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridListControl1.ItemHeight                       = 20;
     this.gridListControl1.Location                         = new System.Drawing.Point(17, 22);
     this.gridListControl1.MultiColumn                      = false;
     this.gridListControl1.Name                             = "gridListControl1";
     this.gridListControl1.Properties.BackgroundColor       = System.Drawing.SystemColors.Window;
     this.gridListControl1.Properties.ForceImmediateRepaint = false;
     this.gridListControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
     this.gridListControl1.Properties.MarkColHeader         = false;
     this.gridListControl1.Properties.MarkRowHeader         = false;
     this.gridListControl1.SelectedIndex                    = -1;
     this.gridListControl1.Size                             = new System.Drawing.Size(607, 101);
     this.gridListControl1.TabIndex                         = 1;
     this.gridListControl1.ThemesEnabled                    = true;
     this.gridListControl1.TopIndex                         = 0;
     //
     // gridList
     //
     this.gridList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.gridList.Controls.Add(this.gridListControl1);
     this.gridList.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridList.Location = new System.Drawing.Point(20, 471);
     this.gridList.Name     = "gridList";
     this.gridList.Size     = new System.Drawing.Size(640, 136);
     this.gridList.TabIndex = 6;
     this.gridList.TabStop  = false;
     this.gridList.Text     = "GridListControl";
     //
     // parent
     //
     this.parent.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.parent.Controls.Add(this.grid);
     this.parent.Controls.Add(this.gridList);
     this.parent.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parent.ForeColor = System.Drawing.Color.Black;
     this.parent.Location  = new System.Drawing.Point(12, 12);
     this.parent.Name      = "parent";
     this.parent.Size      = new System.Drawing.Size(673, 618);
     this.parent.TabIndex  = 7;
     this.parent.TabStop   = false;
     this.parent.Text      = "Parent Container";
     //
     // styles
     //
     this.styles.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.styles.BackColor = System.Drawing.Color.White;
     this.styles.Controls.Add(this.comboBox2);
     this.styles.Controls.Add(this.comboBox1);
     this.styles.Controls.Add(this.label2);
     this.styles.Controls.Add(this.label1);
     this.styles.Font     = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.styles.Location = new System.Drawing.Point(712, 36);
     this.styles.Name     = "styles";
     this.styles.Size     = new System.Drawing.Size(295, 133);
     this.styles.TabIndex = 4;
     this.styles.TabStop  = false;
     this.styles.Text     = "Apply Styles Here";
     //
     // label3
     //
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.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.label3.Location = new System.Drawing.Point(709, 207);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(298, 29);
     this.label3.TabIndex = 8;
     this.label3.Text     = "This sample demonstrates the implementation of SkinManager in GridControl and Gri" +
                            "dListControl.";
     //
     // 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", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(709, 251);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(281, 30);
     this.label4.TabIndex = 9;
     this.label4.Text     = "You can apply themes to a collection of controls within a container just with a s" +
                            "ingle component call.";
     //
     // label5
     //
     this.label5.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label5.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(709, 294);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(310, 36);
     this.label5.TabIndex = 10;
     this.label5.Text     = "Below is the code used to set themes to all controls within the GroupBox \'ParentC" +
                            "ontainer\'";
     //
     // label6
     //
     this.label6.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     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.ForeColor = System.Drawing.Color.DarkOrange;
     this.label6.Location  = new System.Drawing.Point(720, 343);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(287, 23);
     this.label6.TabIndex  = 11;
     this.label6.Text      = "SkinManager.SetVisualStyle(this, \"Office2010Blue\");";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1012, 643);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.styles);
     this.Controls.Add(this.parent);
     this.MinimumSize = new System.Drawing.Size(800, 450);
     this.Name        = "Form1";
     this.Text        = "SkinManager";
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
     this.grid.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridListControl1)).EndInit();
     this.gridList.ResumeLayout(false);
     this.parent.ResumeLayout(false);
     this.styles.ResumeLayout(false);
     this.styles.PerformLayout();
     this.ResumeLayout(false);
 }