From fcf154eb2ae88dcf1003ea6bd14c91cab1a616e9 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 24 Nov 2019 17:31:30 +0200 Subject: Backup Manager. --- .../Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs index 9e8a9fe34..0b530c278 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs @@ -111,6 +111,11 @@ namespace Tango.PPC.UI.ViewModels /// public RelayCommand UpdateCommand { get; set; } + /// + /// Gets or sets the backup restore command. + /// + public RelayCommand BackupRestoreCommand { get; set; } + /// /// Gets or sets the power command. /// @@ -146,6 +151,12 @@ namespace Tango.PPC.UI.ViewModels PowerCommand = new RelayCommand(() => IsPowerOpened = true); RestartApplicationCommand = new RelayCommand(RestartApplication); + + BackupRestoreCommand = new RelayCommand(() => + { + NavigationManager.NavigateTo(NavigationView.BackupRestoreView); + IsMenuOpened = false; + }); } #endregion -- cgit v1.3.1