aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-09-05 15:08:10 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-09-05 15:08:10 +0300
commit3c717c1430b17c479e3ccbf3715512f9b4334c53 (patch)
tree750904e077a23852e2838474dd203973b8d6c32b /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views
parent332be5196027097bcd6c0ffb8f988f1493c5437c (diff)
downloadTango-3c717c1430b17c479e3ccbf3715512f9b4334c53.tar.gz
Tango-3c717c1430b17c479e3ccbf3715512f9b4334c53.zip
Optimized use of color conversion in machine studio.
Improved color conversion memory leak. Added dispenser step division to brush stops. Machine Studio 3.4.43
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs
index e6a528612..bcab1c673 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs
@@ -23,13 +23,14 @@ using Tango.Settings;
using Tango.Core;
using Tango.SharedUI.Editors;
using static Tango.MachineStudio.Developer.DeveloperModuleSettings;
+using static Tango.SharedUI.Controls.NavigationControl;
namespace Tango.MachineStudio.Developer.Views
{
/// <summary>
/// Interaction logic for JobView.xaml
/// </summary>
- public partial class JobView : UserControl
+ public partial class JobView : UserControl, INavigationView
{
private MainViewVM _vm;
private DispatcherTimer _jobBrushTimer;
@@ -265,5 +266,15 @@ namespace Tango.MachineStudio.Developer.Views
{
_vm.OnHivePopupClosed();
}
+
+ public void OnNavigatedTo()
+ {
+ _vm.IsJobVisible = true;
+ }
+
+ public void OnNavigatedFrom()
+ {
+ _vm.IsJobVisible = false;
+ }
}
}