From 639cae64dd2fb5b19082a0486608c5b3066d4e78 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 12 Dec 2017 19:25:15 +0200 Subject: Working on machine studio. --- .../Utilities/Tango.MachineDesigner.UI/ViewModelLocator.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Software/Visual_Studio/Utilities/Tango.MachineDesigner.UI/ViewModelLocator.cs') diff --git a/Software/Visual_Studio/Utilities/Tango.MachineDesigner.UI/ViewModelLocator.cs b/Software/Visual_Studio/Utilities/Tango.MachineDesigner.UI/ViewModelLocator.cs index 4b037c03d..2d3492ba0 100644 --- a/Software/Visual_Studio/Utilities/Tango.MachineDesigner.UI/ViewModelLocator.cs +++ b/Software/Visual_Studio/Utilities/Tango.MachineDesigner.UI/ViewModelLocator.cs @@ -5,6 +5,7 @@ using System; using Tango.Logging; using Tango.MachineStudio.UI.SupervisingController; using Tango.MachineStudio.UI.ViewModels; +using Tango.MachineStudio.UI.ViewModels.DBViewModels; using Tango.MachineStudio.UI.Views; namespace Tango.MachineStudio.UI @@ -37,6 +38,7 @@ namespace Tango.MachineStudio.UI SimpleIoc.Default.Register(); SimpleIoc.Default.Register(); SimpleIoc.Default.Register(); + SimpleIoc.Default.Register(); //Register View (Supervising Controller Pattern). if (!ViewModelBase.IsInDesignModeStatic) @@ -77,5 +79,13 @@ namespace Tango.MachineStudio.UI return ServiceLocator.Current.GetInstance(); } } + + public UsersViewVM UsersViewVM + { + get + { + return ServiceLocator.Current.GetInstance(); + } + } } } \ No newline at end of file -- cgit v1.3.1