aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/BrowserModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/BrowserModule.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/BrowserModule.cs16
1 files changed, 15 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/BrowserModule.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/BrowserModule.cs
index a73700fef..4da2f4f98 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/BrowserModule.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/BrowserModule.cs
@@ -8,6 +8,8 @@ using Tango.BL.Enumerations;
using Tango.PPC.Common;
using Tango.PPC.Browser.Views;
using Tango.SharedUI.Helpers;
+using Tango.Core.DI;
+using Tango.PPC.Common.Application;
namespace Tango.PPC.Browser
{
@@ -23,7 +25,7 @@ namespace Tango.PPC.Browser
/// </summary>
public BrowserModule()
{
- IsVisibleInMenu = true;
+ IsVisibleInMenu = false;
}
/// <summary>
@@ -81,6 +83,18 @@ namespace Tango.PPC.Browser
}
}
+ public override void OnTechnicianEntered()
+ {
+ base.OnTechnicianEntered();
+ IsVisibleInMenu = true;
+ }
+
+ public override void OnTechnicianExited()
+ {
+ base.OnTechnicianExited();
+ IsVisibleInMenu = false;
+ }
+
/// <summary>
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
/// </summary>