Hi Bob,
You have two options:
1. You can create a custom item template. Whenever you add a new class yourself, you can choose that template.
2. You can create a custom project template with the required class(es). Whenever you create a new project, you can choose that template.
In both cases, design your class or project the way you want it to look like, including references, namespaces, imports etc. Then choose File | Export template. You'll get a wizard that guides you through creating one of the two template types. When the wizard is ready, you'll have a .zip file with all the required files that you can customize further.
If you search Google for some of the replacement terms in the template files (like $safeitemname$) you'll find some interesting background articles about customizing your item and project templates, like this one:
http://msdn2.microsoft.com/en-us/library/eehb4faa(VS.80).aspx
Additionally, you should also be able to customize the default templates located here: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out
this post.