Click to See Complete Forum and Search --> : Forms


redsolo
April 16th, 2003, 06:16 AM
Is it possible in C# that make a form being a child to another form's container control like Panel, and dock in all client?

And how can I make it possible?











thanx all

pareshgh
April 16th, 2003, 12:38 PM
hi,

you "Cannot add a top level control to a control"
however you may consider MDI application where you have windows.

-Paresh

pareshgh
April 16th, 2003, 12:39 PM
why would you need anyways.

Paresh

redsolo
April 16th, 2003, 12:49 PM
Thanks, it is not MDI
It works in Dialog template, Delphi has a perfect dialog merging interface that can merger one form to another form's container control.
I am looking for an implement in C# ,I tried a lot times,but debug message always showed that Top Control cann't be child of another control.

I am still looking for....

Can you give me some tips ?
:confused:

pareshgh
April 16th, 2003, 12:51 PM
the inheritance tree of Form isn't allowing.

we are not discussing the pros and cons of any language no offense also.

you can make use of panels instead

or use MDI app without menu , take out all menu, MDI is for multiple documents.

check some samples and try removing all the menus and then try adding forms one by one.

Paresh