Files
egtstone3d/SecondaryWindow/SecondaryWindowVM.vb
T
Demetrio Cassarino a35e9bc62a -aggiunto seconda scena
2024-12-20 17:31:10 +01:00

52 lines
1.1 KiB
VB.net

Imports EgtWPFLib5
Public Class SecondaryWindowVM
Inherits VMBase
#Region "FIELDS & PROPERTIES"
Public ReadOnly Property sTitle As String
Get
Return "EgtStone3D"
End Get
End Property
' definizione comandi
Private m_cmdCloseApplication As ICommand
#End Region ' Fields & Properties
#Region "CONSTRUCTOR"
Sub New()
End Sub
#End Region ' Constructor
#Region "COMMANDS"
#Region "CloseApplicationCommand"
' Returns a command that manage the MainWindow_Unloaded command
Public ReadOnly Property CloseApplicationCommand() As ICommand
Get
If m_cmdCloseApplication Is Nothing Then
m_cmdCloseApplication = New Command(AddressOf CloseApplication)
End If
Return m_cmdCloseApplication
End Get
End Property
' Manage the MainWindow_Unloaded event. This method is invoked by the cmdMainWindow_Unloaded.
Public Sub CloseApplication(ByVal param As Object)
Map.refMainWindowVM.CloseApplication()
End Sub
#End Region ' CloseApplicationCommand
#End Region ' COMMANDS
End Class