BindEvent and RaiseEvent

Author: Grigore Dolghin

Posted: 2005-10-24 at 15:25:47

Hello, everyone

I think I am missing the phylosophy here. What's the difference between

these two? As far as I can understand, I can raise an event from any method;

in other words, RaiseEvent can cause a custom method to behave like an

event - to get executed when something happens. Well; let's assume in a

button Click() snippet I enter a RaiseEvent() and raise a custom method as

event. The same can be achieved by binding through BindEvent my custom

method and button's Click(). Also, I can simply call my custom method from

button Click().

What's the difference? what can be done thru RaiseEvent and cannot be done

thru BindEvent()? a sample would be greatly appreciated. I don't understand

what I am missing, although I am obviusly missing something.

Thank you.

©2005 Grigore Dolghin