Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom controls
Message
 
 
À
28/05/2009 04:02:22
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01402091
Message ID:
01402426
Vues:
44
>>>>I haven't set any.
>>>
>>>OK ... then maybe you should! <g>
>>>
>>>~~Bonnie
>>>
>>Is there a way for the custom methods to somehow appear to be able to visually select it in properties? Or I would have to just code it?
>
>You are still trying to do what others have pointed out is not possible - viz adding method code to an instance of the class (a design time instance but an instance nonetheless).
>
>As Paul pointed out you could maybe use a public event instead - it will be shown in the properties window and double clicking on it will create a handler in the form.

Actually, I asked this question first :)

Anyway, I settled for custom property and a method of the form - the simpliest solution for now.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform