Wrox Programmer Forums
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 7th, 2004, 04:14 AM
Authorized User
 
Join Date: Mar 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default MDI Forms

hello,
i have created a MDI form that contain two child forms

class ParentForm : Sytem.Windows.Forms.Form
{
........

void func()
{
this.IsMdiContains = true
ChildForm1 child1 = new ChildForm1();
child1.MdiParent = this;
child1.Show();

ChildForm2 child2 = new ChildForm2();
child2.MdiParent = this;
child2.Show();

}
........
}
my question is : i want to show both child1 and child2 and i`m using the next statement:
this.LayoutMdi(System.Windows.Forms.MdiLayout.Tile Horizontal);
but the problem is that i dont want to see on the screen half from ChildForm1 and half from ChildForm2. i want to see the real size form definition of both Child forms. what should i do?
thank you
koby






Similar Threads
Thread Thread Starter Forum Replies Last Post
MDI & MDI Child Forms Menu's in VB2005 yulyos Visual Studio 2005 0 September 7th, 2007 09:49 AM
MDI Forms Gustav_Haglund VB How-To 8 December 8th, 2005 07:05 PM
Mdi Forms tim33_909 Pro VB.NET 2002/2003 1 November 27th, 2003 11:40 PM
MDI Forms tim33_909 VB.NET 2002/2003 Basics 1 November 17th, 2003 03:42 PM
MDI Forms? aldwincusi VB How-To 1 September 11th, 2003 04:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.