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