From 66593bf1224cbcc80ede15cdb6476c6b3aaab6eb Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 24 Feb 2020 22:31:18 +0200 Subject: Some work on FSE.. --- .../ViewModels/InternalModuleViewVM.cs | 25 +++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs') diff --git a/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs b/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs index 44a2bb051..3a8a3c940 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs +++ b/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs @@ -4,6 +4,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.FSE.Common; +using Tango.FSE.Common.Navigation; +using Tango.FSE.UI.Views; +using Tango.SharedUI.Helpers; namespace Tango.FSE.UI.ViewModels { @@ -11,7 +14,27 @@ namespace Tango.FSE.UI.ViewModels { public override void OnApplicationStarted() { - + NavigationManager.MenuItems.Add(new NavigationMenuItem(() => + { + NavigationManager.NavigateTo(nameof(AccountView)); + }) + { + Name = "Account", + Index = -1, + Description = "Manage your account details", + Image = ResourceHelper.GetImageFromResources("Images/Menu/account.png"), + }); + + NavigationManager.MenuItems.Add(new NavigationMenuItem(() => + { + NavigationManager.NavigateTo(nameof(SettingsView)); + }) + { + Name = "Settings", + Index = 2, + Description = "Configuration of your Tango FSE", + Image = ResourceHelper.GetImageFromResources("Images/Menu/settings.png"), + }); } } } -- cgit v1.3.1