Exemple #1
0
 private void BtnMetar_Click(object sender, RoutedEventArgs e)
 {
     var frame = UIHelper.FindVisualParent<Frame>(this);
     frame.NavigationUIVisibility = NavigationUIVisibility.Hidden;
     var metarPage = new MetarTaf(new MetarTafViewModel());
     frame.Content = metarPage;
 }
Exemple #2
0
        private void BtnMetar_Click(object sender, RoutedEventArgs e)
        {
            var frame = UIHelper.FindVisualParent <Frame>(this);

            frame.NavigationUIVisibility = NavigationUIVisibility.Hidden;
            var metarPage = new MetarTaf(new MetarTafViewModel());

            frame.Content = metarPage;
        }