diff --git a/MachiningsDbPage/MachiningTreeView.vb b/MachiningsDbPage/MachiningTreeView.vb index 867437e..9916c9c 100644 --- a/MachiningsDbPage/MachiningTreeView.vb +++ b/MachiningsDbPage/MachiningTreeView.vb @@ -199,7 +199,7 @@ Public Class MachiningTreeViewItem Else If EgtMdbIsCurrMachiningModified() And Me.IsValid Then - Select Case MsgBox(EgtMsg(MSG_MACHININGSERRORS), MsgBoxStyle.YesNo, EgtMsg(MSG_MACHININGSERRORS + 1)) + Select Case MsgBox(EgtMsg(MSG_MACHININGSERRORS + 30), MsgBoxStyle.YesNo, EgtMsg(MSG_MACHININGSERRORS + 31)) Case MsgBoxResult.Yes m_NewMachining = False EgtMdbSaveCurrMachining() diff --git a/MachiningsDbPage/MachiningsDbView.xaml b/MachiningsDbPage/MachiningsDbView.xaml index 4c5fa5d..90f7c96 100644 --- a/MachiningsDbPage/MachiningsDbView.xaml +++ b/MachiningsDbPage/MachiningsDbView.xaml @@ -207,8 +207,8 @@ Visibility="{Binding Path=SelectedItem.Type, ElementName=MachiningsTreeView, Converter={StaticResource MachiningParamVisibilityConverter}, ConverterParameter={StaticResource Invert}}"/> - - + + UpdateSourceTrigger=PropertyChanged}"/>--> diff --git a/ProjectPage/OptionPanel/DrawOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb b/ProjectPage/OptionPanel/DrawOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb index 5c5048e..5a5e4fe 100644 --- a/ProjectPage/OptionPanel/DrawOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb +++ b/ProjectPage/OptionPanel/DrawOptionPanel/SimulationExpander/SimulationExpanderViewModel.vb @@ -299,11 +299,15 @@ Namespace EgtCAM5 m_nStatus = SIM_ST.ST_STEP ExecSim() ' Aggiorno bottone + m_bPlay = True + OnPropertyChanged("PlayPauseImage") 'SetPlayPauseBtnToPlay() ' Alrimenti imposto solo il nuovo stato Else m_nStatus = SIM_ST.ST_STEP ' Aggiornamenti per bottone Play/Pause + m_bPlay = False + OnPropertyChanged("PlayPauseImage") 'SetPlayPauseBtnToPause() End If End Sub