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
0
votes
1 answer
VB.net Passing data between 2 child mdi
Can someone provide me with an example please?
Scenario is:
**FORM1** = MDIPARENT
FORM2 = CHILD
FORM3 = CHILD
FORM2 is opened by a menu on MDIPARENT
FORM2 has a text box - CompanyNameText
next to this textbox there is a button which opens FORM3…

JeniferLips
- 3
- 2
0
votes
1 answer
Resize the multiple child forms in mdiparent automatically , panels and mdi C#
I have mdiparent form which has menu and a panel on the left which includes treeview. the remaining space of the parent form can include multiple windows depending on the user how many he wants to open it. There is a splitter in the edge of the…

saumil patel
- 247
- 5
- 16
0
votes
1 answer
show all child forms through a method
I have a mdi form and there are so many child forms on the main menu, and I use such code to open child:
frmCustomers yeni = new frmCustomers();
if (GenelIslemler.formAuthCheck(yeni.Name.ToString()))
{
if…

Rapunzo
- 966
- 5
- 21
- 42
0
votes
1 answer
MDI windows in Windows Form Application
Right now I have this code to open an image from an MDIParent Window called MDIParent1
private void OpenFile(object sender, EventArgs e)
{
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.InitialDirectory =…

user2101459
- 579
- 2
- 8
- 19
0
votes
1 answer
MDI open tab on item drag
so I'm having some trouble with opening the tab to where I want to drag some data.
I have 2 child MDI forms, with both a listview.
I would like to drag a listviewitem from mdichild 1 to mdichild 2.
The problem is that I am not able to find the…

voluminat0
- 866
- 2
- 11
- 21
0
votes
1 answer
Hide/Show MdiChilds
I have an application with mdi. I have on the parent some links which, when clicked open a new child form and hides the one that is already opened
How can I check if a child is already opened?
A little scenario:
link 1 -> opens Child of type A …

Luci C
- 197
- 2
- 3
- 14
0
votes
1 answer
Printing a pictureBox in a MdiChild
I'm trying to print the content of a pictureBox in a MdiChild.
Debugging the code looks like it never triggers the PrintPage event.
I've mainly used this code for the project: printing content of a picturebox
What is wrong ?
Here is my code:
private…

Podarce
- 13
- 2
0
votes
1 answer
How to call MDIParent from windows form?
I have an MDI form called "MDIParent1", MDI child form "MDIChild1" and I have a windows form called "FrmTest".
Now there is a button called "btnTest" in "MDIChild1" form and here is the click event.
Dim V As New FrmTest
V.MdiParent = MDIParent1
…

Azhar Mansuri
- 665
- 1
- 7
- 22
0
votes
2 answers
How to ensure only one instance of a child form is created by a parent mdi form in VB.NET
I have a button on a parent form that can create new Child forms.
However, I don't want more than one instance of each form to be created. I tried putting a public boolean on the parent MDI form:
Dim ChildForm As Boolean = False
And at the point…

user961627
- 12,379
- 42
- 136
- 210
0
votes
1 answer
Click on treeview node open a new MDI form, focus left on first form
I'm trying to open a new form after clicking a node in a treeview.
In the first MDI form I have a treeview, when I click on a node in the tree view a 2nd MDI form is opened, but the first form keeps the focus. I want the new form to have the focus.…

Russ Petersen
- 765
- 1
- 9
- 29
0
votes
1 answer
Remove a TabPage
I am using C# 2005 to create a Windows application. I have a MDIForm (frmMainMenu) which contains a Menustrip and a
TabControl. My ChildForm is frmPurchaseEntry. When the user clicks on a particular Menu option a new TabPage is created and
the…

LalitBarik
- 183
- 1
- 9
- 16
0
votes
1 answer
Create Tabbed MDI Interface
I am using C# 2005 to develop an Windows application. I am planning to use a Tab Container to display the child forms. I have used a Menu Strip to display the menu and have set IsMDIContainer = true property of the MainMenu form. The MainMenu form…

LalitBarik
- 183
- 1
- 9
- 16
0
votes
3 answers
I would like to close a child form from another child forms event?
I have a child that pops up to display data.
but when the data changes a new form is created to display the new data.
I want to close the old form, so i don't end up with 5000 forms every time the data changes.
The reason a new form is created is so…

Pomster
- 14,567
- 55
- 128
- 204
0
votes
2 answers
MDI Child form calling, not generation
I have an MDI form with 3 nested children with in it. As of right now all it can do is display a new form. For example: each time I press the menu button, the new child form(Form1) is created. Now, if I press that same menu button a second or…
JEvans
0
votes
1 answer
MDI Child Window Size
I am trying to create a child window within an MDI MainWindow...The main window is 1024 x 768 in size...when I try to use CreateWindowEx() to create a child window the size seems to be offset somehow...in other words a 1024 x 768 child window is…

P. Avery
- 779
- 1
- 16
- 34