1. Create two Silverlight Applications which are sharing the same asp.net application. When rebuilt the two SL application,the *.xap files will be generated to the folder ./ClientBin
2. Imported the two Silverlight xap to the same asp.net or html page.
3. In the two SilverLight Applications add the namespace "using System.Windows.Messaging;"
4. In the first SL application,which we call it sender,add the following code accordingly.
5. In the second SL application,which we call it Receiver,add the following code accordingly.
when we run the application,and click the button in the first application,the message will be displayed in the second Silverlight application.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。