Tabcontrol without the tabs

  • Thread starter Thread starter =?iso-8859-1?Q?Ant=F4nio_Jos=E9_Formiga_Neves?=
  • Start date Start date
?

=?iso-8859-1?Q?Ant=F4nio_Jos=E9_Formiga_Neves?=

I want to merge two form into one, with 2 buttons choosing which form must
apper and hide the other. And the 2 forms must be in the same position.

Someone help me indicating which any class or tutorial.

Thanks

Formiga
 
I want to merge two form into one, with 2 buttons choosing which form
must apper and hide the other. And the 2 forms must be in the same
position.

Someone help me indicating which any class or tutorial.

I think the simplest approach would be to create two UserControls into
which you design the contents of each form, and then put an instance of
each UserControl into the new combined form along with the two buttons
to control display of each.

Then, depending on which button is clicked, you show one of the
UserControls and hide the other.

In the Designer, it should be simple enough to align both UserControls
so that they occupy the same place in the form.

Pete
 

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