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
2010-04-26 08:31:19