I'm try to do this.
I have a progress bar in a form. In the load event of the form i turn on a
timer. In the timer tick method i get the signal strenght of a wireless
connection. I put this signal stregth into the Value property of the
progressbar control. I have this progress bar into a panel of the form. In
another panel i have TextBox controls that i use to control the input of
the
user. Every 1 second i refresh the value of the progressbar control.
Example code for threading?
Thanks
"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
ha
scritto nel messaggio news:
[email protected]...
What are you trying to do, exactly? If you're asking, while I'm processing
input from the user (a button click or whatever), I want to be able to
receive very accurate timing information, you'll have to use a thread which
runs separately from the user interface (main) thread of the application and
take suitable steps (Control.Invoke), to send whatever data the timer event
generates to the user interface. This has been covered many times before.
You can search the archives for "thread" or for "Control.Invoke" to find
those topics.
http://groups.google.com/group/micr...tframework?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8
Paul T.