forum

Home / DeveloperSection / Forums / How main WPF window knows when secondary WPF window is closed

How main WPF window knows when secondary WPF window is closed

Manoj Bhatt 2410 09-Dec-2013

I faced a problem. I have two WPF windows in my project and I open the second WPF window by pressing the button on the main WPF window. But when I close the second window I need the first window to know that this happened and to do some action. How do I make this? I tried isLoaded and Application.Current.Windows, but both of them didn't work as I needed. Any ideas? Thank you in advance.


wpf wpf 
Updated on 09-Dec-2013

Can you answer this question?


Answer

1 Answers

Liked By