Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to subclass control?
Message
De
08/04/2007 20:09:34
 
 
À
08/04/2007 20:05:01
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01184867
Message ID:
01213332
Vues:
19
>>Mm.. So when you want to create your own Class Library of these classes that can be sub-classed visually, what do you use as a "base"? That is, it is not a Class Library but something else, right?
>
>Right. If you're creating a MyBaseUserControl, you use "UserControl" as the base class. MyBaseForm uses WindowsForm. Just like you'd expect. etc.etc.etc.
>

Thank you.

>My kids haven't lived with me for a long time, so that's not an issue. When they come to visit, they love watching movies on our big-screen projection system.
>

I agree, a good movie is better than all these American Idol, Dancing with Stars, and other "entertainment" for kids <g>.
"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