Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# version of VFP PEMSTATUS()
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01444636
Message ID:
01444743
Vues:
36
>Hi Dimitry, the code Bonnie gave you in your other thread on Interfaces showed you how to find the parent form of your textbox classes - it also showed you how to test for the existence of your method, e.g. if(This.Parent is IEnableDisable) that is the beauty of interfaces - they force you to implement all methods defined in the interface ( even if there is no code in them ) so class MyForm:IEnableDisable wont compile unless you implement all of the methods it contains.

Yes, I understand this. Thank you, Pete.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform