limit the instance of silverlight application to one
How to make sure that only one instance of a silver light 开发者_开发百科web out of browser application is running?
How to make sure that only one instance of a silverlight web application inside the web browser is running?
Take a look at the part of the Silverlight Docs: Implement Communication Between Local Silverlight-Based Applications
You can use the LocalMessageSender
and LocalMessageReceiver
. Create a sender and send a message, if you get a response inform the user by loading an alternate root visual. If you don't get a response set up a receiver so that any other sender do gets a response.
精彩评论