Click here to Skip to main content
15,916,188 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

Here i want to Redirect one form to another form in Windows Mobile it is in Xaml that to in wpf
C#
private void button2_Click(object sender, RoutedEventArgs e)
{
    Page1 obj = new Page1();
    obj.s
}

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

So please give me required suggestions.

Regards,
AnilKumar.d
Posted
Updated 13-May-12 21:10pm
v2
Comments
Sandeep Mewara 14-May-12 3:12am    
Offtopic: You end the question with "Regards ANIL KUMAR" - a male BUT your CP registered id says 'ARCHANA kumari' - a female. Any specific reason? Reply if you want to!
Anil Honey 206 14-May-12 3:23am    
See Give abt answer to My Questions Not abt my Personal.I hope its Not SO Madatory....

1 solution

for navigation in windows phone following is the code
C#
private void Button_Click(object sender, RoutedEventArgs e)
{
    NavigationService.Navigate(new Uri("/Page1.xaml", UriKind.Relative));
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900