mercredi 24 mai 2017

Adding a "Check/Uncheck All" CheckBox to the Header

enter image description here

Im programming with Visual Studio 2010. I have an unbounded datagridview on my form, as i show in the picture. I would like to put a checkbox to the header (something like in the red circle). When user check it, all the checkboxes in the dgv will be checked and vice versa. And also when user check all the checkboxes in the dgv, the checkbox on the header will be checked automaticly. Everybody knows, how the check all checkboxes works.




Aucun commentaire:

Enregistrer un commentaire