diff --git a/EgtPHOTOLib.sln b/EgtPHOTOLib.sln new file mode 100644 index 0000000..71f1759 --- /dev/null +++ b/EgtPHOTOLib.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30406.217 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "EgtPHOTOLib", "EgtPHOTOLib.vbproj", "{2FC41E14-D703-43A1-8AF1-4954AD02A703}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2FC41E14-D703-43A1-8AF1-4954AD02A703}.Debug|x86.ActiveCfg = Debug|x86 + {2FC41E14-D703-43A1-8AF1-4954AD02A703}.Debug|x86.Build.0 = Debug|x86 + {2FC41E14-D703-43A1-8AF1-4954AD02A703}.Release|x86.ActiveCfg = Release|x86 + {2FC41E14-D703-43A1-8AF1-4954AD02A703}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B33F2673-CA04-4F8A-9041-955D483A1A7B} + EndGlobalSection +EndGlobal diff --git a/EgtPHOTOLib.vbproj b/EgtPHOTOLib.vbproj new file mode 100644 index 0000000..7ce6fea --- /dev/null +++ b/EgtPHOTOLib.vbproj @@ -0,0 +1,223 @@ + + + + + Debug + AnyCPU + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{F184B08F-C81C-45F6-A57F-5ABD9991F28F} + EgtPHOTOLib + EgtPHOTOLib + Library + v4.0 + Custom + {2FC41E14-D703-43A1-8AF1-4954AD02A703} + + + + true + full + true + true + true + bin\Debug\ + EgtPHOTOLib.xml + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314 + + + pdbonly + false + false + true + false + true + bin\Release\ + EgtPHOTOLib.xml + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314 + + + On + + + Binary + + + Off + + + On + + + true + true + true + bin\x86\Debug\ + EgtPHOTOLib.xml + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314 + full + x86 + MinimumRecommendedRules.ruleset + + + false + bin\x86\Release\ + EgtPHOTOLib.xml + true + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036,42314 + none + x86 + MinimumRecommendedRules.ruleset + + + + ..\..\EgtProg\DllD32\EgtUILib.dll + + + ..\..\EgtProg\DllD32\EgtWPFLib5.dll + + + + ..\..\EgtProg\DllD32\System.Data.SQLite.dll + + + + + + + + + 4.0 + + + + + + + + + InstrumentPanelSlabV.xaml + + + + DetailPageSlabV.xaml + + + + ListPageSlabV.xaml + + + + ProjectSlabV.xaml + + + + + SearchPanelSlabV.xaml + + + + + + OptionPaneSlabV.xaml + + + + SceneHostSlabV.xaml + + + + Dictionary.xaml + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + + + + + Designer + MSBuild:Compile + + + MSBuild:Compile + Designer + + + + + + + + + + + + + + + + + + + + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + + + SettingsSingleFileGenerator + Settings.Designer.vb + + + + + + + + + + IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\Dll32\EgtPHOTOLib.dll +IF "$(ConfigurationName)" == "Debug" copy $(TargetPath) c:\EgtProg\DllD32\EgtPHOTOLib.dll + + \ No newline at end of file diff --git a/Resources/InstrumentPanel/GetDist.png b/Resources/InstrumentPanel/GetDist.png new file mode 100644 index 0000000..520e406 Binary files /dev/null and b/Resources/InstrumentPanel/GetDist.png differ diff --git a/UtilitySlab/SlabMap.vb b/UtilitySlab/SlabMap.vb new file mode 100644 index 0000000..eab0f2e --- /dev/null +++ b/UtilitySlab/SlabMap.vb @@ -0,0 +1,115 @@ +Imports EgtWPFLib5 + +Public Module PhotoMap + + Private m_refSearchPanelVM As SearchPanelSlabVM + Private m_refProjectVM As ProjectSlabVM + Private m_refOptionPanelVM As OptionPanelSlabVM + Private m_refListPageVM As ListPageSlabVM + Private m_refDetailPageVM As DetailPageSlabVM + + Friend m_ContinueApplication As Boolean = True + Public ReadOnly Property ContninueApplication As Boolean + Get + Return m_ContinueApplication + End Get + End Property + +#Region "Get" + Public ReadOnly Property refSearchPanelVM As SearchPanelSlabVM + Get + Return m_refSearchPanelVM + End Get + End Property + + Public ReadOnly Property refStatusBarVM As StatusBarVM + Get + Return LibMap.refStatusBarVM + End Get + End Property + + Public ReadOnly Property refProjectVM As ProjectSlabVM + Get + Return m_refProjectVM + End Get + End Property + + Public ReadOnly Property refSceneHostVM As SceneHostVM + Get + Return LibMap.refSceneHostVM + End Get + End Property + + Public ReadOnly Property refOptionPanelVM As OptionPanelSlabVM + Get + Return m_refOptionPanelVM + End Get + End Property + + Public ReadOnly Property refListPageVM As ListPageSlabVM + Get + Return m_refListPageVM + End Get + End Property + + Public ReadOnly Property refDetailPageVM As DetailPageSlabVM + Get + Return m_refDetailPageVM + End Get + End Property + +#End Region ' Get + +#Region "Set" + + Friend Function SetRefStatusBarVM(StatusBarVM As StatusBarVM) As Boolean + LibMap.SetRefStatusBarVM(StatusBarVM) + Return Not IsNothing(LibMap.refStatusBarVM) + End Function + + Friend Function SetRefProjectVM(ProjectVM As ProjectSlabVM) As Boolean + m_refProjectVM = ProjectVM + Return Not IsNothing(m_refProjectVM) + End Function + + Friend Function SetRefSceneHostVM(SceneHostVM As SceneHostVM) As Boolean + LibMap.SetRefSceneHostVM(SceneHostVM) + Return Not IsNothing(LibMap.refSceneHostVM) + End Function + + Friend Function SetRefOptionPanelVM(OptionPanelVM As OptionPanelSlabVM) As Boolean + m_refOptionPanelVM = OptionPanelVM + Return Not IsNothing(m_refOptionPanelVM) + End Function + + Friend Function SetRefListPageVM(ListPageVM As ListPageSlabVM) As Boolean + m_refListPageVM = ListPageVM + Return Not IsNothing(m_refListPageVM) + End Function + + Friend Function SetRefDetailPageVM(DetailPageVM As DetailPageSlabVM) As Boolean + m_refDetailPageVM = DetailPageVM + Return Not IsNothing(m_refDetailPageVM) + End Function + + Friend Function SetRefSearchPanelVM(SearchPanelVM As SearchPanelSlabVM) As Boolean + m_refSearchPanelVM = SearchPanelVM + Return Not IsNothing(m_refSearchPanelVM) + End Function + +#End Region ' Set + +#Region "Init" + + Friend Function EndInit() As Boolean + ' Verifico se tutti i pezzi necessari sono stati caricati + Return Not IsNothing(m_refProjectVM) AndAlso + Not IsNothing(LibMap.refSceneHostVM) AndAlso Not IsNothing(LibMap.refStatusBarVM) AndAlso + Not IsNothing(m_refOptionPanelVM) AndAlso Not IsNothing(m_refListPageVM) AndAlso + Not IsNothing(m_refDetailPageVM) AndAlso Not IsNothing(m_refSearchPanelVM) AndAlso + LibMap.EndInit + End Function + +#End Region ' Init + +End Module