摘要:
1. App.xaml.cs页中定义全局的Grid对象例如:Grid rootGrid = new Grid();2. 将对象rootGrid添加到App.xaml.cs文件中的Application_Startup 方法中如: private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = rootGrid; this.rootGrid.Children.Add(new Page()); }3.在App.xaml.cs中添加一个新方法如:public staitc void Red 阅读全文
posted @ 2010-06-23 16:45
狗狗听话
阅读(540)
评论(0)
推荐(0)

浙公网安备 33010602011771号