Win forms designer - controlling the designer code generation

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
 
E

eschneider

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
 
S

stephen ryan

many thanks

that what we though.

we will create a New Win forms designer

steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top