addicktz
asked on
How do i code stuff for when the X button is clicked?
I want to stop threads when the X is clicked, how would I go about doing this?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The best thing to do would be to call the Dispose() method, this will do a garbage collection as you don't need to keep a record of anything then.