Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Events in class 1

Status
Not open for further replies.

matthewking

Programmer
Jul 15, 2002
75
ES
Hi,

How would I declare an event in a class 'client' and raise the event at any time in the class, and have the functionality for the event in the form that creates an instance of the class 'client' ?

basically, I have a server class which is also the form, and I have a clientservice class, and I want to raise events like connected, disconnected etc to the form, so I can drop the clientservice from the array of connected clients.

Thanks in advance, Matt.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top