views:

58

answers:

1

how i can write a closed function for our wpf application in Window application we can simply use application.exit(); are any way to closed a wpf application

+4  A: 

you can use

 Application.Current.Shutdown(); 

and aslo pls verify the ShutdownMode in the application(App.xaml)

Kishore Kumar