aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-24 22:31:18 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-24 22:31:18 +0200
commit66593bf1224cbcc80ede15cdb6476c6b3aaab6eb (patch)
tree50a7aeedb7f7113b4537892a41eeb8bb6daabd69 /Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs
parentfdb539e472eaaaff74a05aa661e471543ae07313 (diff)
downloadTango-66593bf1224cbcc80ede15cdb6476c6b3aaab6eb.tar.gz
Tango-66593bf1224cbcc80ede15cdb6476c6b3aaab6eb.zip
Some work on FSE..
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs')
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.UI/ViewModels/InternalModuleViewVM.cs25
1 files changed, 24 insertions, 1 deletions
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<InternalModule>(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<InternalModule>(nameof(SettingsView));
+ })
+ {
+ Name = "Settings",
+ Index = 2,
+ Description = "Configuration of your Tango FSE",
+ Image = ResourceHelper.GetImageFromResources("Images/Menu/settings.png"),
+ });
}
}
}