timer, how to deal with, plz help
-
13 มีนาคม 2555 5:34
peace be upon you........
i wanna navigate from the current page to another after 5 seconds of loading the current page in my windows phone app, "I'm tring to navigate between pages without forcing the user to do any thing ", i tried to use dispatchertimer but it doesn't worked as i want,this is my code, it navegates to the other page after 1 second even when i changed the interval to 15s
DispatcherTimertimer = newDispatcherTimer();
timer.Interval =newTimeSpan(0, 0, 5){
//Whatever it is you need to do at the specified interval
NavigationService.Navigate(newUri("/Page1.xaml", UriKind.RelativeOrAbsolute));
}
timer.Start();
can any body give a suggestion..................
- ย้ายโดย Mike FengMicrosoft 14 มีนาคม 2555 9:08 Phone (From:Visual Studio Class Designer)
ตอบทั้งหมด
-
14 มีนาคม 2555 6:31
Hi Islam_is_the_religion_of_peace,
Thank you for your post. However, your issue is about Windows Phone 7, so I’m afraid this is not the proper forum for your issue. I’d suggest you post your thread at Developing for Windows Phone 7 forum (http://forums.create.msdn.com/forums/98.aspx) .
Have a nice day!
Shanks Zen
MSDN Community Support | Feedback to us
-
14 มีนาคม 2555 15:53
thank you for alerting me, and im sorry for posting her .......................
peace be upon you.