How To Create New Form From Form Or Tabs On A Form

  • Thread starter Christopher Lusardi
  • Start date
C

Christopher Lusardi

Hello,

Is it possible to do any of the following in the same application?

(1) Have a form open up other forms (windows).
(2) Have tabs with a form.

Thanks,
Christopher Lusardi
 
V

vbnetdev

1. Put a button on first form and tell it to show or showdialog in button
click event.

2. Tabcontrol?
 
G

Guest

Hi Christopher,

Regarding question number 2, you can create your own custom control
(deriving from System.Windows.Forms.UserControl) and include it as content to
various TabPage objects in a TabControl. However, you can not embed Form
instances in another non-toplevel control.
 
C

Christopher Lusardi

vbnetdev said:
1. Put a button on first form and tell it to show or showdialog in button
click event.

Is there anything wrong with using the "visible" property? I will only
have a few controls, and only one is main one.

Chris Lusardi
 

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

Top