Example #1
0
 private void Toggle(Uri uri, Button button)
 {
     PreviousUri              = CurrentUri;
     PreviousButton           = CurrentButton;
     CurrentButton            = button;
     CurrentUri               = uri;
     PreviousButton.IsEnabled = true;
     CurrentButton.IsEnabled  = false;
     TheFrame.Navigate(CurrentUri);
 }
Example #2
0
 public void OnCategorySelected(string categoryName)
 {
     TheFrame.Navigate(new Uri("MenuPage.xaml", UriKind.Relative));
 }