Se fallisce lettura Args termino tutto subito
This commit is contained in:
@@ -983,6 +983,7 @@ Public Class AssemblyManagerVM
|
||||
DdfFile.WriteDDFPart(OpenedAssName.SelAssembly.ListPartDoor(0).Door, sTempFile, True, False)
|
||||
If OptionModule.AdjustDDT Then
|
||||
DdfFile.WriteDDFPart(OpenedAssName.SelAssembly.ListPartDoor(0).Door, OptionModule.SaveFileNameFromArgs, True, False)
|
||||
' TERMINO TUTTO SUBITO
|
||||
End
|
||||
End If
|
||||
' aggiorno elenco quotature
|
||||
|
||||
@@ -26,7 +26,7 @@ Class MainWindowV
|
||||
' se è assente la chiave di protezione non mostro la finestra Launcher
|
||||
If Map.refSceneManagerVM.bProtectKey Then
|
||||
If Not IsNothing(m_args) Then
|
||||
' leggo gli argomenti
|
||||
' leggo gli argomenti: Il programma si chiude appena termina la scrittura del file DDF
|
||||
Dim Items() As String = m_args(0).Split(";"c)
|
||||
If Items.Length = 5 Then
|
||||
' Avvio progetto - LauncherOpt.Open_last_project (1)
|
||||
@@ -44,8 +44,9 @@ Class MainWindowV
|
||||
Else
|
||||
' blocco lettura dati
|
||||
OptionModule.AdjustDDT = False
|
||||
' TERMINO TUTTO SUBITO!
|
||||
End
|
||||
End If
|
||||
|
||||
End If
|
||||
Map.refMainWindowVM.SetLauncher()
|
||||
Map.refMainWindowVM.ShowErrorCompoLoad()
|
||||
|
||||
Reference in New Issue
Block a user