Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do you shut down a silverlight out of browser app?

I'm running a Silverlight 4 app with elevated trust out of browser and cannot rely on the DOM or host web page to shut down Silverlight. There is no App.Current.Shutdown() method. How do I shut down a Silverlight app programmatically?

like image 459
kindohm Avatar asked Oct 12 '22 05:10

kindohm


1 Answers

try App.Current.MainWindow.Close();

like image 151
user122069 Avatar answered Jan 02 '23 22:01

user122069