Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing default of DrawGrid and SnapToGrid
Message
From
07/01/2005 12:19:59
 
 
General information
Forum:
ASP.NET
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00973440
Message ID:
00975165
Views:
11
Kevin,

>>Sort of. What I can't quite get my head around is the creation of my custom base classes (which are supposed to be generic) within a specific solution, and them then being available to other soltions?<

Well, when you need to add the custom base classes to another solution, you simply add a reference to it, just like you would with any other class library. And add it to your toolbox as well, so you can drag the controls to your IDE. The namespace for your custom base classes should be something like MyCompany.WinUI.MyBaseClasses.

~~Bonnie





>>>>However, this leads to another question. How do I create this class, without it being tied to a specific Project / Solution? In VS2003, File / New / File does not give an option to creaate a standalone class.<
>>
>>Well, to start, you'd need to have the class library included in your Solution so you can compile it to a .DLL. We have one class library where we keep all our custom base classes (there's other classes in addition to the non-visually sub-classed controls ... such as certain types of forms that we use a lot). Anyway, this class library is always added to the solution of whatever app we're working on. We control the versions by using VSS and sharing those files.
>>
>>Doest that help any?
>
>Sort of. What I can't quite get my head around is the creation of my custom base classes (which are supposed to be generic) within a specific solution, and them then being available to other soltions?
>
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform