I have a situation where i need to load a page based on a condition :
The condition is
if( First time application is launched){
Load aggrement page;
}
else{
Load main Page;
}
What would be the best approach for this ?
Should i check the condition in the :
private void Application_Launching(object sender, LaunchingEventArgs e)
{
}
Or in the main page before the initializeCOmponent() call ?
Try something like this:
About redirecting the navigation from App.xaml.cs find more information in the post from Peter Torr
Redirecting an initial navigation