Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB AddHandler --> C# equiv.
Message
De
20/07/2004 21:34:08
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00926398
Message ID:
00926403
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform