private void NavigateToMainPage() { NavigationService.Navigate(new Uri("/MainPage.xaml", UriKind.Relative)); }