Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB AddHandler --> C# equiv.
Message
From
20/07/2004 21:34:08
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00926398
Message ID:
00926403
Views:
14
Thanks Danny,

That puts mud in the water :) I'm looking for C# code.

Below is a link to the sample code I'm trying to duplicate in C#.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/custcntrlsamp1.asp


>>What is the equivalent in C# for the following VB.NET statements? o is a TextBox object passed into the method:
>
>AddHandler o.Validating, New System.ComponentModel.CancelEventHandler(AddressOf OnValidating)
>

>Answer 1
>
>AddHandler o.Validating, AddressOf Me.RoutineName
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform