Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to subclass control?
Message
 
 
To
08/04/2007 12:53:20
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01184867
Message ID:
01213277
Views:
21
Bonnie,

Thank you for your prompt reply.

Do I understand correctly that a good practice is to create a separate solution for my class library? And this solution/project would have to be references in all my other solutions where the classes will be used, right?

>No problem, Dmitry.
>
>When you have the IDE open in the designer view (not the code view), go to the ToolBox, right-click anywhere and choose the Add/Remove Items (in 2.0, it's "Choose Items..."), click on Browse and find the .DLL where your sub-classed controls are (you obviously needed to have compiled the class library after you created it). That's it ... they'll then be added to your ToolBox.
>
>They will be in your Toolbox for all Solutions.
>
>~~Bonnie
>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform