Try using Background Worker, it's an easy start for you if you don't want to dig in threading area.
Remember to put the update form controls code in ProgressChanged event or you will get cross thread error and do not using progress bar to show the progress if you don't know when it will stop. :))
Threading in filling combobox
Collapse
X
-
Threading in filling combobox
I have a large no. of Items to fill in combobox.
What I want is while items are being filled in combobox, my forms functions for other controls like buttonclick, write in textbox should not stop i.e, Form shouldn't be hanged. How threading can help me on this. Please help on this, with code or url link.Tags: None
Leave a comment: