Interesting problem!! its urgent!!!

  • Thread starter Thread starter sunnyz
  • Start date Start date
S

sunnyz

Hi
I've a windows application in C#.At a particular point , i have four
clones of the same form running and i want that application should
not end till all the forms are closed.
The problem is the first form that runs when its closed closes all
other forms and the application.
plz help me its really urgent!!!
 
Use Application.Run() in your Main not Application.Run(myForm);

Then the application will only exit when you call Application.Exit somewhere.

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.framework/<[email protected]>

Hi
I've a windows application in C#.At a particular point , i have four
clones of the same form running and i want that application should
not end till all the forms are closed.
The problem is the first form that runs when its closed closes all
other forms and the application.
plz help me its really urgent!!!


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004



[microsoft.public.dotnet.framework]
 
Back
Top