Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing a textbox
Message
 
À
05/11/2003 10:29:59
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00846490
Message ID:
00846510
Vues:
26
Hi Km,

You can't use the visual designer to subclass the textbox. You need to create a new class and have it inherit from the textbox class:
public class myTextBox : TextBox
{

}
>How can I subclass a textbox? I created a Windows Control Library project and choose "Add Inherited Control" from the Add New Item menu. However "textbox" is not available. Could any body show me the way?
>
>TIA
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform