Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing MM more questions
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00916588
Message ID:
00916830
Vues:
8
Shawn,

>Thanks Again Bonnie, you are a great help.
>By putting them in one file is easier, would i move them when one class would get to large to work with in the file or do you leave all yours in one file?

Bonnie's on the money with her advice about subclassing (thanks Bonnie). Whether you put each of your subclasses in a separate source code file or all in the same source code file is really a matter of personal preference. I personally prefer to put all classes in a separate source code file...it's a "discoverability" issue. I name all source code files the same as the class they contain...this makes it easy to find classes.

As you'll see in the upcoming version of MM .NET, we are now creating folders under the main project directory to better organize our source code files. For example, under the Windows Forms project directory we have the following folders:

Controls
DataBinding
Forms
Images
Localization
Misc

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform