示例#1
0
 public static void OpenAddToPlaylistPage()
 {
     if (_AddToPlaylistPage != null)
     {
         return;
     }
     _AddToPlaylistPage = new AddToPlaylistPage();
     ModalSheetUtility.Show(_AddToPlaylistPage);
     UiBlockerUtility.BlockNavigation();
 }
示例#2
0
 public static void OpenVideoPage(object Object)
 {
     if (_VideoPage != null)
     {
         return;
     }
     _VideoPage = new VideoPage();
     ModalSheetUtility.PassingObject = Object;
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_VideoPage);
 }
示例#3
0
 public static void OpenNowPlaying()
 {
     if (_currentSheet != null)
     {
         return;
     }
     _currentSheet = new NowPlayingSheet();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_currentSheet);
     App.SupressBackEvent += HardwareButtonsOnBackPressed;
 }
示例#4
0
 public static void OpenSearchCollectionPage()
 {
     if (_SearchCollectionPage != null)
     {
         return;
     }
     _SearchCollectionPage = new SearchCollectionPage();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_SearchCollectionPage);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForSearchCollection;
 }
示例#5
0
 public static void OpenImportRefreshPage(int i)
 {
     if (_ImportRefreshPage != null)
     {
         return;
     }
     _ImportRefreshPage       = new ImportRefreshPage();
     _ImportRefreshPage.index = i;
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_ImportRefreshPage);
 }
示例#6
0
 public static void OpenColorViewPage()
 {
     if (_ColorView != null)
     {
         return;
     }
     _ColorView = new ColorView();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_ColorView);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForColorViewPage;
 }
示例#7
0
 public static void OpenAddedFoldersPage()
 {
     if (_AddedFolders != null)
     {
         return;
     }
     _AddedFolders = new AddedFolders();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_AddedFolders);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForAddedFoldersPage;
 }
示例#8
0
 public static void OpenAddAPlaylistPage()
 {
     if (_AddAPlaylist != null)
     {
         return;
     }
     _AddAPlaylist = new AddAPlaylist();
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_AddAPlaylist);
     App.SupressBackEvent += HardwareButtonsOnBackPressedForAddAPlaylist;
 }
示例#9
0
 public static void OpenEditTrackMetadataPage(object Object)
 {
     if (_EditTrackMetadata != null)
     {
         return;
     }
     _EditTrackMetadata = new EditTrackMetadata();
     ModalSheetUtility.PassingObject = Object;
     UiBlockerUtility.BlockNavigation();
     ModalSheetUtility.Show(_EditTrackMetadata);
 }
示例#10
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;
 }