CheckBox
GridHeader
GridView
Rectangle rect = DGVSalesDetails.GetCellDisplayRectangle(0, -1, true); rect.Y = 3; rect.X = rect.Location.X + (rect.Width / 8); CheckBox checkboxHeader = new CheckBox(); checkboxHeader.Name = "checkboxHeader"; checkboxHeader.Size = new Size(18, 18); checkboxHeader.Location = rect.Location; headerCheckboxRightMargin = (rect.Width - checkboxHeader.Width) / 2; checkboxHeader.CheckedChanged += new EventHandler(checkboxHeader_CheckedChanged); DGVSalesDetails.Controls.Add(checkboxHeader);
DGVSalesDetails_CurrentCellDirtyStateChanged
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)