开发者

Access App instance from MainWindow instance

Is it possible to access App instance from MainWindow instance?

My App p开发者_Go百科erforms some initialization steps (like configuration initialization) and I need to pass the config to MainWindow.


App.Current should return this instance, you will need to cast it though.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜