Normally, the back button in your phone will take you backwards through the pages that you have visited. You can override it to make it do what you want.
protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
{
// Your code goes here.
// ...
e.Cancel = true;// Remember to add this to Cancel the default behavior.
}
No comments:
Post a Comment