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.
<span deactivatedstyle="FONT-FAMILY: Tahoma"> <b> <a id="viewpost.ascx_TitleUrl" href="http://blogs.msdn.com/jaybaz_ms/archive/2004/04/28/122392.aspx">Winforms designed code and C# partial classes</a> </b> </span>
_In Whidbey, the WinForms designer takes advantage of a new C# language feature called “_ [ _partial classes_ ](http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=C%23+partial+classes) _”. This allows them to pull out the designer generated code into a separate file. It has several advantages...
Thoughts on this post? Feel free to reach out on Twitter!
2004-04-30 10:02 +0000
0b01fd9 @ 2019-02-21