Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8356031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:03:10+00:00 2026-06-09T10:03:10+00:00

I am using Visual Studio 2010, C# and WinForms and have created custom component

  • 0

I am using Visual Studio 2010, C# and WinForms and have created custom component like this:

public partial class SlidePanel : Panel 
{
    some code here...
}

So it is a component class not a user control.

What I want is when I drag my component on the windows form to get an icon representing my component below the form. An example would be the existing binding source control – when you add it to form it gives you an icon below the form (on form designer) which you can select and then change properties. How can I do this? The icon can be a generic one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T10:03:11+00:00Added an answer on June 9, 2026 at 10:03 am

    So it is a component class not a user control.

    No, it is neither. It’s still a panel control, you just customized its behavior. If this class is in a project in your solution then you’ll automatically get it added to the toolbox after you compile. At the top, right after the arrow. If that doesn’t happen then you have a setting wrong. Tools + Options, Windows Forms Designer, General, ensure that AutoToolboxPopulate is set to True.

    If you actually want what you describe (icon added at bottom) then you need to create a class that derives from Component. Which is a very different kind of animal, it cannot have a visual representation on the form. It certainly can’t resemble anything like a panel. See this answer for an example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Oh wow is this one annoying me. Using c#, winforms, visual studio 2010 ulti.
I'm using Visual Studio 2010 and C# to build WinForms apps and class libraries.
Using: Microsoft SQL Server 2008 Microsoft Visual Studio 2010 C# .NET 4.0 WinForms Ok
We have developers using Visual Studio 2010 professional and some trying out Visual Studio
I am using Visual Studio 2010 SP1 Ultimate on a c# class library project
Using Visual Studio 2010, I would like to switch over to using InstallShield LE
(Using Visual Studio 2010) I'm trying to create a shared_ptr of an existing class
Using Visual Studio 2010 C++. I have a project which uses MFC and I
I have published a WinForms application from Visual Studio 2010. It uses .NET 4.0.
I'm working with winforms on Windows 7, using C# in Visual Studio 2010. Currently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.