c# winForms open forms inside mainform

Posted by user508284 on Stack Overflow See other posts from Stack Overflow or by user508284
Published on 2010-12-27T10:05:07Z Indexed on 2010/12/27 10:53 UTC
Read the original article Hit count: 368

Filed under:
|
|

Hello guys, I have programmed c# application i will post screenshot. In this main form is 3 buttons which opens different forms. Now i decided to modify this application I want to Make one main form with strip menu which will open this forms. I used this code but i don't like or i'm doing something wrong. I don't like because there is child controls(minimize, maximize, close) in parent (please see second picture ):

alt text

Please advice me something. Is MDI good for such job? Thanks!

Sell sell = new Sell();
sell.MdiParent = this;
sell.Dock = DockStyle.Fill;
sell.Show();`

alt text

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms