user control as an object

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

Guest

Hi All,
I have created a user control in my application that I would like to show
in the lower left corner of all forms. Basically this control holds
information for support (IP, user name, computer name, etc). My problem is I
do not know how to include this new control on my forms.

Thanks,
Ron
 
Add a "Windows Control Library" to your solution, add the controls and logic
necessary to complete the user control, compile the "Windows Control
Library" project. Now switch over to your form in design view and look for
the "My User Controls" section in the toolbox. You should now be able to
drag and drop the control from the toolbox onto the form. If this control
needs to go on all forms, then you may consider creating a base form, adding
your user control, and then inheriting all forms from your base form.
 

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