From 10655893e4ba3a6a2c7c74e094f7f696ed2c321b Mon Sep 17 00:00:00 2001 From: Demetrio Cassarino Date: Wed, 5 Mar 2025 11:38:09 +0100 Subject: [PATCH] =?UTF-8?q?-introdotto=20gestione=20visibilit=C3=A0=20rett?= =?UTF-8?q?angolo=20colore=20lavorazione?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CadCuts/SplitPageUC.xaml | 3 ++- CadCuts/SplitPageUC.xaml.vb | 9 +++++++++ OmagCUTDictionary.xaml | 4 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CadCuts/SplitPageUC.xaml b/CadCuts/SplitPageUC.xaml index 4b6414e..238ad4c 100644 --- a/CadCuts/SplitPageUC.xaml +++ b/CadCuts/SplitPageUC.xaml @@ -103,7 +103,8 @@ - diff --git a/CadCuts/SplitPageUC.xaml.vb b/CadCuts/SplitPageUC.xaml.vb index a4d71f1..f90dd99 100644 --- a/CadCuts/SplitPageUC.xaml.vb +++ b/CadCuts/SplitPageUC.xaml.vb @@ -2796,6 +2796,7 @@ Public Class SplitPageUC ' Posizione porta utensile (parametro non obbligatorio) Private m_sTCPos As String = "" Private m_cSawColor As SolidColorBrush + Private m_bMachiningTCPosVisibility As Visibility = Visibility.Hidden Private m_IsSelected As Boolean @@ -2875,11 +2876,18 @@ Public Class SplitPageUC End Set End Property + Public ReadOnly Property MachiningTCPosVisibility As Visibility + Get + Return m_bMachiningTCPosVisibility + End Get + End Property + Sub New(Name As String, Ind As Integer, bIsActive As Boolean, nType As Integer) Me.m_sName = Name Me.m_nInd = Ind Me.m_bIsActive = bIsActive Me.m_nType = nType + Me.m_bMachiningTCPosVisibility = Visibility.Hidden End Sub Sub New(Name As String, Ind As Integer, bIsActive As Boolean, nType As Integer, sTCPos As String, cSawColor As SolidColorBrush) @@ -2889,6 +2897,7 @@ Public Class SplitPageUC Me.m_nType = nType Me.m_sTCPos = sTCPos Me.m_cSawColor = cSawColor + Me.m_bMachiningTCPosVisibility = Visibility.Visible End Sub Public Sub NotifyPropertyChanged(propName As String) diff --git a/OmagCUTDictionary.xaml b/OmagCUTDictionary.xaml index 4067ff3..fc0ab64 100644 --- a/OmagCUTDictionary.xaml +++ b/OmagCUTDictionary.xaml @@ -2780,8 +2780,8 @@