diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-11-24 17:31:30 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-11-24 17:31:30 +0200 |
| commit | fcf154eb2ae88dcf1003ea6bd14c91cab1a616e9 (patch) | |
| tree | 8f6195057030e2d2fbbfd2d0090cfed5b5c61866 /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs | |
| parent | 53b58d21f600ef55daefd363f6e93274a9e8c048 (diff) | |
| download | Tango-fcf154eb2ae88dcf1003ea6bd14c91cab1a616e9.tar.gz Tango-fcf154eb2ae88dcf1003ea6bd14c91cab1a616e9.zip | |
Backup Manager.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ -112,6 +112,11 @@ namespace Tango.PPC.UI.ViewModels public RelayCommand UpdateCommand { get; set; } /// <summary> + /// Gets or sets the backup restore command. + /// </summary> + public RelayCommand BackupRestoreCommand { get; set; } + + /// <summary> /// Gets or sets the power command. /// </summary> public RelayCommand PowerCommand { get; set; } @@ -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 |
