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:
01471702
Vues:
68
>>>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.

Ahh
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform