Monday, 15 April 2013

c# - can form Contain another form in winforms application? -



c# - can form Contain another form in winforms application? -

i want create 1 form contain form ; sake of browsing different sub-forms in same parent form using parent controls .

you can utilize tabcontrol grouping different controls together, if need have subform, can utilize mdi forms.

this tabcontrol:

it has groupbox each individual tab, can add together , remove please.

from docs tabcontrol:

a tabcontrol contains tab pages, represented tabpage objects add together through tabpages property. order of tab pages in collection reflects order tabs appear in control. user can alter current tabpage clicking 1 of tabs in control.

and mdi:

multiple-document interface (mdi) applications allow display multiple documents @ same time, each document displayed in own window. mdi applications have window menu item submenus switching between windows or documents.

c# winforms forms

No comments:

Post a Comment