How to do initial tasks when calling Show()

I called several Form2 from Form1 as in below:

for(int i=0; i<maxLoop; i++){
Form2^ myForm = gcnew Form2();

when I call Show(), I want to do some tasks automatically in Form2.
Please advise me.
Why are u creating multiple forms and what do u want to do in them?
Topic archived. No new replies allowed.