Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# version of VFP PEMSTATUS()
Message
De
18/01/2010 20:01:56
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01444636
Message ID:
01444660
Vues:
45
>>
>>Why you'd need it for methods I don't know as intellisense will tell you it doesn't exist and it won't compile without errors...
>
>The reason I started looking for this is due to a problem I ran into with Interface (see my message on Interface). Basically I want the OnTextChanged method of my Textbox base class that is used by many forms to call a certain method of a form if the form has the method. That is, not all forms will have this method but all forms will use this Textbox class as a base. So this is not at compile time but at run time.

Any reason why the method has to belong to a form? If so, then you might look at Type.GetMethods():

http://www.csharp-examples.net/get-method-names/
http://msdn.microsoft.com/en-us/library/4d848zkb.aspx
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform