EgtDOORCreator 1.8l5 :

- eliminata classe AboutBoxVM perchè inutile.
This commit is contained in:
Dario Sassi
2017-12-13 10:57:53 +00:00
parent 7d026d1045
commit 06b8ce39d8
3 changed files with 2 additions and 65 deletions
-62
View File
@@ -1,62 +0,0 @@
Imports System.ComponentModel
Public Class AboutBoxVM
Implements INotifyPropertyChanged
'Inherits VModelBase
Private m_AboutBoxVisibility As Visibility
Public Property AboutBoxVisibility As Visibility
Get
Return m_AboutBoxVisibility
End Get
Set(value As Visibility)
If value <> m_AboutBoxVisibility Then
m_AboutBoxVisibility = value
NotifyPropertyChanged("AboutBoxVisibility")
End If
End Set
End Property
' Definizione comandi
Private m_cmdClose As ICommand
#Region "COMMANDS"
#Region "CloseCommand"
''' <summary>
''' Returns a command that do Point.
''' </summary>
Public ReadOnly Property CloseCommand As ICommand
Get
If m_cmdClose Is Nothing Then
m_cmdClose = New Command(AddressOf Close, AddressOf CanClose)
End If
Return m_cmdClose
End Get
End Property
''' <summary>
''' Execute the Point. This method is invoked by the PointCommand.
''' </summary>
Public Sub Close(ByVal param As Object)
AboutBoxVisibility = Visibility.Hidden
End Sub
''' <summary>
''' Returns always true.
''' </summary>
Private Function CanClose(ByVal param As Object) As Boolean
Return True
End Function
#End Region ' CloseCommand
#End Region ' Commands
Public Event PropertyChanged As PropertyChangedEventHandler Implements INotifyPropertyChanged.PropertyChanged
Public Sub NotifyPropertyChanged(propName As String)
RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propName))
End Sub
End Class
-1
View File
@@ -109,7 +109,6 @@
<Compile Include="AboutBoxWindow\AboutBoxV.xaml.vb">
<DependentUpon>AboutBoxV.xaml</DependentUpon>
</Compile>
<Compile Include="AboutBoxWindow\AboutBoxVM.vb" />
<Compile Include="AssemblyManager\AssemblyName.vb" />
<Compile Include="Assembly\PartDoor.vb" />
<Compile Include="Command\Command.vb" />
+2 -2
View File
@@ -72,5 +72,5 @@ Imports System.Windows
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.8.12.4")>
<Assembly: AssemblyFileVersion("1.8.12.4")>
<Assembly: AssemblyVersion("1.8.12.5")>
<Assembly: AssemblyFileVersion("1.8.12.5")>