如何在Windows Mobile 7应用程序中将一个窗体重定向到另一个窗体 [英] How to Redirect one Form to another Form in Windows Mobile 7 application

查看:83
本文介绍了如何在Windows Mobile 7应用程序中将一个窗体重定向到另一个窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

在这里我想将Windows Mobile中的一种形式重定向到另一种形式,它是Xaml中的wpf

Dear Friends,

Here i want to Redirect one form to another form in Windows Mobile it is in Xaml that to in wpf

private void button2_Click(object sender, RoutedEventArgs e)
{
    Page1 obj = new Page1();
    obj.s
}


因此Obj.Show()无法正常工作,无法获取语法.

所以请给我必要的建议.

问候,
AnilKumar.d


So Obj.Show() is not working iam not Getting the syntax.

So please give me required suggestions.

Regards,
AnilKumar.d

推荐答案

在Windows Phone中导航的代码如下
for navigation in windows phone following is the code
private void Button_Click(object sender, RoutedEventArgs e)
{
    NavigationService.Navigate(new Uri("/Page1.xaml", UriKind.Relative));
}


这篇关于如何在Windows Mobile 7应用程序中将一个窗体重定向到另一个窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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