home *** CD-ROM | disk | FTP | other *** search
- Public Class MyComponent
- Inherits System.ComponentModel.Component
- #Region " Component Designer generated code "
-
- Public Sub New(ByVal Container As System.ComponentModel.IContainer)
- MyClass.New()
-
- 'Required for Windows.Forms Class Composition Designer support
- Container.Add(Me)
- End Sub
-
- Public Sub New()
- MyBase.New()
-
- 'This call is required by the Component Designer.
- InitializeComponent()
-
- 'Add any initialization after the InitializeComponent() call
-
- End Sub
-
- 'Required by the Component Designer
- Private components As System.ComponentModel.Container
-
- 'NOTE: The following procedure is required by the Component Designer
- 'It can be modified using the Component Designer.
- 'Do not modify it using the code editor.
- <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
- components = New System.ComponentModel.Container()
- End Sub
-
- #End Region
- Private mText As String
-
- Public Property Text() As String
- Get
- Return mText
- End Get
- Set(ByVal Value As String)
- mText = Value
- End Set
- End Property
-
- Public Function ManipulateText() As String
- Return mText.Substring(2)
- End Function
- End Class
-