Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 235537c9f3 | |||
| e034816bed | |||
| 5f1d48696f | |||
| d2ff748fe0 | |||
| fc89ef7deb | |||
| 45780aff25 | |||
| ce8447a5e8 |
@@ -202,8 +202,8 @@ Public Class MainWindowM
|
||||
Dim bNetHwKey As Boolean = ( GetMainPrivateProfileInt(S_GENERAL, K_NETKEY, 0) = 1)
|
||||
EgtSetNetHwKey( bNetHwKey)
|
||||
' Recupero livello e opzioni della chiave
|
||||
Dim bKey As Boolean = EgtGetKeyLevel(9423, 2407, 1, m_nKeyLevel) And
|
||||
EgtGetKeyOptions(9423, 2407, 1, m_nKeyOptions)
|
||||
Dim bKey As Boolean = EgtGetKeyLevel(9423, 2501, 1, m_nKeyLevel) And
|
||||
EgtGetKeyOptions(9423, 2501, 1, m_nKeyOptions)
|
||||
' Verifico abilitazione prodotto
|
||||
Dim bProd As Boolean = GetKeyOption(KEY_OPT.PHOTO_BASE)
|
||||
' Inizializzazione generale di EgtInterface
|
||||
|
||||
@@ -59,5 +59,5 @@ Imports System.Windows
|
||||
' by using the '*' as shown below:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("2.4.7.1")>
|
||||
<Assembly: AssemblyFileVersion("2.4.7.1")>
|
||||
<Assembly: AssemblyVersion("2.5.1.1")>
|
||||
<Assembly: AssemblyFileVersion("2.5.1.1")>
|
||||
|
||||
@@ -156,6 +156,15 @@ Public Class TopCommandBarVM
|
||||
Friend Sub NewCmd(Optional bUseDefaults As Boolean = False)
|
||||
' passo alla libreria l'oggetto Camera che è stato inizializzato nel Omag-PHOTO
|
||||
EgtPHOTOLib.MainData.SetCamera(Map.refMainWindowVM.m_Camera)
|
||||
Dim bIsSaved As Boolean = False
|
||||
If EgtPHOTOLib.PhotoMap.refProjectVM.SelSlab.IsModified Then
|
||||
' 91125: Salvare le modifiche correnti? - 92201: Avviso
|
||||
If MessageBox.Show(EgtMsg(91125), EgtMsg(92201), MessageBoxButton.YesNo, MessageBoxImage.Asterisk) = MessageBoxResult.Yes Then
|
||||
EgtPHOTOLib.PhotoMap.refOptionPanelVM.Save()
|
||||
bIsSaved = True
|
||||
End If
|
||||
End If
|
||||
If Not bIsSaved Then EgtPHOTOLib.PhotoMap.refOptionPanelVM.Cancel(Nothing)
|
||||
Map.refProjectVM.SelProjectMode = ProjectSlabVM.ProjectModeOpt.NEWSLAB
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user