Control creation

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

Guest

Hi all,
I'm trying to create my own textbox that inherits from the .NET textbox.
I've followed all the steps from MSDN library, but my textbox won't appear in
My User Controls tab.

Here's what i've done:
Created a Control Library project;
Removed Usercontrol1;
Added a class;
Added "Inherits System.Windows.Forms.Textbox";
Built control library;
Added new project (windows app);
Added reference to control library project;

What have I done wrong?

TIA,
DC
 
DC said:
I'm trying to create my own textbox that inherits from the .NET textbox.
I've followed all the steps from MSDN library, but my textbox won't
appear in My User Controls tab.

IIRC, a UserControl within the /same/ Project appears in the TooBox
automatically; a Control built in a separate assembly has to be added
manually!

HTH,
Phill W.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top