page 1 of 1
Comments: 5 | Views: 919
JohnAskew
JohnAskew
9 girl in pink sweater
Could you list your pros/cons opinions, suggestions regarding the use of visual form inheritance with VS2005 Windows.Forms, and VS2008 ?

Thanks in advance.
TommyCarlier
TommyCarlier
Trust me, I'm from the Internets
I don't use visual inheritance. It's a royal pain in the (I need to watch my language). I do create Form-classes derived from other Form-classes, but I never use the visual designer in those cases.
I think it depends on how much you inherit and what not.  Definitely without controls is fine.

We use with controls also, but typically our application has many different views into database tables that are 1 of a few possible variations WRT the controls present, so we have a base form and several base "views".  When creating new windows we select which of those views on the data we will use.

This is VS2005.

Yes, it certainly isn't pain free but with time the pains are pretty much gone as the base forms have evolved and smoothed the pains.
BlackTiger
BlackTiger
If you stumbled and fell down, it doesn't mean yet, that you're going in the wrong direction.
(sarcasm here)

Next "HUGE PROBLEM": Why web form's designer in ASP.NET doesn't allows to modify properties of "master page"?

People! It's boring! Do everything on proper order. Don't be "porsche"...
page 1 of 1
Comments: 5 | Views: 919