开发者

Childwindow set as singleton

开发者 https://www.devze.com 2023-02-17 07:16 出处:网络
Can we have Silverlight\'s Childwindow set as singleton? If so, can you share 开发者_运维百科me a pseudo code to implement it? The question would be way??

Can we have Silverlight's Childwindow set as singleton? If so, can you share 开发者_运维百科me a pseudo code to implement it?


The question would be way??

But you Can simplest way is to Simple in your App.cs

public static ChilldWindow MYGLOBAL_CHILDE_WINDOW = new SomeIMplementation()

and you can access it from everywhere App.MYGLOBAL_CHILDE_WINDOW.Show() -- to Display it

0

精彩评论

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