Component Tray

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Make sure you inherit from the System.ComponentModel.Component class.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
Mark Ramey said:
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.
 
Jan,
oops. your right.

public class MyObject : Component
{
}

is not the same as...

public class MyObject : System.ComponentModel.Component
{
}

Thanks!

Mark Ramey
 
Back
Top