scorpin Posted October 7, 2003 Posted October 7, 2003 in reference to classes, what is the definition of events and methods? and what is the difrence between to the two? Quote
*Experts* Volte Posted October 7, 2003 *Experts* Posted October 7, 2003 Methods are called by you manually when you want to cause something to happen. Events are fired from within the class, and are used to handle certain actions. For example, in a socket class, you may have a Connect method, which *you* call in order to connect, and then a Connected event, which is called by the class when the connection is complete. MSDN contains tons of stuff like this. Open it and start readin'. :) Quote
scorpin Posted October 7, 2003 Author Posted October 7, 2003 so events are private subs and functions and methods are public subs and functions? Quote
*Experts* Volte Posted October 7, 2003 *Experts* Posted October 7, 2003 No, not really. Just read in the MSDN. It tells you all about it in there. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.