Questions tagged [mdiparent]

MDI stands for Multiple Document Interface. A MDIParent form can contain several MDIChild forms each of them doing indipendent things, but sharing the same parent container, menus and controls.

A MDIParent is an option to consider in developing an application displaying several documents at once, since it allows users to easily identify what belongs to an application and what is part of another.

220 questions
1
vote
1 answer

ToolStripMenuItem get enabled staying disables when change focus from one to other child form

I've got some ToolStripMenuItem in a MDIParentForm, which I use to enable or disable depending of the status of the form I call clicking on them. If the form is enabled, the ToolStripMenuItem is disabled not allowing to open a new form like it's…
Carol
  • 553
  • 2
  • 10
  • 24
1
vote
1 answer

C# - Launch method in MdiParent when one specific MdiChild is closed

I'm actually building a program at school in .net. This is the first time I'm using it and I've got a question. I got a MdiParent form which has two MdiChildren : a config form, and an articles list form. When you fill the config form, the articles…
Zero
  • 443
  • 1
  • 7
  • 23
1
vote
4 answers

How to bring MDI Child Form To Front?

Overview: I have an MDI Parent Form in which I load other forms. After loading the second form, I can no longer bring the first one to the front. Description: On the parent form I have a menu strip containing 2 menu items; Home and Search. Each…
suchislife
  • 4,251
  • 10
  • 47
  • 78
1
vote
0 answers

Winform application mdi child title bar issue when maximize in parent...?

I'm using ribbon control for my winform application in mdi parent form, when I open child form in it in maximize mode, it shows title bar spacing under main form. I want it to behave same like office applications. like this is microsoft office…
Manish Jain
  • 842
  • 1
  • 11
  • 29
1
vote
0 answers

MDI MdiWindowListItem OnClick

I have a basic MDI form, with "Window" as a menu option that was generated by default. I can open child windows and under Window it shows up as expected. My problem is, my child windows are different heights and widths. When I open the child…
Chizl
  • 2,004
  • 17
  • 32
1
vote
0 answers

Picturebox control is overlaping child form

In an mdi parent form i display one image using PictureBox and i am trying to open form but image is overlaping the form. I am allready try BringToFront(), SendToBack(), TopMost but still not working.
Paresh Gami
  • 4,777
  • 5
  • 23
  • 41
1
vote
1 answer

How to limit child window's movement within parent boundaries?

I was wondering is it possible to limit child window's ability to be moved around to only within parent's panel boundaries ? Suppose I create a child window with a button click:
Ash
  • 49
  • 1
  • 10
1
vote
1 answer

Is there a difference between a MDI Client, a MDI Container, and a MDI Parent?

As it says, is there any difference between a MDI Client, Parent, or Container? If they are all the same. Does this mean that all MDI applications cannot be more than 1 nested window deep?
AnotherUser
  • 1,311
  • 1
  • 14
  • 35
1
vote
2 answers

How to show a child form within a mdi container form which its windowstate= maximized?

How can I show a child form within a mdi container form which its windowstate= maximized ? when I put these below lines of code when my child form is loading (by clicking on a menu Item of my Main form), the child form loses its parent position and…
odiseh
  • 25,407
  • 33
  • 108
  • 151
1
vote
1 answer

How to check Child forms are open or not?

I have MDI parent form. Under this MDI Parent there are lots of MDI Child form. How I check child form are open or not? foreach (Form frm in this.MdiChildren) { if (frm == null) { …
Sanjay Sharma
  • 43
  • 2
  • 8
1
vote
2 answers

Passing data from MDI Child to MDI Parent

I new some help to pass data from my mdi child to the mdi parent. And I want to show the string (on the mdi parent) that I wrote in the mdi child. I also have to make the string appear after close the mdi child. Any help?
Nuno Batalha
  • 151
  • 2
  • 5
  • 16
1
vote
1 answer

wxPython MDIChildFrame menu

my application is made of one MDIParentFrame which tries to open two MDIChildFrame. I say "try" because each time I open the first MDIChildFrame, my MDIParentFrame shows in the menu bar that menu exported by the MDIChildFrame, and never recovers its…
futpilari
  • 11
  • 2
1
vote
1 answer

Size control on MDI child form

In my application there are two forms. MDIParentForm Child form Child form contains a panel. Here is the code: private void ChildForm_SizeChanged(object sender, EventArgs e) { if (this.WindowState.Equals(FormWindowState.Maximized)) { …
DhavalR
  • 1,409
  • 3
  • 29
  • 57
1
vote
0 answers

In C#, when I make my mainForm a MDIContainer, it adds a border... How do I remove it?

Here's a link displaying the issue: http://imageshack.us/f/844/pa82.png/ Basically, I've created a form that is full screen, set that form to a MDIContainer so that I can add other forms inside of it, and also remove them. As soon as I set the…
Ricky
  • 823
  • 2
  • 14
  • 31
1
vote
2 answers

Reload a form in MDI

I open a form in MDI parent in this way: public partial class MDIParent1 : Form { private void ToolStripMenuItem1_Click(object sender, EventArgs e) { Form1 Form1 = new Form1(); Form1.MdiParent = this; …
Karlx Swanovski
  • 2,869
  • 9
  • 34
  • 67