private void GridListHandleSelectionChanged(GridListControl gridList) { if (gridList.SelectedIndex < 0) { return; } if (_listOfKasbon.Count > 0) { var kasbon = _listOfKasbon[gridList.SelectedIndex]; if (kasbon != null) { _listOfHistoriPembayaranKasbon = kasbon.item_pembayaran_kasbon; GridListControlHelper.Refresh <PembayaranKasbon>(this.gridListHistoriPembayaran, _listOfHistoriPembayaranKasbon); btnTambahPembayaran.Enabled = kasbon.sisa > 0; GridListHistoriPembayaranHandleSelectionChanged(this.gridListHistoriPembayaran); } } else { _listOfHistoriPembayaranKasbon.Clear(); GridListControlHelper.Refresh <PembayaranKasbon>(this.gridListHistoriPembayaran, _listOfHistoriPembayaranKasbon); ResetButtonHistoriPembayaran(false); } }
private void HandleSelectionChanged(GridListControl gridList) { if (gridList.SelectedIndex < 0) { return; } var role = _listOfRole[gridList.SelectedIndex]; EnabledObject(true); lblRole.Text = "Hak akses : "; if (role != null) { if (IsAdministrator(role.nama_role)) { EnabledObject(false); } lblRole.Text = string.Format("Hak akses : {0}", role.nama_role); IRolePrivilegeBll rolePrivilegeBll = new RolePrivilegeBll(_log); _listOfRolePrivilege = rolePrivilegeBll.GetByRole(role.role_id); foreach (TreeNodeAdv node in treeViewAdv.Nodes) { CheckRecursive(node, false); } } }
public static void Refresh <T>(GridListControl gridControl, IList <T> record) { gridControl.Grid.Model.RowCount = record.Count; gridControl.Refresh(); if (record.Count > 0) { gridControl.SetSelected(0, true); } }
public static void Refresh <T>(GridListControl gridControl, IList <T> record, int additionalRowCount = 0) { gridControl.Grid.Model.RowCount = record.Count + additionalRowCount; gridControl.Refresh(); if (record.Count > 0) { gridControl.SetSelected(additionalRowCount, true); } }
public static void AddObject <T>(GridListControl gridControl, IList <T> record, T obj, bool isLastRowFocus = true) { record.Add(obj); gridControl.Grid.Model.RowCount = record.Count; gridControl.Refresh(); if (isLastRowFocus) { gridControl.SetSelected(gridControl.Grid.RowCount - 1, true); } }
public static void RemoveObject <T>(GridListControl gridControl, IList <T> record, T obj) { record.Remove(obj); gridControl.Grid.Model.RowCount = record.Count; gridControl.Refresh(); if (record.Count > 0 && gridControl.SelectedIndex != 0) { gridControl.SetSelected(gridControl.SelectedIndex - 1, true); } }
private void GridListHistoriPembayaranHandleSelectionChanged(GridListControl gridList) { if (gridList.SelectedIndex < 0) { return; } if (_listOfHistoriPembayaranKasbon.Count > 0) { ResetButtonHistoriPembayaran(true); var pembayaranKasbon = _listOfHistoriPembayaranKasbon[gridList.SelectedIndex]; if (pembayaranKasbon != null) { // nonaktifkan tombol edit dan hapus jika pembayaran kasbon dari gaji ResetButtonHistoriPembayaran(pembayaranKasbon.gaji_karyawan_id == null); } } }
public static void InitializeGridListControl <T>(GridListControl gridControl, IList <T> record, IList <GridListControlProperties> oglProperty, bool addRowNumber = true, int rowHeight = 25) { gridControl.ShowColumnHeader = true; gridControl.MultiColumn = true; gridControl.Grid.Model.EnableLegacyStyle = false; gridControl.ThemesEnabled = true; gridControl.FillLastColumn = true; gridControl.BorderStyle = BorderStyle.FixedSingle; gridControl.Grid.GridVisualStyles = GridVisualStyles.Office2010Silver; gridControl.Grid.Model.RowCount = record.Count; gridControl.BackColor = Color.White; gridControl.Grid.Model.RowHeights[0] = rowHeight; var colIndex = 1; foreach (var item in oglProperty) { gridControl.Grid.Model.ColWidths[colIndex] = item.Width; colIndex++; } // set header gridControl.Grid.PrepareViewStyleInfo += delegate(object sender, GridPrepareViewStyleInfoEventArgs e) { if (e.ColIndex > 0 && e.RowIndex == 0) { colIndex = 1; foreach (var item in oglProperty) { if (colIndex == e.ColIndex) { e.Style.Text = item.Header; } colIndex++; } } }; // set col count gridControl.Grid.QueryColCount += delegate(object sender, Syncfusion.Windows.Forms.Grid.GridRowColCountEventArgs e) { e.Count = oglProperty.Count; e.Handled = true; }; if (addRowNumber) { gridControl.Grid.QueryCellInfo += delegate(object sender, GridQueryCellInfoEventArgs e) { // Make sure the cell falls inside the grid if (e.RowIndex > 0) { if (e.RowIndex % 2 == 0) { e.Style.BackColor = ColorCollection.BACK_COLOR_ALTERNATE; } else { e.Style.BackColor = Color.White; } colIndex = 1; foreach (var item in oglProperty) { if (colIndex == e.ColIndex) { if (colIndex == 1) // no urut { e.Style.HorizontalAlignment = GridHorizontalAlignment.Center; e.Style.CellValue = e.RowIndex; } else { e.Style.HorizontalAlignment = item.HorizontalAlignment; } } colIndex++; } // we handled it, let the grid know e.Handled = true; } }; } }
public static void UpdateObject <T>(GridListControl gridControl, IList <T> record, T obj) { record[gridControl.SelectedIndex] = obj; gridControl.Refresh(); }
public static void UpdateObject <T>(GridListControl gridControl, IList <T> record, T obj, int additionalRowCount = 0) { record[gridControl.SelectedIndex - additionalRowCount] = obj; gridControl.Refresh(); }
/// <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.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.pictureBox5 = new System.Windows.Forms.PictureBox(); this.pictureBox6 = new System.Windows.Forms.PictureBox(); this.pictureBox7 = new System.Windows.Forms.PictureBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); 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(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridListControl(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox3.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.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); this.SuspendLayout(); // // 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(13, 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.pictureBox_MouseClick); this.pictureBox1.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox1.MouseHover += new System.EventHandler(this.pictureBox_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(48, 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.pictureBox_MouseClick); this.pictureBox2.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox2.MouseHover += new System.EventHandler(this.pictureBox_MouseHover); // // 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(84, 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.pictureBox_MouseClick); this.pictureBox3.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox3.MouseHover += new System.EventHandler(this.pictureBox_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(120, 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.pictureBox_MouseClick); this.pictureBox4.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox4.MouseHover += new System.EventHandler(this.pictureBox_MouseHover); // // 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(152, 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.pictureBox_MouseClick); this.pictureBox5.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox5.MouseHover += new System.EventHandler(this.pictureBox_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(188, 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.pictureBox_MouseClick); this.pictureBox6.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox6.MouseHover += new System.EventHandler(this.pictureBox_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(223, 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.pictureBox_MouseClick); this.pictureBox7.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox7.MouseHover += new System.EventHandler(this.pictureBox_MouseHover); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.groupBox3); this.groupBox1.Controls.Add(this.groupBox2); 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(624, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(376, 629); this.groupBox1.TabIndex = 7; this.groupBox1.TabStop = false; this.groupBox1.Text = "GridListControl"; // // 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(46, 472); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(214, 13); this.label8.TabIndex = 15; this.label8.Text = "\"Grid.Model.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(34, 345); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(261, 90); this.label7.TabIndex = 14; 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."; // // 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.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.label2.Location = new System.Drawing.Point(34, 292); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(261, 190); this.label2.TabIndex = 13; this.label2.Text = "This sample features the GridListControl with the new colorscheme used for the Co" + "lorStyles. "; // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 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.label1); this.groupBox3.Controls.Add(this.panel1); this.groupBox3.Controls.Add(this.pictureBox5); this.groupBox3.Controls.Add(this.panel2); 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(36, 21); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(259, 136); this.groupBox3.TabIndex = 11; this.groupBox3.TabStop = false; this.groupBox3.Text = "Styles"; // // 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(13, 70); this.pictureBox8.Name = "pictureBox8"; this.pictureBox8.Size = new System.Drawing.Size(30, 30); this.pictureBox8.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox8.TabIndex = 17; this.pictureBox8.TabStop = false; this.pictureBox8.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseClick); this.pictureBox8.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox8.MouseHover += new System.EventHandler(this.pictureBox_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 = 15; this.pictureBox9.TabStop = false; this.pictureBox9.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseClick); this.pictureBox9.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox9.MouseHover += new System.EventHandler(this.pictureBox_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(84, 70); this.pictureBox10.Name = "pictureBox10"; this.pictureBox10.Size = new System.Drawing.Size(30, 30); this.pictureBox10.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox10.TabIndex = 16; this.pictureBox10.TabStop = false; this.pictureBox10.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseClick); this.pictureBox10.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox10.MouseHover += new System.EventHandler(this.pictureBox_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(120, 70); 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.pictureBox_MouseClick); this.pictureBox11.MouseLeave += new System.EventHandler(this.pictureBox_MouseLeave); this.pictureBox11.MouseHover += new System.EventHandler(this.pictureBox_MouseHover); // // label1 // this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(47, 114); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(189, 13); this.label1.TabIndex = 13; this.label1.Text = "GridVisualStyles.Metro"; this.label1.Visible = false; // // panel1 // this.panel1.BackColor = System.Drawing.Color.DimGray; this.panel1.Location = new System.Drawing.Point(191, 60); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(26, 4); this.panel1.TabIndex = 12; // // panel2 // this.panel2.BackColor = System.Drawing.Color.Orange; this.panel2.Location = new System.Drawing.Point(17, 60); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(26, 4); this.panel2.TabIndex = 7; this.panel2.Visible = false; // // groupBox2 // this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.label5); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label3); 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(36, 178); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(259, 89); this.groupBox2.TabIndex = 10; this.groupBox2.TabStop = false; this.groupBox2.Text = "Applied Changes"; // // label6 // this.label6.AutoSize = true; this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label6.Location = new System.Drawing.Point(131, 31); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(91, 15); this.label6.TabIndex = 10; this.label6.Text = "Office2010Black"; // // label5 // this.label5.AutoSize = true; this.label5.ForeColor = System.Drawing.Color.DimGray; this.label5.Location = new System.Drawing.Point(33, 31); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(95, 15); this.label5.TabIndex = 9; this.label5.Text = "Active Style :"; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label4.Location = new System.Drawing.Point(131, 53); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(91, 15); this.label4.TabIndex = 8; this.label4.Text = "Office2010Black"; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.DimGray; this.label3.Location = new System.Drawing.Point(32, 53); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(95, 15); this.label3.TabIndex = 7; this.label3.Text = "Active Scrollbar :"; // // toolTip1 // this.toolTip1.IsBalloon = true; // // gridControl1 // this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControl1.BackColor = System.Drawing.SystemColors.Window; this.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gridControl1.ThemesEnabled = true; this.gridControl1.Grid.Model.EnableLegacyStyle = false; this.gridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Office2010Black; this.gridControl1.ItemHeight = 20; this.gridControl1.Location = new System.Drawing.Point(12, 12); this.gridControl1.MultiColumn = false; this.gridControl1.Name = "gridControl1"; this.gridControl1.Properties.BackgroundColor = System.Drawing.SystemColors.Window; this.gridControl1.Properties.ForceImmediateRepaint = false; this.gridControl1.Properties.MarkColHeader = false; this.gridControl1.Properties.MarkRowHeader = false; this.gridControl1.SelectedIndex = -1; this.gridControl1.Size = new System.Drawing.Size(587, 633); this.gridControl1.TabIndex = 13; this.gridControl1.ThemesEnabled = true; this.gridControl1.TopIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1012, 653); this.Controls.Add(this.gridControl1); this.Controls.Add(this.groupBox1); this.MinimumSize = new System.Drawing.Size(800, 600); this.Name = "Form1"; this.Text = "VisualStyle"; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox3.ResumeLayout(false); ((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.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); this.ResumeLayout(false); }