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
0
votes
1 answer

MDI Parent form Panel Control adding child Forms

I am working in Desktop application in C#. I have an MDI Parent form having Panel control for adding Child Forms in it. I have 2 childs forms: 1. ChildForm1 2. ChildForm2 Childform2 is opened from childform1. From MDI form i add childform1 to…
Shahid Iqbal
  • 2,095
  • 8
  • 31
  • 51
0
votes
1 answer

C# glass on an mdiparent

I am trying to use the DwmExtendFrameIntoClientArea method on an mdiparent. IsMdiContainer = true; However the glass does not render correctly. Is this a limitation of an mdiparent I can get around? If the form isn't set as an mdicontainer then the…
Dylan
  • 1,919
  • 3
  • 27
  • 51
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 Implementation in WPF

How can I implement an MDI application in WPF? In windows forms I was used to write code like this: Form2 oForm2 = new Form2(); oForm2.MdiParent = this; oForm2.Show(); How can I accomplish the same thing in WPF?
alexandrovdi
  • 191
  • 1
  • 3
  • 10
0
votes
2 answers

how to call MdiChild from MDIParent form

I create a new MdiChild from MainForm using this method: AdminLogInForm adminForm; private void LogInAsAdminMenuItem_Click(object sender, EventArgs e) { if (adminForm == null) { adminForm = new AdminLogInForm(); …
Bublik
  • 912
  • 5
  • 15
  • 30
0
votes
1 answer

C# MDI - Hide MDI Scrollbars after MDI resize when MDIChild is out of bounds

I have a MDI Parent (Form1) and a MDI Child (Form2). I have currently disabled scroll bars for Form1 when Form2 goes past the bounds of Form1 by placing the following code within Form2: protected override void WndProc(ref Message m) { const int…
user1108076
  • 81
  • 1
  • 9
-1
votes
1 answer

Show MDIChild Form from another MDIChild Form

Let’s I have MDIParentForm (Home), Child Form (Form1, Form2), Home has one Menu (Add) and Form1 has button (btnOk) '''''Here is C# Code'''''' public partial class Home : DevExpress.XtraBars.Ribbon.RibbonForm { public Home() { …
-1
votes
1 answer

Error on opening an MDI ChildForm from another MDI ChildForm's TButton via TMenuItem on MDI ParentForm

I have 2 MDIChild Forms and an MDIParent Form with a TMainMenu. In the TMainMenu, I have the following TMenuItem.OnClick procedure to open ChildForm2: procedure TfrmMain.miOpenChildForm2Click(Sender: TObject); begin …
Juke
  • 135
  • 2
  • 9
-1
votes
1 answer

c# Creating MDI Child of Form1 from Form2

I am attempting to instantiate an instance of From3 as a child of Form1 by clicking a button on Form2. However, when using the following code in Form2: Form3 PFForm = new Form3(); PFForm.MdiParent = Form1; PFForm.Show(); ... to instantiate Form3…
Trip Ives
  • 71
  • 7
-1
votes
1 answer

MDI form in monodevelop gtk-sharp

Want to create MDIform applucation in monodevelop gtk-sharp, but not able to find MDI Parent child form options. Requesting help
-1
votes
1 answer

Windows Form application set as MdiContainer, child forms change display on load

I have a basic Windows Form application, written in VB. Main Form is set to IsMdiContainer = true. I have a simple childForm setup to the correct size to fill the space. I create a global variable of it. Public childForm as childFormClass = new…
-1
votes
1 answer

MDI Parent Not Keeping Form In Client Area

i am trying to create a MDI applications with winforms, the form design is borderless and i have a mainmenu strip, when i maximize the child it appears to be out of the client area, it blocks the main menustrip, and the scroll bars do not…
waynemodz
  • 118
  • 9
-1
votes
2 answers

how to change properties of child form controls in parent form

I have a Mdiparent form containing a button and some child forms. How is it possible to change backcolor of all textboxes in all child forms when clicking the button in parent form?
Behnam
  • 1,039
  • 2
  • 14
  • 39
-1
votes
1 answer

C# MdiParent Can't Show Text on Textbox when send value between 2 form

I use this code in my child form MainMenu f = new MainMenu(); f.tbUserName.Text = "MY TEXT"; so I want to display text in tbUserName but it doesn't show me. ** I don't want to open new window with this code MainMenu f = new MainMenu(); f.Show();
-1
votes
1 answer

How to show or load Main Form (MDIParent1) after RunWorkerCompleted in VB.NET

I have a many Splash Form, MDIParent Form and others form. My Scenario process like this: Project Statup - SPlash Form, After Splash Form show first time and check some files, etc and after checking will be show MDIParent1 and splash form will close…
ed.inside
  • 31
  • 7
1 2 3
14
15