private void CourseList_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.KeyCode == Keys.A) { for (Int32 i = 0; i < CourseList.Items.Count; i++) { CourseList.SetItemChecked(i, true); } } }
private void CourseList_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.KeyCode == Keys.A) { for (Int32 i = 0; i < CourseList.Items.Count; i++) { CourseList.SetItemChecked(i, true); } } }