e.g.
Dim list As New PersonsBindingList(Of Person)
Dim p As New Person("Peter")
list.Add(p)
Within the Person class, I want to raise a custom event in the PersonsBindingList. How can this be accomplished? Must I also pass the list object to the constructor of the Person class so that I can obtain a reference to the list within the Person class and then use RaiseEvent list.MyCustomEvent()? Is there a better way?
Thank you.
2007-03-15
11:15:36
·
1 answers
·
asked by
Hello World
1
in
Computers & Internet
➔ Programming & Design