This project is read-only.

Why did you intercept MainPage_BackKeyPress in Control_MyStocks_Add?

Dec 15, 2010 at 9:24 PM

I have been reading this code line by line and learning a lot about programming (properly according to reccomended guildlines) on Windows Phone that would have taken me weeks to learn on my own. My only question so far is why you needed to have:

this.BackKeyPress += new EventHandler<System.ComponentModel.CancelEventArgs>(MainPage_BackKeyPress);

That calls:

        void MainPage_BackKeyPress(object sender, System.ComponentModel.CancelEventArgs e)
        {
            NavigationService.GoBack();
        }

The back button would not have automatically done the correct thing here?