Form refresh and/or event load order
Hey all,
I couldnt decide on how to title this question, but here it is...
I've got a couple applications deployed (C# under VS 2005 w/ SQL CE local DB) to Symbol scanners that use the "phone" to transmit their data back to HQ. Each of these applications has identical "connection code" that launches and verifies Internet connectivity before trying to send/receive information. The problem is that each time I need to make a change to the connection code I have to update both of these applications.
In a "better" world, I want to have a 3rd application that these apps, and others in development, can just call to establish the connectivity (single point of access/update). Conceptually simple, create the app, use Process.Start to launch it, game over...right?
The problem I'm having is that I cant get the connectivity app to paint before running its connectivity code. I want it to paint to show some progress information to the user in a status box. All it does now is run the hourgflass until its done doing its work the the screen refreshes.
Is there an equivalent of an AfterLoad event that I'm not seeing in my list of places to launch code? Please note that I do not want the users to have to "press a button" for this part to run.
Thanks in advance...
|