From dffec5fc1de9ab325580cf35d2d26d538053851f Mon Sep 17 00:00:00 2001 From: Emmanuele Sassi Date: Tue, 12 Jul 2016 12:48:33 +0000 Subject: [PATCH] EgtCAM5 : - Migliorie varie. --- Application.xaml.vb | 5 + Constants/ConstIni.vb | 6 + EgtCAM5.vbproj | 1 + EgtCAM5Resources.xaml | 7 + MachiningsDbPage/MachiningsDbView.xaml | 2843 +++++++++++---------- MachiningsDbPage/MachiningsDbViewModel.vb | 68 +- MainWindow/MainWindowViewModel.vb | 44 +- ProjectPage/ProjectViewModel.vb | 13 +- SharedFieldsClass.vb | 1159 +++++---- Special/Doors.vb | 68 + StatusBar/StatusBarView.xaml | 5 +- StatusBar/StatusBarViewModel.vb | 91 +- ToolsDbPage/ToolTreeView.vb | 4 +- ToolsDbPage/ToolsDbView.xaml | 1051 ++++---- ToolsDbPage/ToolsDbViewModel.vb | 69 +- TopCommandBar/TopCommandBarView.xaml | 2 + TopCommandBar/TopCommandBarViewModel.vb | 31 + 17 files changed, 2797 insertions(+), 2670 deletions(-) create mode 100644 Special/Doors.vb diff --git a/Application.xaml.vb b/Application.xaml.vb index 1c6bdc7..b3564f8 100644 --- a/Application.xaml.vb +++ b/Application.xaml.vb @@ -150,6 +150,10 @@ Class Application Friend Const STATUSSTOPCOMMAND As String = "StatusStopCommand" Friend Const STATUSSNAPPOINTTYPETEXT As String = "StatusSnapPointTypeText" Friend Const STATUSSNAPPOINTTYPEBACKGROUND As String = "StatusSnapPointTypeBackground" + Friend Const LOADSELECTEDMACHINE As String = "LoadSelectedMachine" + Friend Const LOADCURRENTMACHINE As String = "LoadCurrentMachine" + Friend Const SAVECURRENTMACHINE As String = "SaveCurrentMachine" + ' ToolsDbPage messages Friend Const REMOVETOOL As String = "RemoveTool" @@ -169,6 +173,7 @@ Class Application Friend Const IMPORTPROJECT As String = "ImportProject" Friend Const EXPORTPROJECT As String = "ExportProject" Friend Const EXECPROJECT As String = "ExecProject" + Friend Const DOORSPROJECT As String = "DoorsProject" Shared ReadOnly _messenger As New Messenger() diff --git a/Constants/ConstIni.vb b/Constants/ConstIni.vb index 985719e..2df0de2 100644 --- a/Constants/ConstIni.vb +++ b/Constants/ConstIni.vb @@ -82,6 +82,12 @@ Module ConstIni Public Const K_FLPWINPLACE As String = "WinPlace" Public Const K_FLPCURRDIR As String = "CurrDir" + Public Const S_DOORS As String = "Doors" + Public Const K_DDFEXEC As String = "DdfExec" + Public Const K_DDFFUNCTION As String = "DdfFun" + Public Const K_DDFDIR As String = "DdfDir" + Public Const K_DDFDEFAULTDIR As String = "DdfDefaultDir" + Public Const S_MACH As String = "Mach" Public Const K_MACHINESDIR As String = "MachinesDir" Public Const K_TOOLMAKERSDIR As String = "ToolMakersDir" diff --git a/EgtCAM5.vbproj b/EgtCAM5.vbproj index f1519a7..92bcb94 100644 --- a/EgtCAM5.vbproj +++ b/EgtCAM5.vbproj @@ -179,6 +179,7 @@ ProjectView.xaml + StatusBarView.xaml diff --git a/EgtCAM5Resources.xaml b/EgtCAM5Resources.xaml index fe51379..4d134ef 100644 --- a/EgtCAM5Resources.xaml +++ b/EgtCAM5Resources.xaml @@ -74,27 +74,34 @@