private async void GoBack_Click(object sender, RoutedEventArgs e)
        {
            if (Window.Current.Bounds.Width == 320 && FirstPanelGridView.Visibility == Windows.UI.Xaml.Visibility.Collapsed)
            {
                FirstPanelGridView.Visibility = Windows.UI.Xaml.Visibility.Visible;
            }
            else
            {
                await FadeOutPage.BeginAsync();

                NavigationService.NavigateTo(typeof(MainPage));
            }
        }
Beispiel #2
0
 public MainPage()
 {
     InitializeComponent();
     this.SizeChanged += OnSizeChanged;
     this.Loaded      += (sender, args) =>
     {
         FadeOutPage.Begin();
         ChangeLayout(Window.Current.Bounds.Width);
         for (int i = 0; i < SectionsGrid.Children.Count; i++)
         {
             if (i == _currentSection)
             {
                 continue;
             }
             UIAnimationHelper.FadeOut(SectionsGrid.Children[i]);
         }
         FadeInPage.Begin();
         if (!string.IsNullOrEmpty(App.TemporaryMRL))
         {
             OpenVideoFromFileExplorer();
         }
     };
     NavigationCacheMode = NavigationCacheMode.Enabled;
 }
Beispiel #3
0
        private async void GoBack_Click(object sender, RoutedEventArgs e)
        {
            await FadeOutPage.BeginAsync();

            NavigationService.NavigateTo(typeof(MainPage));
        }
Beispiel #4
0
        async Task MediaServers()
        {
            await FadeOutPage.BeginAsync();

            NavigationService.NavigateTo(typeof(DLNAPage));
        }
Beispiel #5
0
        async Task ExternalStorage()
        {
            await FadeOutPage.BeginAsync();

            NavigationService.NavigateTo(typeof(RemovableStoragePage));
        }