开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜