|
Imports System.Data
Public MustInherit Class ACommand
Implements ICommand
Protected mActionText As String = ""
Public Function Initialize(ByVal pActionText As String) As Boolean Implements ICommand.Initialize
Try
mActionText = pActionText
Return True
Catch ex As Exception
Throw
End Try
End Function
Public Property ActionText() As String Implements ICommand.ActionText
Get
Return mActionText
End Get
Set(ByVal pActionText As String)
mActionText = pActionText
End Set
End Property
Public MustOverride Function Execute(ByVal args As PropertyCollection) As Object Implements ICommand.Execute
End Class
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have over 25 years experience in programming desktop applications and over 10 years in web applications. I've written two books on computer programming: "Hands-On Programming Fundamentals, 2nd Ed" and "Hands-On Design Patterns for Visual Basic, 3rd Ed."