c# - Trouble with checkedListBox in Form_Load -
i have head wound problem. there're 3 forms: main, editperson , furtherexam. in main form have gridview. gridview text sec form. in editperson form have textbox values. , when seek utilize code in furtherexam load if statement implements 1 value in _furtherexamlst. don't know do.
private void furtherexam_load(object sender, eventargs e) { _furtherexamlst.foreach(item => { if (checkedlistbox1.items.contains(item)) checkedlistbox1.setitemchecked( checkedlistbox1.items.indexof(item), true); }); }
c# checkedlistbox
No comments:
Post a Comment