> If we modify the base form in any significant way, the
> generated code in inherited forms or their resource files
> will often become corrupted and we have to correct the
> situation by hand. This can be a very time consuming and
> frustrating process. If the base form is left alone, then it
> will be fine. Anyway, what this shows is that it is at best a
> tricky architecture and you need to have a fat buffer to
> account for possible lost time.
I have this too. I have 2 forms I can't open in the designer because
every time I do, the VS.NET 2005 forms designer regens
the code for the controls, but forgets to emit a line which instantiates a
usercontrol on the form, which of course crashes the form
in the designer.
This sucks bigtime ofcourse, I have to comment out the usercontrol,
then I can design it, copy back the code for the
usercontrol and save the form.
Also big forms with lots of controls are really slow in the designer
because every time you flip between form and code and
back and you click the form it will repaint AND regen itself. At least with
forms converted from vs.net 2003.
FB
>
> Sébastien
>
> On 7/28/06, Dean Cleaver <[EMAIL PROTECTED]> wrote:
> > Well, I've probably gone the worst way possible then - I visually
> > inherit both UserControls and Forms. The visual inheritance
> on Forms
> > is to maintain a consistent user interface, and for UserControls it
> > allows code generated controls to be visually mo
> dified for aesthetic reasons.
> >
> > As I've mentioned before, it does work - I am doing this in
> 3 rather large projects (totalling about 1.5 million lines of
> code - about 80 to 150 inherited UserControls and about 50 to
> 100 inherited Forms each).
> >
> > Dino
> >
> > -----Original Message-----
> > From: Discussion of advanced .NET topics.
> > [mailto:[EMAIL PROTECTED] On Behalf Of Sébastien
> > Lorion
> > Sent: Saturday, 29 July 2006 07:57
> > To: [email protected]
> > Subject: Re: [ADVANCED-DOTNET] VS2005 s#cks!!!!!!!!!!!!!
> >
> > We have opted to stay far away from Form inheritance and use
> > exclusively UserControls instead. So far, it has proven tolerable.
> > Besides, the model is much like ASP.NET so it makes it easier to
> > design for both when there is such a need.
> >
> > Sébastien
> >
> > On 7/28/06, Franklin Gray <[EMAIL PROTECTED]> wrote:
> > > Sorry all for my outburst. I've never had so much pain
> in going to
> > > the next version before except when moving from COM to dotnet and
> > > that was expected. At least then the IDE didn't have
> much problems.
> > > It really buggs me that I have to put events into my base
> form that
> > > I inherit from and catch the events in the inheriting form.
> > > Somewhere I think MS forgot what inheritance is all about.
> > >
> > > Thanks for the links.
> > >
> > >
> > >
> > >
> > > Message from Sébastien Lorion
> > > <[EMAIL PROTECTED]>@DISCUSS.DEVELOP.COM received on
> > > 07/28/2006
> > > 01:55 PM
> > >
> > > 07/28/2006 01:55 PM
> > >
> > >
> > >
> > > Sébastien Lorion <[EMAIL PROTECTED]>@DISCUSS.DEVELOP.COM
> > >
> > > Please respond to "Discussion of advanced .NET topics."
> > > <[email protected]>
> > > Sent by "Discussion of advanced .NET topics."
> > > <[email protected]>
> > >
> > >
> > >
> > > To: [email protected]
> > > cc:
> > > Subject: Re: [ADVANCED-DOTNET] VS2005
> s#cks!!!!!!!!!!!!!
> > >
> > > Humm, consider yourself lucky to not have worked with VS
> 2005 BETA 2.
> > > RTM is rock stable compared to it ! Btw, BETA 1 was
> mostly fine, so
> > > wtf happened between ?
> > >
> > > Sébastien
> > >
> > > On 7/28/06, Frans Bouma <[EMAIL PROTECTED]> wrote:
> > > > > http://www.windowsforms.net/articles/debuggingwsod.aspx
> > > >
> > > > White Screen of .... 'Darn' ??? :) haha :)
> > > >
> > > > To Franklin: yes it sucks. MS has released some
> patches,
> > > > call
> > > PSS for the patches. Yes that sucks even more, we all ask MS
> > > > year after year to release patches early, but that's
> not the case,
> > > because if they'd do that the world would obvious come to an
> > > > end... </sarcasm>
> > > >
> > > > FB
> > > >
> > > > ===================================
> > > > This list is hosted by DevelopMentor(r) http://www.develop.com
> > > >
> > > > View archives and manage your subscription(s) at
> > > > http://discuss.develop.com
> > > >
> > >
> > >
> > > --
> > > Sébastien Lorion
> > > Software Architect / Architecte organique
> [EMAIL PROTECTED]
> > >
> > > ===================================
> > > This list is hosted by DevelopMentor(r) http://www.develop.com
> > >
> > > View archives and manage your subscription(s) at
> > > http://discuss.develop.com
> > >
> > >
> > >
> > > ===================================
> > > This list is hosted by DevelopMentor(r) http://www.develop.com
> > >
> > > View archives and manage your subscription(s) at
> > > http://discuss.develop.com
> > >
> >
> >
> > --
> > Sébastien Lorion
> > Software Architect / Architecte organique [EMAIL PROTECTED]
> >
> > ===================================
> > This list is hosted by DevelopMentor(r) http://www.develop.com
> >
> > View archives and manage your subscription(s) at
> > http://discuss.develop.com
> >
> > ===================================
> > This list is hosted by DevelopMentor(r) http://www.develop.com
> >
> > View archives and manage your subscription(s) at
> > http://discuss.develop.com
> >
>
>
> --
> Sébastien Lorion
> Software Architect / Architecte organique [EMAIL PROTECTED]
>
> ===================================
> This list is hosted by DevelopMentor® http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>
>
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com