mitchpetel
New member
- Joined
- Aug 24, 2006
- Messages
- 3
- Programming Experience
- Beginner
I type the following into notepad and save as MyClass.vb. This class file works fine in any application I include it in but the nice colapsable/expandable Regions don't work. They are displayed but do not colapsable/expand. What am I missing ? Thanks in advance. Pete
VB.NET:
Imports System
Imports System.Data
Imports System.Data.OleDb
Imports System.Configuration
Public Class Areas
#Region "Members"
Private m_Action_ID As Long = 0
Private m_Goal_ID As Long = 0
Private m_ActionType_ID As Long = 0
#End Region
#Region "Properties"
Public Property Action_ID() As Long
Get
Return m_Action_ID
End Get
Set(ByVal Value As Long)
m_Action_ID = Value
End Set
End Property
Public Property Goal_ID() As Long
Get
Return m_Goal_ID
End Get
Set(ByVal Value As Long)
m_Goal_ID = Value
End Set
End Property
Public Property ActionType_ID() As Long
Get
Return m_ActionType_ID
End Get
Set(ByVal Value As Long)
m_ActionType_ID = Value
End Set
End Property
#End Region
End Class