Slow switching between code & designer views

  • Thread starter Thread starter SamSpide
  • Start date Start date
S

SamSpide

Hi all,

I have a moderate-side 'Windows Form Application' (C++)
project, with several forms.

For some reason switching between code & designer views
(right-click ;view code' or 'view designer') is very slow.
How slow? It can take more than 10 seconds for a truely
moderate-size form.

The best workaround I managed to come up with was to
automatically instantiate (at runtime) as many of the screen-
components as possible, leaving the Designer generated
InitializeComponent() method as slim as possible.

That, of course, is a serious pain.

Better ideas will be welcomed...


I'm using Microsoft Visual Studio Pro 2005 Version
8.0.50727.42 , with 2.0.50727 .NET Framework.


SamSpide
 
Is it slow when you're mucking around with it in design mode, or when you
are running the application?

Mine is slow when switching between the code and designer window for a
Windows Form; I think it's just a known problem with Visual Studio 2005. I
haven't found that it affects the application at runtime, though. I think
I'm probably going to completely grind my teeth down, it annoys me so much.
;-)

Robin S.
 
Back
Top