المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How do I check whether the "X" button in the top right corner was clicked?



C# Programming
06-20-2009, 05:00 PM
I need to shut down the entire application when the user clicks this button, but I don't know how to check if the window was closed via the "X" button or some other button.