Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does Visual Inheritance work in .Net?
Message
 
 
À
21/06/2007 21:20:58
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Divers
Thread ID:
01234107
Message ID:
01234946
Vues:
12
Hi, Bonnie.

>But as Martin also mentioned, most .Net developers are using custom controls and evidently don't inherit (at least visually) from them, so it is, largely, a non issue in .NET circles.
>
>I must have missed that comment from Martin. I don't mean to sound argumentative, but I certainly have a number of custom controls that I inherit from visually and I don't consider this an exception. Most of mine are typically inherited from custom UserControls, but we're still talking about visual inheritance. I'm sure there's plenty of that going on in .NET circles.

Indeed, what I tried to express is that most people use Custom Controls, and then it is normal that you are careful enough to make sure behavior is correct in any circumstance (subclassing, repainting, docking, and so forth). I never tried to imply people don't subclass them. My point was that it is that the way you tipically handle this is different from VFP, where evrything goes in the same bucket (tipically an EXE file).

Regards,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform