Re: VB .NET 2.0 MonoDevelop
You need to declare another variable which the property returns and is set as its value.
Re: VB .NET 2.0 MonoDevelop
umm... yeah... normally there's a private backing variable and you get and set that...like this:
Code:
Private mUseVisualStyleBackColor as Boolean
Public Property UseVisualStyleBackColor As Boolean
Get
Return mUseVisualStyleBackColor
End Get
Set(value As Boolean)
mUseVisualStyleBackColor = value
End Set
end property
because you had Return UseVisualStyleBackColor it would have caleld the property again, and again and again....
-tg