Alex,
If you are using VS .NET 2005, and the control is in a project that you
have loaded, it should automatically be in the toolbox.
If you are using VS .NET 2003, then you should be able to right click on
the toolbox and select the item to add new controls. You can then select
your control from the list, and have it show in the toolbox.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Alex K." <Al***@discussions.microsoft.com> wrote in message
news:C5**********************************@microsof t.com...
Hi everyone
I have a class MyListBox derived from standard ListBox. To use it on a
form
I have to add it manually in the code because it is not shown in the
toolbox.
So usually I would put a ListBox on the form and then in code replace all
occurrences of ListBox by MyListBox. It works fine, but I am wondering is
there any better way to do this, like to include my class to toolbox
perhaps?
Thak you