Problem in Closing Exe

Posted by chandruswami on Stack Overflow See other posts from Stack Overflow or by chandruswami
Published on 2010-04-13T03:44:51Z Indexed on 2010/04/13 4:12 UTC
Read the original article Hit count: 283

Filed under:
|

In C#, I am using form1 as homescreen,.. while running exe from Debug folder, form1.exe appears in Process tab in task manager,...

The problem is: Through form1 at runtime, i may create more instances of form1 while trying to close particular instance, the instances closed,.. but still exe appears in task manager.

what i found: If i close the instances in the order what we created,.. all exe closes correctly,.. but if close the 4th instance and then 3rd instance,.. exe remains in task manager. (instead of 3rd and then 4th instance)

I also used Application.Exit() but still the Exe remains in taskmanager,......

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET