>>You should never write code like your example. You should always use the "2" flag of BindEvent() and then use RaiseEvent() to actually call the event.
>
>I disagree. Circumstances vary on how BindEvents is used.
Let's just make it clear that there are two ways to use BindEvent():
1. To encapsulate the functionality of your classes during design
2. To extend the functionality of your classes as an after thought
In my experience, and especially in the designing of a framework which I think is your current task, you shouldn't be using #2.
So #1 is the game. With that said, what type of circumstances do you have in mind?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only