aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2019-03-21 16:43:18 +0200
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2019-03-21 16:43:18 +0200
commitc73929a0e75705cdb8adbbdb45ea017e3bb09374 (patch)
tree9df7c0a3880a031e44c7896fd588b370367f9035 /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels
parent977d88f94cfb192d09f0253aaf3442f2c17e60f2 (diff)
parent5881b11e25a34acc0230f5316db5783389afe18f (diff)
downloadTango-c73929a0e75705cdb8adbbdb45ea017e3bb09374.tar.gz
Tango-c73929a0e75705cdb8adbbdb45ea017e3bb09374.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs19
1 files changed, 19 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 1c1eeca5e..3cb790e65 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
@@ -244,6 +244,25 @@ namespace Tango.PPC.UI.ViewModels
#endregion
+ #region Public Methods
+
+ /// <summary>
+ /// Toggles the application technician mode.
+ /// </summary>
+ public void ToggleTechnicianMode()
+ {
+ if (!ApplicationManager.IsInTechnicianMode)
+ {
+ ApplicationManager.EnterTechnicianMode();
+ }
+ else
+ {
+ ApplicationManager.ExitTechnicianMode();
+ }
+ }
+
+ #endregion
+
#region Event Handlers
/// <summary>