开发者

Invoke a method in the MainWindow from ChildWindow loaded using MEF

How to invoke a method in the MainWindow from ChildWindow loaded using MEF

Both Main App and the Mef library share the same interface 开发者_运维百科library


Pass the MainWindow reference to the ChildWindow in the ChildWindow constructor. Make the necessary methods public in the MainWindow. Then you could call them from ChildWindow.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜