Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does Visual Inheritance work in .Net?
Message
De
22/06/2007 00:58:42
 
 
À
21/06/2007 21:53:43
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:
01234918
Vues:
8
>A-HA! So I'm not the only one asleep here <bg>. Martin's answer referenced here is MESSAGE # 1234592.

Touché!! <g>

~~Bonnie



>>Pertti,
>>
>>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.
>>
>>~~Bonnie
>
>A-HA! So I'm not the only one asleep here <bg>. Martin's answer referenced here is MESSAGE # 1234592.
>
>Cheers!
>
>Pertti
>
>>
>>
>>
>>
>>>Hank:
>>>
>>>>I like Martin's reply best of all: they goofed on the visual designers in Winforms (they should have asked the VFP team, who had learned how to do it right <s> -- that's my take on it), as they did on other area where they did not have deep experience (think: data handling). And except for those few things and some others, as the song goes, everything's going great!
>>>>
>>>
>>>Indeed. To me, too, it now appears that the inherent .NET OOP architecture is fine and consistent, it is the visual designer that is not compliant in all cases. How could this "minor" thing have happened, and even more puzzling, why hasn't it been fixed in 2 major versions by a Redmond -load of very talented developers. It is, well, puzzling. 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 just keep thinking back on one of the classic explanations of OOP's architectural superiority, the one where you have already developed a whole lot of forms in a project, when your client tells you that they want you to use a different font across the application. Tomorrow, preferably today. You change the font in the appropriate baseclasses in a few minutes and move on. You didn't need in any way to prepare for this type of situation as you were (visually) building the forms, it is handled automatically by the inheritance chain.
>>>
>>>
>>>Pertti
>>>
>>>P.S. I got a kick out of that song
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform