Hi,
We have a console application which performs a set of tasks on a terminal
makes a couple of UDP calls download some info from the server configures
the terminal as per the info downloaded .Durng hte process the terminal
reboots acouple of times and performs task like taking the terminal out of
the domain renaming it etc.
Now the client has asked us to have a form pop up at the onset which should
display the current stage of the installation with a progress bar.
I added a windows form and in the load of the form call the pervious main
function of the console only now it is a normal class.
The problem is this even before the form can load fully the configuration
steps are over.The form controls dont display any values and are blank and
there is no display on the screen .Have tried with the form load as well as
the form paint methods.
Is there a way to 'slow' down the console application so that it waits for
the form to load fully before it starts with its other tasks ...and this
should happen each time after the reboot.
thanks in advance
Manoj
|