all groups > dotnet windows forms designtime > march 2006 >
You're in the

dotnet windows forms designtime

group:

Upgrade VS2003 to VS2005 so Winform is split into separate .Designer.cs file (partial class)



Upgrade VS2003 to VS2005 so Winform is split into separate .Designer.cs file (partial class) Kai Bohli
3/29/2006 12:00:00 AM
dotnet windows forms designtime: Hi All !

I got a few heavy forms with a lot of controls. What is the easiest/fastest way to convert these to
"partial class" type (Separate Designer.cs file) ?

TIA

Best wishes
Best wishes
Kai Bohli
kaiboe@online.no
Re: Upgrade VS2003 to VS2005 so Winform is split into separate .Designer.cs file (partial class) Martin Boltendal
4/7/2006 3:15:00 PM
Hi Kai,

The upgrade wizard for vs2005 doesn't convert your forms to the new coding
style (as you probably already found out).
The most simplest way is to create a new form and open only the code
windows.
Then look at the structure of the files and copy the code from the original
form-code-file to the new one respecting the structure.

This is how I did it. Ignore the errors and remove the original (exclude).
Rebuild and see if its correct.

Hope this is what you where looking for.

Greets,

Martin


[quoted text, click to view]

AddThis Social Bookmark Button