Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Subclass A Control
Message
De
02/04/2009 16:09:32
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01392835
Message ID:
01392853
Vues:
67
>>>I have installed these controls http://www.componentfactory.com/free-windows-forms-controls.php
>>>
>>>They appear in the toolbox. How do I subclass the KryptonHeaderGroupControl? I would like to create a base level control based on it, then subclass it some more, but I don't know how to make a subclass.
>>
>>
>>
>>   using KryptonHeaderGroup...
>>
>>   public class MyKryptonControl : KryptonHeaderGroupControl
>>   {
>>      public MyKryptonControl ()
>>      {
>>      }
>>   }
>>
>
>
>Actually, I created a UserControl, dropped the group on it, and there it is.

You're not really creating a subclass then.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform