Is there a way to suscribe one window event for look when another window close itself? I need to ask some details in the other window, once I get the details, then I close that window, the main window needs to know that.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Whichever class constructs the window should be able to subscribe an eventhandler from the handler window to the .Closing event of the window you want it to respond to.