Hello,
I am new to C# and have a question about event handling. In VB you can do:
How would I do something similiar in C# so I could trap the events of an object?Code:Private Withevents cnADO As New ADODB.Connection
Thanks.
Printable View
Hello,
I am new to C# and have a question about event handling. In VB you can do:
How would I do something similiar in C# so I could trap the events of an object?Code:Private Withevents cnADO As New ADODB.Connection
Thanks.
lookup "delegates"
this is the new paradigm in C#.