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 5938195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:39:01+00:00 2026-05-22T15:39:01+00:00

I want to create a custom component in C# and the custom component is

  • 0

I want to create a custom component in C# and the custom component is going to act as a gauge and consist of a panel with some icons inside it. Is there a way to create a custom panel component with all of these items inside it and then interact with it all as one component?

  • 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-05-22T15:39:02+00:00Added an answer on May 22, 2026 at 3:39 pm

    It is called a Usercontrol (or composite control):

    • How to add and create a Usercontrol in Visual Studio 2008 (Says 2008, but everything should also apply to 2010)

    • Walkthrough: Authoring a Composite Control with Visual C#

    See also: Walkthrough: Creating a Windows Forms User Control that Supports Lookup Databinding

    To create the .NET user control

    1. Create a Visual C# Windows Forms Control Library project named
      WindowsFormsControlLibrary1: On the
      File menu, click New and then click
      Project. In the Visual C# folder,
      select Windows Forms Control Library.
      Accept the WindowsFormsControlLibrary1
      project name by clicking OK. By
      default, the name of the .NET control
      will be UserControl1.

    2. Add child controls to UserControl1: In the Toolbox, open the All Windows
      Forms list. Drag a Button control to
      the UserControl1 design surface. Also
      add a TextBox control.

    3. In Solution Explorer, double-click UserControl1.Designer.cs to open it
      for editing. Change the declarations
      of the TextBox and the Button from
      private to public.

    4. Build the project: On the Build menu, click Build Solution.

    Ref.

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

Sidebar

Related Questions

How do you create your own custom component for vb.net 2008? I want it
I'm trying to create with Delphi a component inherited from TLabel, with some custom
I want to create a custom component in JSF2 (kind of improve outputLink), is
I want to create a (simple, hopefully) custom Swing component by composing several existing
In my flex app there are a few custom components. I want to create
I want to create a reusable component (a custom control) for the iPhone. It
I want to create a custom control in C#. But every time I have
I want to create a custom MSBuild task that changes my .cs files before
I want to create a custom set that will automatically convert objects into a
I want to create a custom property on one of my entities mapped from

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.