B
Boniek
Hi
My main thread is waiting for data from database ( opened Sqlconnection etc)
and my Main Form is also blocked. I have a ProgressBar on Status Bar which
show to a user how percent data is loaded. I use ThreadTimer and Thread but
I can't do anything because when a thread (or ThreadTimer) go to the line
ProgressBar.PefromStep() then it stop on that line. I think it's work like
that because the Main Thread (and main Form) is sleeping.
Can you give me any ideas how I can do that ? Maybe this problem disapear
when I load data in other thread and my Main Thread is free but it doesn't a
good idea.
Thank's all for any help.
Thank's Boniek
My main thread is waiting for data from database ( opened Sqlconnection etc)
and my Main Form is also blocked. I have a ProgressBar on Status Bar which
show to a user how percent data is loaded. I use ThreadTimer and Thread but
I can't do anything because when a thread (or ThreadTimer) go to the line
ProgressBar.PefromStep() then it stop on that line. I think it's work like
that because the Main Thread (and main Form) is sleeping.
Can you give me any ideas how I can do that ? Maybe this problem disapear
when I load data in other thread and my Main Thread is free but it doesn't a
good idea.
Thank's all for any help.
Thank's Boniek