diff --git a/Application.xaml.vb b/Application.xaml.vb index 3190f1f..034d211 100644 --- a/Application.xaml.vb +++ b/Application.xaml.vb @@ -1,4 +1,5 @@ Imports EgtCAM5.EgtCAM5 + Class Application ' Application-level events, such as Startup, Exit, and DispatcherUnhandledException @@ -25,6 +26,10 @@ Class Application Friend Const CLOSEAPPLICATION As String = "CloseApplication" Friend Const PROJECTPAGE_SELECTED As String = "ProjectPage_Selected" Friend Const PROJECTPAGE_DESELECTED As String = "ProjectPage_Deselected" + Friend Const PROJECTPAGE_DRAWMODE As String = "ProjectPage_DrawMode" + Friend Const PROJECTPAGE_MACHININGMODE As String = "ProjectPage_MachiningMode" + Friend Const RESETSTATUS As String = "ResetStatus" + Friend Const LOADOPERATIONLIST As String = "LoadOperationList" ' ProjectPage messages Friend Const NOTIFYCURRPOS As String = "NotifyCurrPos" diff --git a/Base/TabViewModel.vb b/Base/TabViewModel.vb index 1670e91..cc267f5 100644 --- a/Base/TabViewModel.vb +++ b/Base/TabViewModel.vb @@ -3,13 +3,16 @@ Public Class TabViewModel Inherits ViewModelBase - Private m_sTabName As String - Public Property sTabName As String + Friend m_sTabName As String + Public Overridable Property sTabName As String Get Return m_sTabName End Get Set(value As String) - m_sTabName = value + If value <> m_sTabName Then + m_sTabName = value + OnPropertyChanged("sTabName") + End If End Set End Property diff --git a/EgtCAM5.vbproj b/EgtCAM5.vbproj index d273169..b6099bf 100644 --- a/EgtCAM5.vbproj +++ b/EgtCAM5.vbproj @@ -152,6 +152,11 @@ ManageLayerExpanderView.xaml + + OperationExpanderView.xaml + + + ProjectView.xaml @@ -220,6 +225,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -287,7 +296,7 @@ - + @@ -383,6 +392,16 @@ + + + + + + + + + + IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\EgtCAM5\EgtCAM5R32.exe diff --git a/EgtCAM5Resources.xaml b/EgtCAM5Resources.xaml index 1403c93..6b0d700 100644 --- a/EgtCAM5Resources.xaml +++ b/EgtCAM5Resources.xaml @@ -74,6 +74,9 @@ + +