Partial types trick in PDC build#

As I mentioned before: the WinForms designer and DataSet generators don't create partial types yet in the PDC build of Whidbey. However, you can work around that if you're using Visual Basic .NET: in contrast to C#, VB doesn't require all participating classes to declare themselves as partial. So you can keep the generated file as such, and create another file with a class which is declared partial (Expands Class Form1 for example) and it will work :-)

Comments are closed.
All content © 2012, Jelle Druyts
On this page

Recent Photos
www.flickr.com
This is a Flickr badge showing public photos from Jelle Druyts. Make your own badge here.
Advertising
Top Picks
Statistics
Total Posts: 350
This Year: 0
This Month: 0
This Week: 0
Comments: 530
Archives
Sitemap
Disclaimer
This is my personal website, not my boss', not my mother's, and certainly not the pope's. My personal opinions may be irrelevant, inaccurate, boring or even plain wrong, I'm sorry if that makes you feel uncomfortable. But then again, you don't have to read them, I just hope you'll find something interesting here now and then. I'll certainly do my best. But if you don't like it, go read the pope's blog. I'm sure it's fascinating.

Powered by:
newtelligence dasBlog 2.0.7226.0

Sign In