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
Starting processing as soon as a form is displayed
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

AlanRank #669 · 3.6K reputationPosted Aug 14, 2008, 4:08 AM EDT
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.