P
PAPutzback
I have a form that when it loads it fires off a second thread to load a
datatable. This datatable contains a list of names and ids that the user
may want to add to their criteria. So I have a button that once the
thread completes it beccomes enabled and the datable gets bound to a
listbox that shows up on the new form. But there is a delay, which I am
guessing is when the listbox is preparing to paint itself with the bound
data.
Is there a way to have the form preload when the thread finishes so when
the user runs the form.show code that the form pops up instantly.
Thanks,
Phil Putzback
datatable. This datatable contains a list of names and ids that the user
may want to add to their criteria. So I have a button that once the
thread completes it beccomes enabled and the datable gets bound to a
listbox that shows up on the new form. But there is a delay, which I am
guessing is when the listbox is preparing to paint itself with the bound
data.
Is there a way to have the form preload when the thread finishes so when
the user runs the form.show code that the form pops up instantly.
Thanks,
Phil Putzback