"maxixi" <greenxiar@hotmail.com> schrieb:
> My controls inherits from System.Windows.Forms.ComboBox,
> After i build the project, i cannot find it on
> the toolbox. I find the toolbox automatically adds
> usercontrols. Why not inherits controls?
Add a usercontrol, compile the project, adapt the 'Inherits...' line to make
the control inherit from 'ComboBox' and remove unnecessary parts of the
control's implementation.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
maxixi - 30 Mar 2005 23:12 GMT
But if i reset the toolbox and rebuild the project, all
the direct-derived control are missing.
This method cannot be "Reset" ?
> "maxixi" <greenxiar@hotmail.com> schrieb:
> > My controls inherits from System.Windows.Forms.ComboBox,
[quoted text clipped - 5 lines]
> the control inherit from 'ComboBox' and remove unnecessary parts of the
> control's implementation.
Frank Hileman - 31 Mar 2005 15:21 GMT
Those kind have to be added manually to the Toolbox, by browsing to a dll.
Best to keep them in a separate class library project.
Regards,
Frank Hileman
check out VG.net: http://www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor
> But if i reset the toolbox and rebuild the project, all
> the direct-derived control are missing.
[quoted text clipped - 11 lines]
>> the control inherit from 'ComboBox' and remove unnecessary parts of the
>> control's implementation.