Greetings,
I am using Visual C# (.Net 1.1) in Visual Studio 2003.
I have a dialog which is going to be doing some hectic processing inclusing database work.
The dialog is created passing through the list of files to be processed.
I would like this dialog to be created, controls to be populated and then for processing to being automatically.
I have tried quite a few methods of doing this but have been having no luck.
My last idea would be to put a timer on the form with a delay of 500ms.
When the timer fires start the processing.
But this seems like quite a hack.
Please could someone help me.
Thanks in advance,
Robert
Loading
AlanPosted Aug 14, 2008, 8:08 AM
I would suggest that you handle the Form's Activated or GotFocus events and place a call to the method which starts the processing within the eventhandler.
Those events fire just after the form loads.