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

  • Thread starter Thread starter Christopher Lusardi
  • Start date 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
 
1. Put a button on first form and tell it to show or showdialog in button
click event.

2. Tabcontrol?
 
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.
 
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
 
Back
Top