MDI stands for Multiple Document Interface. A MDIChild form is a form contained in a MDIParent form and it shares parent's container, menus and controls. Usually MDIChilds form can be graphically organized to be tiled or cascaded automatically in the parent container.
Questions tagged [mdichild]
309 questions
4
votes
2 answers
How can I make MdiChild forms be in tabs in C#?
I have a MDIparent Forma and which has some mdichild forms in it. Can you help me some how put the mdichilds in Tabs like google chrome , firefox , IE , Opera ...

Pedrum
- 634
- 3
- 7
- 16
4
votes
3 answers
Winforms MDI "Desktop" Area Boundry
The default MDI parent control has a large "desktop" area that can display multiple child forms. Users can drag forms to the edge of this desktop area so that most of the child form is off the screen. (A scroll bar then appears in the MDI parent) I…

Jeff
- 8,020
- 34
- 99
- 157
4
votes
2 answers
Why is this WinForms window rendering artifacts while dragging?
I'm supporting a .NET 4 WinForms app written in VB.NET and built w/ Visual Studio 2015. In Windows 7 things are fine, but in our Windows 10 testing there is a rendering problem with a form window in the main application window. Happens on multiple…

mdelvecchio
- 567
- 1
- 5
- 25
4
votes
10 answers
Controls in container form come over child form?
In a container form I have menu and buttons to open ther forms.
Here I am facing a problem when I open any form these buttns and lables come over newly opened form.
Please guide me how I can manage this issue? I want to open a new form and keep…

haansi
- 5,470
- 21
- 63
- 91
4
votes
2 answers
How to open a mdi child form from another with vb?
How to open a mdi child form from another with vb in the main mdi parent?

Sein Kraft
- 8,417
- 11
- 37
- 39
3
votes
1 answer
C# call MDI child from child form
I have these forms:
MainScreen - MDI container
DataBaseOutput - child
NewAnime - child
DataBaseOutput has a tab control that holds datagrids, each for different tables. I use an access database.
In those tabs, there is a menustrip, where the…

Deep Frozen
- 2,053
- 2
- 25
- 42
3
votes
5 answers
MDIchild form goes behind the panel
I have a panel in a MDI form and there are some controls in the panel.
When I open MDIChild forms, the forms go behind the panel.
I tried forms.BringtoFront() and panel.SendtoBack().But nothing works.
Then I set setchildIndex of panel to 0,didn't…

AlaaL
- 333
- 9
- 28
3
votes
3 answers
Is it possible to change size of minimized window in MDI C# Winforms
Users complain that when they have several minimized windows in MDI container it's impossible to distinguish them unless they resore each. I wonder if it's possible to make minimized window a little bit wider so the text in the caption can contain…

StuffHappens
- 6,457
- 13
- 70
- 95
3
votes
4 answers
MDI Parent Form Problem setting Parent
I am using a MDI parent form that has a childs and they show up very well when they are called up by this parent and i use to intensiate child form as
ChildForm child = new ChildForm();
child.IsMdiContainer= this;
child.Show();
works well as soon…

Afnan Bashir
- 7,319
- 20
- 76
- 138
3
votes
1 answer
How to close MDI Child form C#
How do you close a MDI Child form within that child MDI form using a RETURN button which will bring me back to the Parent Form? So far i have used the code:
if (ActiveMdiChild != null)
ActiveMdiChild.Close();
But this…

jboy
- 33
- 1
- 4
3
votes
14 answers
Windows MDI child form doesnt open in WIndowMaximized state
I have set a form as a child of an MDI form which has its WindowState set to Maximized.
When I open that form from an MDI container, it doesn't open in Maximized state. Why is this happening and how can I make it open maximized?
This is how I am…

Sandeep Pathak
- 10,567
- 8
- 45
- 57
3
votes
5 answers
MDI child form problem in C#
When I maximize 1 MDI child form, all MDI child forms would be maximized too. Is it possible to have 1 form maximized and another one not?
Thanks in advance.

mrhangz
- 211
- 4
- 13
3
votes
2 answers
Autohotkey to resize window with child windows
I use FrontPage 2003 for linking html files, through the command 'Insert' > Hyperlink.
And the window opens as follows:
I made a script with Autohotkey to resize the window, so I see more of the files in the 'current folder' (I think the class is…

Mike
- 2,051
- 4
- 28
- 46
3
votes
1 answer
How to close previous mdi child in parent form
I have a mdi parent form and I open my other forms in run time as mdi child form by this code:
private void MenuItem_Click(object sender, EventArgs e)
{
childform = new childform ();
frm.MdiParent = Mdiparent;
frm.WindowState =…

R.Akhlaghi
- 729
- 1
- 12
- 23
3
votes
1 answer
Close all MDI child windows using Linq
I'm trying to use the following loop
foreach (Form frm in this.MdiChildren)
{
frm.Close();
}
and transcribe it into a Linq expression like so:
this.MdiParent.MdiChildren.OfType

greg dorian
- 136
- 1
- 3
- 14