棱镜WPF和Silerlight [英] Prism WPF And Silerlight

查看:82
本文介绍了棱镜WPF和Silerlight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everybody,



我正在为我的办公室创建一个应用程序,我尝试在我的应用程序WPF中使用此代码,但它不起作用

Hello Everybody,

I'm about creating a application for my office and i try to use this code in my app WPF but it doesn't work

Application.Current.RootVisual= this.container.Resolve<IStartWindowViewModel>().View as UIElement;





是我在WPF的第一个应用程序,有人可以帮助我



谢谢



it's my first app in WPF, someone can help me

thanks

推荐答案

Hello Everybody,


我在这里解决了我的问题很好



感谢任何方式





Hello Everybody,

I fixed my problem here's the good

thanks any way

I
Application.Current.MainWindow = (Shell)this.Shell;
            Application.Current.MainWindow.Show();


这篇关于棱镜WPF和Silerlight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆