Jay discusses the use of partial classes in Windows Forms 2.0

This new feature, which isn’t limited to Windows Forms, allows a single class to extend across multiple files, isn’t limited to Windows Forms but the designer-generated code is just screaming out for a solution like this.

Jay writes:

Winforms designed code and C# partial classes

In Whidbey, the WinForms designer takes advantage of a new C# language feature called “

partial classes

”.  This allows them to pull out the designer generated code into a separate file.  It has several advantages…

Author: Duncan Mackenzie

I'm the Developer Lead for the Channel 9 team, formerly worked on MSDN as a developer, content strategist and author.

Leave a Reply