OmagVIEWPlus :

- migliorato controllo chiave/licenza.
This commit is contained in:
Dario Sassi
2019-02-27 10:35:58 +00:00
parent d476c63c25
commit 6e183e775e
+6 -6
View File
@@ -163,13 +163,13 @@ Public Class MainWindowM
End If
nIndex += 1
End While
If Not bKey Then
MessageBox.Show("Missing Protection Key. Insert Dongle and restart the program", "Error", MessageBoxButton.OK, MessageBoxImage.Error)
'End
End If
If Not bProd Then
MessageBox.Show("Program without licence. Load Licence and restart the program.", "Error", MessageBoxButton.OK, MessageBoxImage.Error)
'End
If m_nKeyLevel = -1 Or m_nKeyLevel = -2 then
MessageBox.Show("Missing Protection Key. Insert Dongle and restart the program", "Error", MessageBoxButton.OK, MessageBoxImage.Error)
Else
MessageBox.Show("Program without licence. Load Licence and restart the program.", "Error", MessageBoxButton.OK, MessageBoxImage.Error)
End If
End
End If
' Leggo file messaggi
Dim sMsgFilePath As String = sMsgDir & "\" & sMsgName