Reputation: 9499
How to you create a method that is called with the main window come active in a WPF app?
Upvotes: 0
Views: 57
Reputation: 564931
Just override Window.OnActivated in your main window (or subscribe to the main window's Activated event).
Upvotes: 1