I want to have a button that once clicked, it will select all checkboxes in my checklistbox. I\'ve search the possible answers but I always see examples for asp.net and javascri
what I did is I put it inside of a tableLayoutPanel, I fixed all the checkboxs in the 3rd column and i added the event:
private void cbCheckAllCHECKBOXs_CheckedChanged(objects sender, EventArgs e)
{
if (cbCheeckAllCHECKBOXs.Checked)
{
for (int i = 0; i < tlpCHECKBOXsControlPanel.RowCount; i++)
{
((System.Windows.Forms.CheckBox)(tlpCHECKBOXsControlPanel.GetControlFromPosition(3, i))).Checked = true;
}
}
}