PC Review


Reply
Thread Tools Rate Thread

Component Tray

 
 
=?Utf-8?B?TWFyayBSYW1leQ==?=
Guest
Posts: n/a
 
      21st Jan 2004
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
 
Reply With Quote
 
 
 
 
Jan Tielens
Guest
Posts: n/a
 
      21st Jan 2004
Make sure you inherit from the System.ComponentModel.Component class.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Mark Ramey" <(E-Mail Removed)> schreef in bericht
news:EFA4897D-40D6-4773-874B-(E-Mail Removed)...
> 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



 
Reply With Quote
 
=?Utf-8?B?TWFyayBSYW1leQ==?=
Guest
Posts: n/a
 
      21st Jan 2004
I did

 
Reply With Quote
 
=?Utf-8?B?TWFyayBSYW1leQ==?=
Guest
Posts: n/a
 
      21st Jan 2004
Jan,
oops. your right.

public class MyObject : Component
{
}

is not the same as...

public class MyObject : System.ComponentModel.Component
{
}

Thanks!

Mark Ramey

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add slqconnect object to component tray clara Microsoft VB .NET 0 14th Jan 2008 08:29 PM
Adding a UserControl to the Component Tray ian.kemp@gmail.com Microsoft Dot NET Framework Forms 1 18th Sep 2006 11:59 AM
Create control in VS2005 that goes in component tray Evan Camilleri Microsoft Dot NET Compact Framework 2 17th Jun 2006 10:15 PM
make usercontrol appear in component tray Dave Microsoft VB .NET 1 3rd Dec 2004 02:54 PM
Suppress Display of Specific Items in Component Tray? Greg Dunn Microsoft Dot NET Framework Forms 1 3rd Jan 2004 05:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:24 PM.