开发者

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

开发者 https://www.devze.com 2023-02-28 10:21 出处:网络
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开发者_如何学JAVA() method. Ho

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开发者_如何学JAVA() method. How do I shut down a Silverlight app programmatically?


try App.Current.MainWindow.Close();

0

精彩评论

暂无评论...
验证码 换一张
取 消