Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing .Net base classes
Message
From
29/08/2002 12:17:12
 
 
To
29/08/2002 09:22:57
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00694357
Message ID:
00695012
Views:
13
This message has been marked as the solution to the initial question of the thread.
Christian,

We have a single class library (project) where we put all our "base classes" . We have one class that contains all the programmatically defined sub-classes, like I showed in my last post. We also have several user control classes in this same class library. You can put anything in a class library, it doesn't matter if it's a user control or just a single .cs file (or .vb). And yes, you can add these to the toolbox (just right-click on the ToolBox and choose Customize Toolbox).

Remember, anything in a project (class library) is compiled into a single .DLL (except for the "startup project", shown in BOLD in the Solution Explorer, which becomes the .EXE).

HTH,
~~Bonnie



>Ok, that get me started. Two last questions:
>
>1- Is it possible to make class libraries (including several control subclass like you did) in a single class and then add tjhis class to the toolbox (again like we did in VFP)?
>
>2- Are you starting form a class project or a user control project? I think that the class project is the answer but just to be sure. The user control project would allow me to design the control visually but not to include it in a calss library.
>
>Thank you for your help,
>Chrstian
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