Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_windows_forms thread: Windows Form Event Handler


Message #1 by lu@n... on Mon, 24 Feb 2003 06:22:53
I have two questions and hope someone could help.
1. When creating a windows form event handler, I have to go to the Class 
Name Dropdown box to choose "Base Class Events" or "Overrides" then 
select the event from the Method Name dropdown box. But other controls' 
events, e.g., command button, are directly accessible without dealing 
with the base class. Why is the difference?
2. Between "Base Class Events" and "Overrides", what's the key difference 
other than the syntax? Which way is better and why?

Many thanks.

  Return to Index