Hi, I have trouble with this:
I have a simple class:
At runtime I declare an instance of MyClass and I change some of its properties, like this:
MyClass.Prop.SomeProperty=2.
I need to capture this property change, but I don´t know how. I thought that I sholud put the capture after "_prop=value", but the Set/End Set block of MyClass doesn´t execute at all when I change property value.
I have a simple class:
VB.NET:
Public Class MyClass
dim _prop as new MyProp()
Public Property Prop as MyProp
Get
Prop=_Prop
End Get
Set(value as MyProp)
_Prop=value
.... I need to trigger other procedures here, but it doesn´t work
End Set
End Property
end class
Public Class MyProp
...some public properties
Public property SomeProperty as Integer
...
end Class
At runtime I declare an instance of MyClass and I change some of its properties, like this:
MyClass.Prop.SomeProperty=2.
I need to capture this property change, but I don´t know how. I thought that I sholud put the capture after "_prop=value", but the Set/End Set block of MyClass doesn´t execute at all when I change property value.