Threading in filling combobox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prpradip
    New Member
    • Nov 2008
    • 28

    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.
    Last edited by prpradip; Nov 28 '08, 04:02 AM. Reason: Information
  • vanc
    Recognized Expert New Member
    • Mar 2007
    • 211

    #2
    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. :))

    Comment

    Working...