EgtCAM5 2.6b4 :
- in simulazione migliorata gestione errori dopo EgtSimulStart - nella toolbar di Vista aggiunto anche comando IsoViewSE.
This commit is contained in:
@@ -70,6 +70,6 @@ Imports System.Windows
|
||||
' by using the '*' as shown below:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("2.6.2.1")>
|
||||
<Assembly: AssemblyFileVersion("2.6.2.1")>
|
||||
<Assembly: AssemblyVersion("2.6.2.4")>
|
||||
<Assembly: AssemblyFileVersion("2.6.2.4")>
|
||||
|
||||
|
||||
@@ -254,6 +254,7 @@ Public Class SimulationExpanderVM
|
||||
Else
|
||||
MessageBox.Show(EgtMsg(MSG_MESSAGEBOX + 10), EgtMsg(MSG_SIMULATION + 5), MessageBoxButton.OK, MessageBoxImage.Error) 'Errore sconosciuto - ERRORE
|
||||
End If
|
||||
SetSimulationStatus(MCH_SIM_ST.UI_STOP)
|
||||
End If
|
||||
Dim nShowDataCounter As Integer = 0
|
||||
While GetStatus() <> MCH_SIM_ST.UI_STOP
|
||||
|
||||
@@ -12,9 +12,6 @@
|
||||
<Button ToolTip="{Binding ZoomSelToolTip}" Style="{StaticResource GridViewPanelButton}" Command="{Binding ZoomSelCommand}">
|
||||
<Image Source="/Resources/GridViewPanel/ZoomSel.png" Stretch="Uniform"/>
|
||||
</Button>
|
||||
<Button ToolTip="{Binding LookFromIso_SEToolTip}" Style="{StaticResource GridViewPanelButton}" Command="{Binding IsoViewSECommand}">
|
||||
<Image Source="/Resources/GridViewPanel/LookFromISO_SE.png" Stretch="Uniform"/>
|
||||
</Button>
|
||||
<Button ToolTip="{Binding LookFromIso_NEToolTip}" Style="{StaticResource GridViewPanelButton}" Command="{Binding IsoViewNECommand}">
|
||||
<Image Source="/Resources/GridViewPanel/LookFromISO_NE.png" Stretch="Uniform"/>
|
||||
</Button>
|
||||
|
||||
@@ -9,7 +9,6 @@ Public Class PopUpViewPanelVM
|
||||
Private m_cmdZoomIn As ICommand
|
||||
Private m_cmdZoomOut As ICommand
|
||||
Private m_cmdZoomSel As ICommand
|
||||
Private m_cmdIsoViewSE As ICommand
|
||||
Private m_cmdIsoViewNE As ICommand
|
||||
Private m_cmdIsoViewNW As ICommand
|
||||
Private m_cmdViewToCPlane As ICommand
|
||||
@@ -34,12 +33,6 @@ Public Class PopUpViewPanelVM
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Public ReadOnly Property LookFromIso_SEToolTip As String
|
||||
Get
|
||||
Return EgtMsg(MSG_GRIDVIEWPANEL + 13)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Public ReadOnly Property LookFromIso_NEToolTip As String
|
||||
Get
|
||||
Return EgtMsg(MSG_GRIDVIEWPANEL + 14)
|
||||
@@ -133,29 +126,6 @@ Public Class PopUpViewPanelVM
|
||||
|
||||
#End Region ' ZoomOutCommand
|
||||
|
||||
#Region "IsoViewSECommand"
|
||||
|
||||
''' <summary>
|
||||
''' Returns a command that do IsoViewSE.
|
||||
''' </summary>
|
||||
Public ReadOnly Property IsoViewSECommand As ICommand
|
||||
Get
|
||||
If m_cmdIsoViewSE Is Nothing Then
|
||||
m_cmdIsoViewSE = New RelayCommand(AddressOf IsoViewSE)
|
||||
End If
|
||||
Return m_cmdIsoViewSE
|
||||
End Get
|
||||
End Property
|
||||
|
||||
''' <summary>
|
||||
''' Execute the IsoViewSE. This method is invoked by the IsoViewSECommand.
|
||||
''' </summary>
|
||||
Public Sub IsoViewSE(ByVal param As Object)
|
||||
Map.refProjectVM.GetScene.IsoViewSE()
|
||||
End Sub
|
||||
|
||||
#End Region ' IsoViewSECommand
|
||||
|
||||
#Region "IsoViewNECommand"
|
||||
|
||||
''' <summary>
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
<Button ToolTip="{Binding LookFromIso_SWToolTip}" Style="{StaticResource GridViewPanelButton}" Command="{Binding IsoViewSWCommand}">
|
||||
<Image Source="/Resources/GridViewPanel/LookFromISO_SW.png" Stretch="Uniform"/>
|
||||
</Button>
|
||||
<Button ToolTip="{Binding LookFromIso_SEToolTip}" Style="{StaticResource GridViewPanelButton}" Command="{Binding IsoViewSECommand}">
|
||||
<Image Source="/Resources/GridViewPanel/LookFromISO_SE.png" Stretch="Uniform"/>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
</UserControl>
|
||||
|
||||
@@ -14,6 +14,7 @@ Public Class ViewPanelVM
|
||||
Private m_cmdBackView As ICommand
|
||||
Private m_cmdRightView As ICommand
|
||||
Private m_cmdIsoViewSW As ICommand
|
||||
Private m_cmdIsoViewSE As ICommand
|
||||
|
||||
#Region "ToolTip"
|
||||
|
||||
@@ -64,6 +65,12 @@ Public Class ViewPanelVM
|
||||
End Get
|
||||
End Property
|
||||
|
||||
Public ReadOnly Property LookFromIso_SEToolTip As String
|
||||
Get
|
||||
Return EgtMsg(MSG_GRIDVIEWPANEL + 13)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
#End Region ' ToolTip
|
||||
|
||||
#End Region ' FIELDS & PROPERTIES
|
||||
@@ -254,6 +261,29 @@ Public Class ViewPanelVM
|
||||
|
||||
#End Region ' IsoViewSWCommand
|
||||
|
||||
#Region "IsoViewSECommand"
|
||||
|
||||
''' <summary>
|
||||
''' Returns a command that do IsoViewSE.
|
||||
''' </summary>
|
||||
Public ReadOnly Property IsoViewSECommand As ICommand
|
||||
Get
|
||||
If m_cmdIsoViewSE Is Nothing Then
|
||||
m_cmdIsoViewSE = New RelayCommand(AddressOf IsoViewSE)
|
||||
End If
|
||||
Return m_cmdIsoViewSE
|
||||
End Get
|
||||
End Property
|
||||
|
||||
''' <summary>
|
||||
''' Execute the IsoViewSE. This method is invoked by the IsoViewSECommand.
|
||||
''' </summary>
|
||||
Public Sub IsoViewSE(ByVal param As Object)
|
||||
Map.refProjectVM.GetScene.IsoViewSE()
|
||||
End Sub
|
||||
|
||||
#End Region ' IsoViewSECommand
|
||||
|
||||
#End Region ' COMMANDS
|
||||
|
||||
End Class
|
||||
Reference in New Issue
Block a user