Compare commits

...

13 Commits

Author SHA1 Message Date
NicolaP 235537c9f3 Merge branch 'develop' 2023-01-11 19:58:58 +01:00
NicolaP e034816bed Cambio versione 2.5a1 2023-01-11 19:31:17 +01:00
NicolaP 5f1d48696f Merge commit 'd2ff748fe0a5f5477e16a3cba1c79999f03f759d' into develop 2022-08-25 15:15:32 +02:00
NicolaP d2ff748fe0 Migliorata la gestione di creazione nuova lastra 2022-08-11 12:45:27 +02:00
NicolaP fc89ef7deb Merge branch 'develop' 2022-07-21 19:41:56 +02:00
NicolaP 45780aff25 Merge branch 'Features/Modify_BitMap_Image' into develop 2022-07-21 19:31:44 +02:00
NicolaP 6f1e05aaa3 Aggiunta disegno matita 2022-07-21 19:31:28 +02:00
DarioS ce8447a5e8 OmagPHOTO 2.4f2 :
- corretta versione.
2022-07-01 08:06:08 +02:00
NicolaP d2925af06b Merge branch 'master' into develop 2022-06-27 09:54:07 +02:00
NicolaP be067aa785 Merge branch 'feature/Manage_Multi_Istances' 2022-06-27 09:43:58 +02:00
NicolaP cdf98ecff5 Passo alla libreria il nome dello Users 2022-06-20 15:00:16 +02:00
NicolaP f952167d5d Avvio il timer per il refresch della lista 2022-06-15 18:17:53 +02:00
NicolaP 5f29f5821a Merge branch 'feature/CapsLock' into feature/Manage_Multi_Istances 2022-06-15 15:20:47 +02:00
6 changed files with 26 additions and 8 deletions
+7 -6
View File
@@ -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, 2406, 1, m_nKeyLevel) And
EgtGetKeyOptions(9423, 2406, 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
@@ -287,6 +287,7 @@ Public Class MainWindowM
EgtPHOTOLib.MainData.SetConfigDir(m_sConfigDir)
EgtPHOTOLib.MainData.SetKeyLevel(m_nKeyLevel)
EgtPHOTOLib.MainData.SetKeyOptions(m_nKeyOptions)
EgtPHOTOLib.MainData.SetUser(Environment.MachineName & "\" & Environment.UserName & " (" & nInstance.ToString() & ")")
EgtPHOTOLib.MainData.SetPhotoDir(m_sPhotoDir)
EgtPHOTOLib.MainData.SetBackUpDir(m_sBackUpDir)
EgtPHOTOLib.MainData.SetTemplateFilePrinter(m_TemplateFilePrinter)
@@ -298,10 +299,10 @@ Public Class MainWindowM
Dim sIdKey As String = String.Empty
EgtGetKeyInfo(sIdKey)
EgtPHOTOLib.MainData.SetKey(sIdKey)
'' lancio il timer di aggiornamento dell'interfaccia, per la gestione di due OmagPHOTO che accedono allo stesso SQL
' AddHandler m_RefreshTimer.Tick, AddressOf RefreshTimer_Tick
' m_RefreshTimer.Interval = TimeSpan.FromMilliseconds(2000)
' m_RefreshTimer.Start()
' lancio il timer di aggiornamento dell'interfaccia, per la gestione di due OmagPHOTO che accedono allo stesso SQL
AddHandler m_RefreshTimer.Tick, AddressOf RefreshTimer_Tick
m_RefreshTimer.Interval = TimeSpan.FromMilliseconds(2000)
m_RefreshTimer.Start()
End Sub
' per la gestione di due OmagPHOTO che accedono allo stesso SQL
+5
View File
@@ -125,6 +125,11 @@ Public Class MainWindowVM
EgtPHOTOLib.PhotoMap.refOptionPanelVM.Ok(Nothing)
End If
End If
' deseleziono la lastra corrente
If Not IsNothing(EgtPHOTOLib.PhotoMap.refProjectVM) AndAlso
Not IsNothing(EgtPHOTOLib.PhotoMap.refProjectVM.SelSlab) Then
EgtPHOTOLib.PhotoMap.refOptionPanelVM.Cancel(Nothing)
End If
' Imposto contesto principale
EgtSetCurrentContext(Map.refSceneHostVM.MainScene.GetCtx())
' Chiudo il gestore della macchina fotografica
+2 -2
View File
@@ -59,5 +59,5 @@ Imports System.Windows
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("2.4.6.1")>
<Assembly: AssemblyFileVersion("2.4.6.1")>
<Assembly: AssemblyVersion("2.5.1.1")>
<Assembly: AssemblyFileVersion("2.5.1.1")>
+3
View File
@@ -216,6 +216,9 @@
<ItemGroup>
<Resource Include="Resources\TopCommandBar\Search.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\InstrumentPanel\Matitina.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<PropertyGroup>
<PostBuildEvent>IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\OmagPHOTO\OmagPHOTOR32.exe
Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

+9
View File
@@ -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