Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Programming in Boo
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01471462
Message ID:
01471701
Vues:
70
>>At the most, Boo's compiler does more, as I indicated. For example, if I have a button b, then I can define an eventhandler and an eventhandler method like so:
>>
>>b.Click += def(o,e):
>> b.Text = "Clicked"
>
>Not sure what the (o,e) means, but in C# you simple do:
>
>b.Click += ButtonClick
>
>
>Seems less verbose to me

Hank's example (and mine) were 'self-contained' - you would have to implement the ButtonClick() method.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform