We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Putting Class in Component Tray

Thread ID:





694 Jul 31,2002 05:08 PM UTC Jul 31,2002 07:51 PM UTC WinForms 2
Tags: FAQ
Eric Franz
Asked On July 31, 2002 05:08 PM UTC

Does anyone know how to make a class (Class1 for example) that is not a control appear in the toolbox and component tray. The only way I know to get inside the component tray is to inherit from a timer or some other object that already uses it. This is a cheap workaround, does anyone have the right way? Thanks, Eric Franz Physicians Accounting Ltd

Administrator [Syncfusion]
Replied On July 31, 2002 05:17 PM UTC

Make your class derive from the Component class. -Praveen Ramesh

Eric Franz
Replied On July 31, 2002 07:51 PM UTC

I was unable to derive from the component class to get my problem to work. You would assume that the following code would do 2 things. 1: Let me see Class1 in the toolbox, and 2: Let me see Class1 in the Component Tray in the form designer onced I dragged the class to the form. Here is the code: Imports System.ComponentModel _ Public Class Class1 Inherits System.ComponentModel.Component End Class


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon