From 8aac3ea989fbad5912dbd147e1e321a14fca75ee Mon Sep 17 00:00:00 2001 From: Demetrio Cassarino Date: Thu, 19 Dec 2024 11:52:20 +0100 Subject: [PATCH] -aggiunto in errore macchina immagine di errrore --- .../DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb | 2 +- OptionsWindow/OptionWindowVM.vb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OptionPanel/DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb b/OptionPanel/DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb index b4031f9..b7a4323 100644 --- a/OptionPanel/DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb +++ b/OptionPanel/DrawOptionPanel/ManageLayerExpander/LayerTreeView.vb @@ -69,7 +69,7 @@ Public Class LayerTreeViewItem Return m_bOnOff End Get Set(value As Boolean) - If Map.refProjectVM.GetController().GetStep() <> 0 Then Return + 'If Map.refProjectVM.GetController().GetStep() <> 0 Then Return If m_bOnOff <> value Then m_bOnOff = value ' se abilitato, eseguo operazione diff --git a/OptionsWindow/OptionWindowVM.vb b/OptionsWindow/OptionWindowVM.vb index c5ee998..6b65dce 100644 --- a/OptionsWindow/OptionWindowVM.vb +++ b/OptionsWindow/OptionWindowVM.vb @@ -1319,7 +1319,7 @@ Public Class OptionWindowVM ' L'aggiornamento della macchina "{0}" non รจ riuscito. Dim sKo As String = String.Format(EgtMsg(MSG_OPTIONPAGE + 35), sMachName) EgtOutLog(sKo) - MessageBox.Show(sKo, EgtMsg(MSG_MESSAGEBOX + 1), MessageBoxButton.OK) + MessageBox.Show(sKo, EgtMsg(MSG_MESSAGEBOX + 1), MessageBoxButton.OK, MessageBoxImage.Error) Return End Try End If