Results 1 to 2 of 2

Thread: events in C#

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Posts
    168

    events in C#

    Hello,

    I am new to C# and have a question about event handling. In VB you can do:

    Code:
    Private Withevents cnADO As New ADODB.Connection
    How would I do something similiar in C# so I could trap the events of an object?

    Thanks.

  2. #2
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327
    lookup "delegates"

    this is the new paradigm in C#.
    -scott
    he he he

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width