Hi,
what is the best way to create a partial class to move all windows form designer code from the main class file (the way the 2005 IDE creates).
I have a number of forms that were converted from vs2003, and I want to go through and seperate the winform designer stuff out.
what are the gothcha's
thanks.
Lex.

Create partial class on upgraded code - vs2003-->vs2005 (extract windows form designer code)
Morten Meldal
_
Partial Class Form1
End Class
And then cut all of the designer stuff from the original class file (including the Inherits System.Windows.Forms.Form statement, if you like) and paste it into the new partial. I’ve done this for several of my VS2003 projects, and it all went pretty quickly and easily.
We’ve tossed around the idea of providing a way to do this automatically in future versions, but it’s kind of lower down on the priority list with respect to other features.
--Matt--*
Timm2001
thanks matthew, I will give it a try.
.
JBailo
I'm not sure how you'd tell the IDE to regenerate that code to a different file, but if you created partial classes using the same naming convention that VB2005 uses, perhaps it will just happen.