EgtCAM5 :

- Migliorie varie.
This commit is contained in:
Emmanuele Sassi
2016-07-18 12:44:34 +00:00
parent edd43d516d
commit 447ad8aec5
2 changed files with 5 additions and 2 deletions
@@ -22,8 +22,8 @@
<Button Content="New Positioning" Command="{Binding NewPositioningCommand}" Height="40"/>
<Button Content="Cancel Operation" Command="{Binding CancelOperationCommand}" Height="40"/>
</UniformGrid>
<ListBox IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding OperationList}" SelectedItem="{Binding SelectedOperation}"
MaxHeight="400" x:Name="OperationList" IsEnabled="{Binding IsEnabledOperationList}">
<ListBox IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding OperationList,Mode=OneWay}" SelectedItem="{Binding SelectedOperation,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
MaxHeight="200" x:Name="OperationList" IsEnabled="{Binding IsEnabledOperationList}">
<ListBox.ItemTemplate>
<DataTemplate>
<Grid>
@@ -120,6 +120,7 @@ Namespace EgtCAM5
End If
m_SelectedOperation = value
End If
OnPropertyChanged("SelectedOperation")
End Set
End Property
@@ -467,6 +468,8 @@ Namespace EgtCAM5
EgtRelocate(SelectedOperation.Id, PreviousId, GDB_POS.BEFORE)
' Ricarico la lista delle operazioni
Application.Msn.NotifyColleagues(Application.LOADOPERATIONLIST)
' Riseleziono l'entità selezionata
Me.SelectedOperation = SelectedOperation
End If
End Sub