Click here to Skip to main content
See more: C#4.0 WinForm
Form form1 = new Form();
form1.TopLevel = false;
form1.Dock = DockStyle.Fill;
form.FormBorderStyle = FormBorderStyle.None;
form1.Parent = panel;
form1.Show();
 
Form form2 = new Form();
form2.TopLevel = false;
form2.Dock = DockStyle.Fill;
form2.FormBorderStyle = FormBorderStyle.None;
form2.Parent = panel;
form2.Show();
 
//I also want to use this 
MdiLayout.ArrangeIcons;
MdiLayout.Cascade;
MdiLayout.TileHorizontal;
MdiLayout.TileVertical;
How to deal with it ?
Closed because The post is not clear, or is incomplete and has not been phrased in a way that allows it to be fully understood.. Reported by Wes Aday, Sandeep Mewara, aspnet -i on Sunday, October 7, 2012 3:27am.
Posted 5-Oct-12 2:24am
Edited 5-Oct-12 3:47am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,656
1 Sergey Alexandrovich Kryukov 6,400
2 CPallini 5,240
3 George Jonsson 3,584
4 Gihan Liyanage 2,625


Advertise | Privacy | Mobile
Web01 | 2.8.140921.1 | Last Updated 7 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100