摘要: 方案:1.在App.xaml.cs中定义一个Grid控件: Grid grid=new Grid();2.当整个应用程序启动运行时,让它第一个页面Login页面在Application Startup事件中来处理解决 private void Application_Startup(object sender,StartupEventArgs e) { this.RootVisual=rootGrid; this.rootGrid.Children.Add(new Login()); }3.登录成功后我们还在App.xaml.cs里面写一个方法来解决 public void Turn(User 阅读全文
posted @ 2011-04-01 14:56 xuebingz 阅读(371) 评论(0) 推荐(0)