EgtCAM5 :

- Migliorie varie.
This commit is contained in:
Emmanuele Sassi
2016-07-10 12:25:13 +00:00
parent f8b17066de
commit 7d644d08b8
3 changed files with 5 additions and 47 deletions
@@ -129,47 +129,11 @@ Namespace EgtCAM5
End Get
End Property
' Definizione comandi
Private m_cmdClosing As ICommand
Sub New()
' Inizializzo la selezione della modilità Draw all'apertura del programma
DrawIsChecked = True
End Sub
#Region "COMMANDS"
#Region "ClosingCommand"
''' <summary>
''' Returns a command that create a new tool.
''' </summary>
Public ReadOnly Property ClosingCommand As ICommand
Get
If m_cmdClosing Is Nothing Then
m_cmdClosing = New RelayCommand(AddressOf Closing, AddressOf CanClosing)
End If
Return m_cmdClosing
End Get
End Property
''' <summary>
''' Creata the new tool. This method is invoked by the NewCommand.
''' </summary>
Public Sub Closing(ByVal param As Object)
Application.Msn.NotifyColleagues(Application.DRAWOPTIONPANEL_CLOSING)
End Sub
''' <summary>
''' Returns true if the selected treeviewitem is valid for new tool creation.
''' </summary>
Private Function CanClosing(ByVal param As Object) As Boolean
Return True
End Function
#End Region ' ClosingCommand
#End Region ' Commands
End Class
End Namespace