EgtCAM5 :
- riordinata interfaccia simulazione - migliorata segnalazione errori/warning di Door.
This commit is contained in:
+10
-2
@@ -428,8 +428,16 @@ Namespace EgtCAM5
|
||||
Dim sCurrFilePath As String = String.Empty
|
||||
EgtGetCurrFilePath(sCurrFilePath)
|
||||
If String.IsNullOrEmpty(sCurrFilePath) OrElse EgtGetModified() Then
|
||||
MessageBox.Show(EgtMsg(MSG_SIMULATION + 31), EgtMsg(MSG_SIMULATION + 5), MessageBoxButton.OK, MessageBoxImage.Stop)
|
||||
Return
|
||||
' Il progetto deve essere salvato prima di poter essere generato. Vuoi farlo ?
|
||||
If MessageBox.Show(EgtMsg(MSG_SIMULATION + 31), EgtMsg(MSG_SIMULATION + 15), MessageBoxButton.YesNo, MessageBoxImage.Warning) = MessageBoxResult.No Then
|
||||
' Abbandono
|
||||
Return
|
||||
Else
|
||||
' Lancio salvataggio
|
||||
Application.Msn.NotifyColleagues(Application.SAVEPROJECT)
|
||||
' Se non salvato, abbandono
|
||||
If EgtGetModified() Then Return
|
||||
End If
|
||||
End If
|
||||
Dim sCncFile As String = Path.ChangeExtension(sCurrFilePath, Nothing)
|
||||
Dim sInfo As String = "EgtCAM5 - " & sCurrFilePath
|
||||
|
||||
Reference in New Issue
Block a user