aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-11-21 16:24:37 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-11-21 16:24:37 +0200
commita9c3aaed4d5c007f138bfc16f05aecdee73f1268 (patch)
treebc41f31dec6a0f96e4c6e16372f8884053c7c17f /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
parent9ee373ebf7518c96fdf685da792568680dd7f135 (diff)
downloadTango-a9c3aaed4d5c007f138bfc16f05aecdee73f1268.tar.gz
Tango-a9c3aaed4d5c007f138bfc16f05aecdee73f1268.zip
Working on PPC Storage Provider !!!
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.cs12
1 files changed, 12 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 7ac7db47d..76eda9ac0 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
@@ -89,6 +89,11 @@ namespace Tango.PPC.UI.ViewModels
/// Gets or sets the update command.
/// </summary>
public RelayCommand UpdateCommand { get; set; }
+
+ /// <summary>
+ /// Gets or sets the storage command.
+ /// </summary>
+ public RelayCommand StorageCommand { get; set; }
#endregion
#region Constructors
@@ -109,6 +114,13 @@ namespace Tango.PPC.UI.ViewModels
{
NavigationManager.NavigateTo(NavigationView.MachineUpdateView);
TangoIOC.Default.GetInstance<MachineUpdateViewVM>().CheckForUpdates();
+ IsMenuOpened = false;
+ });
+
+ StorageCommand = new RelayCommand(() =>
+ {
+ NavigationManager.NavigateTo(NavigationView.StorageView);
+ IsMenuOpened = false;
});
}