Exemplo n.º 1
0
 public static void CloseNowPlaying()
 {
     if (_currentSheet == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_currentSheet);
     _currentSheet = null;
 }
Exemplo n.º 2
0
 public static void CloseEditTrackMetadataPage()
 {
     UiBlockerUtility.Unblock();
     if (_EditTrackMetadata == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_EditTrackMetadata);
     _EditTrackMetadata = null;
 }
Exemplo n.º 3
0
 public static void CloseManualMatchPage()
 {
     UiBlockerUtility.Unblock();
     if (_ManualMatchPage == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_ManualMatchPage);
     _ManualMatchPage = null;
 }
Exemplo n.º 4
0
 public static void CloseColorViewPage()
 {
     UiBlockerUtility.Unblock();
     if (_ColorView == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_ColorView);
     _ColorView = null;
 }
Exemplo n.º 5
0
 public static void CloseVideoPage()
 {
     UiBlockerUtility.Unblock();
     if (_VideoPage == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_VideoPage);
     _VideoPage = null;
 }
Exemplo n.º 6
0
 public static void CloseSearchCollectionPage()
 {
     UiBlockerUtility.Unblock();
     if (_SearchCollectionPage == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_SearchCollectionPage);
     _SearchCollectionPage = null;
 }
Exemplo n.º 7
0
 public static void CloseAddToPlaylistPage()
 {
     UiBlockerUtility.Unblock();
     if (_AddToPlaylistPage == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_AddToPlaylistPage);
     _AddToPlaylistPage = null;
 }
Exemplo n.º 8
0
 public static void CloseImportRefreshPage()
 {
     UiBlockerUtility.Unblock();
     if (_ImportRefreshPage == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_ImportRefreshPage);
     _ImportRefreshPage = null;
 }
Exemplo n.º 9
0
 public static void OpenAddToPlaylistPage()
 {
     if (_AddToPlaylistPage != null)
     {
         return;
     }
     _AddToPlaylistPage = new AddToPlaylistPage();
     ModalSheetUtility.Show(_AddToPlaylistPage);
     UiBlockerUtility.BlockNavigation();
 }
Exemplo n.º 10
0
 public static void CloseAddedFoldersPage()
 {
     UiBlockerUtility.Unblock();
     if (_AddedFolders == null)
     {
         return;
     }
     ModalSheetUtility.Hide(_AddedFolders);
     _AddedFolders = null;
 }
Exemplo n.º 11
0
 public static void OpenVideoPage(object Object)
 {
     if (_VideoPage != null)
     {
         return;
     }
     _VideoPage = new VideoPage();
     ModalSheetUtility.PassingObject = Object;
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_VideoPage);
 }
Exemplo n.º 12
0
 public static void OpenNowPlaying()
 {
     if (_currentSheet != null)
     {
         return;
     }
     _currentSheet = new NowPlayingSheet();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_currentSheet);
     App.SupressBackEvent += HardwareButtonsOnBackPressed;
 }
Exemplo n.º 13
0
 public static void OpenSearchCollectionPage()
 {
     if (_SearchCollectionPage != null)
     {
         return;
     }
     _SearchCollectionPage = new SearchCollectionPage();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_SearchCollectionPage);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForSearchCollection;
 }
Exemplo n.º 14
0
 public static void OpenEditTrackMetadataPage(object Object)
 {
     if (_EditTrackMetadata != null)
     {
         return;
     }
     _EditTrackMetadata = new EditTrackMetadata();
     ModalSheetUtility.PassingObject = Object;
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_EditTrackMetadata);
 }
Exemplo n.º 15
0
 public static void OpenImportRefreshPage(int i)
 {
     if (_ImportRefreshPage != null)
     {
         return;
     }
     _ImportRefreshPage       = new ImportRefreshPage();
     _ImportRefreshPage.index = i;
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_ImportRefreshPage);
 }
Exemplo n.º 16
0
 public static void OpenColorViewPage()
 {
     if (_ColorView != null)
     {
         return;
     }
     _ColorView = new ColorView();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_ColorView);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForColorViewPage;
 }
Exemplo n.º 17
0
 public static void OpenAddedFoldersPage()
 {
     if (_AddedFolders != null)
     {
         return;
     }
     _AddedFolders = new AddedFolders();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_AddedFolders);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForAddedFoldersPage;
 }
Exemplo n.º 18
0
 public static void OpenAddAPlaylistPage()
 {
     if (_AddAPlaylist != null)
     {
         return;
     }
     _AddAPlaylist = new AddAPlaylist();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_AddAPlaylist);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForAddAPlaylist;
 }
Exemplo n.º 19
0
 public static void OpenManualMatchPage(Song song)
 {
     if (_ManualMatchPage != null)
     {
         return;
     }
     _ManualMatchPage = new ManualMatchPage();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.PassingObject = song;
     //App.Locator.Manual.ReceiveSong(song);
     ModalSheetUtility.Show(_ManualMatchPage);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForManualMatchPage;
 }