I am creating a XAML Metro application using C # and have some thoughts. I use two pages, MainPage and OtherPage.
When I click a button in MainPage, I switch to another with
this.Frame.Navigate(typeof(OtherPage), AndAnObjectIsSentTo);
To return from OtherPage to MainPage, I have a (cancel) button with the code Frame.GoBack();
What I want to achieve when I return is to send the parameter and (EDIT: not "reload", but just run the function) MainPage (the page I will return to). How should I do it?
source
share