Silverlight Out-of-Browser application will not close using MainWindow.Close method
问题 I have a Silverlight 5.1.10411.0 Out-of-Browser application that is NOT trusted and I am trying to close the application using the App.Current.MainWindow.Close method. According to the documentation I can only use this mechanism if one of these conditions is true: It is a trusted application (not true for my application) Before the Application.Startup event has completed (not true for my application) In response to a user-initiated action, for example, in a button Click event handler (This is