- Right-Click on the heading of the partial class in the class diagram and choose Properties.
- Change the New Member Location property to the file you want to add to.
- Add your method, property, etc. It will now go to the appropriate file location.
Wednesday, March 08, 2006
Partial Classes - Adding a new method from the class designer
Yesterday during the Southern Colorado .Net User Group, a question came regarding adding methods to a particular partial class. This is how it is done.
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment