1
0
mirror of https://github.com/chylex/Backup-Essentials.git synced 2025-06-02 06:34:08 +02:00

Disabled Frame shortcuts and sounds

This commit is contained in:
chylex 2015-05-01 21:42:54 +02:00
parent 11ed0f5940
commit 9f496aad8c

View File

@ -30,6 +30,8 @@ namespace BackupEssentials{
InitializeComponent();
Instance = this;
ContentFrame.Navigated += (sender2, args2) => { ContentFrame.NavigationService.RemoveBackEntry(); };
Loaded += (sender, args) => {
if (splashScreen != null)splashScreen.Close(new TimeSpan());
@ -141,8 +143,7 @@ namespace BackupEssentials{
if (switchHandler != null && switchHandler.OnSwitch())return false;
Page page = null;
ContentFrame.Navigate(pageType == null ? null : page = AppPageManager.GetPage(pageType));
if (ContentFrame.NavigationService.CanGoBack)ContentFrame.NavigationService.RemoveBackEntry();
ContentFrame.Content = pageType == null ? null : page = AppPageManager.GetPage(pageType);
IPageShowData pageDataHandler = page as IPageShowData;
if (pageDataHandler != null && data != IgnoreShowData)pageDataHandler.OnShow(data);