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