Win forms designer - controlling the designer code generation

  • Thread starter Thread starter stephen ryan
  • Start date Start date
S

stephen ryan

Hi

Im creating an application generator for VS.

I would like to know if anyone knows how to control Winforms code generation
features, ie turn the on and off while controlling the population of
controls in winforms.

We have created our own winform control population system using runtime
control class generation but would like to know if winform control designer
supplied with VS can be controlled as the SDK level

many thank

Steve Ryan
 
This post should probably be in
microsoft.public.dotnet.framework.windowsforms.designtime.

You can control a lot of the designer created code, but I don't know if you
can just turn it off or on, other than using:
Designer serialization attributes or ShouldSerializeXXXX methods.

Also VS seems to know when a file changes and updates the designer code when
the user saves when in the designer.
You may need to write a VS Addin to better control things.

Eric
 
Back
Top