multithreading - How do you change DataGridView properties and values with threads in vb.NET? -
i have been beating head against wall 2 weeks now, while trying figure out way navigate through rows of datagridview component threads. want this, because if gridview more 300+ rows long ui hang 30-60 seconds.
i new multi-threading, know importance of thread safe applications , having make sure changes ui components done on ui thread.
the steps want take follows(unless has better suggestion):
- user selects item in listbox
- disable ui interaction user
- the datagridview broken searchable ranges
- search through each range in parallel , hide rows match items selected in listbox.
- resume ui interaction user
ultimately want beable select multiple items in listbox hide or show them.
what looking give me idea start? should go background worker, task parallel library, custom threads, ect...?
Comments
Post a Comment