When I drag my component from the toolbox to the form nothing happens. The component doesn't have any visuals but I expected it to show up on in the component tray. How can I get my components to show up in the component tray, like timers, etc

Thanks

Mark

Re: Component Tray by Jan

Jan
Wed Jan 21 12:29:48 CST 2004

Make sure you inherit from the System.ComponentModel.Component class.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Mark Ramey" <anonymous@discussions.microsoft.com> schreef in bericht
news:EFA4897D-40D6-4773-874B-8566F896F254@microsoft.com...
> When I drag my component from the toolbox to the form nothing happens.
The component doesn't have any visuals but I expected it to show up on in
the component tray. How can I get my components to show up in the component
tray, like timers, etc.
>
> Thanks!
>
> Mark



Re: Component Tray by anonymous

anonymous
Wed Jan 21 14:36:08 CST 2004

I did


Re: Component Tray by anonymous

anonymous
Wed Jan 21 14:46:09 CST 2004

Jan,
oops. your right.

public class MyObject : Component
{
}

is not the same as...

public class MyObject : System.ComponentModel.Component
{
}

Thanks!

Mark Ramey