Files
effector.plugin.stonecut/Effector.Plugin.StoneCut/DoorListPage/DoorListPageV.xaml.vb
T
Emmanuele Sassi 5ce2c38baa Effector.Plugin.StoneCut 3.1.5.7:
- primo rilascio dopo prove su macchina
2026-05-05 13:19:32 +02:00

14 lines
498 B
VB.net

Public Class DoorListPageV
' funzione che impedisce di editare le righe che sono gia' in produzione
Private Sub DoorList_BeginningEdit(sender As Object, e As DataGridBeginningEditEventArgs)
'If IsNothing(e.Row) Then Return
'Dim RowVM As Door = DirectCast(e.Row.DataContext, Door)
'' se in produzione impedisco modifica dei parametri
'If RowVM.nState >= Door.PartProgramStates.READY_FOR_PRODUCTION Then
' e.Cancel = True
'End If
End Sub
End Class