Close full application click on a button using WPF.

Total Post:117

Points:821
WPF 
WPF
 1352  View(s)
Ratings:
Rate this:
How to close all active windows in click on a button?

  1. Post:100

    Points:700
    Re: Close full application click on a button using WPF.

    Try the below line of code in button click event for close your full application:-

    Application.Current.Shutdown();

Answer