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.
加载中,请稍侯......
精彩评论