snomi
asked on
UserControl in vb.net
I have to clear some files on the unloading of my project. I am using Windows Application (Not Web Application)
I have a usercontrol in my project. Before unloading the control i want to call my procedure which will delete some temp files which i have created.
What's the appropriate event in this case to be used. I don't have Unload event of usercontrol in windows application project.
Thanks for the help
Syed
I have a usercontrol in my project. Before unloading the control i want to call my procedure which will delete some temp files which i have created.
What's the appropriate event in this case to be used. I don't have Unload event of usercontrol in windows application project.
Thanks for the help
Syed
Why on unloading the usercontrol, why not using the closing event of your mainform
ASKER
i have already done that, i was only wondering that how can i find the unload event for the usercontrol or any other avaiable event in its place.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi David,
Thanks for very good reply. I also want to thanks the other people who have helped me in this problem
Take Care
Syed
Thanks for very good reply. I also want to thanks the other people who have helped me in this problem
Take Care
Syed