Wpf Close Application When Main Window Closes, you can just hook the event Closing on your main window like this - .