mirror of
https://github.com/chylex/Backup-Essentials.git
synced 2025-05-29 21:34:07 +02:00
Disabled Frame shortcuts and sounds
This commit is contained in:
parent
11ed0f5940
commit
9f496aad8c
@ -29,6 +29,8 @@ namespace BackupEssentials{
|
||||
public MainWindow(SplashScreen splashScreen){
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user