MDIParent button Click to Display MDIChild form. Programming Software Development by kipslem …one? I have developed a small application. It has a MDIParent form on which the other childforms are displayed. I have… a Panel on the MDIParent on which there are buttons to call up the MDIChild… However, when there are no active MDIChild form on the MDIParent form and if the button is clicked, the 'Else' part… MDIparent Print button Programming Software Development by ses03 is it possible to print the whole form contents by a click of a (print) button from the toolstrip of MDIparent? how? Displaying MdiChild ToolStrip into MdiParent during runtime. Programming Software Development by priyamtheone …Visible = True ToolStripManager.Merge(Me.StatusStrip1, CType(Me.MdiParent, Home).StatusStrip1) End If End Sub Private Sub …parent.ToolStripPanel1.Controls.RemoveAt(lastIndex) ToolStripManager.RevertMerge(CType(Me.MdiParent, Home).StatusStrip1, Me.StatusStrip1) End If End Sub… working with mdiparent form Programming Software Development by srm2010 … I have three forms where in Form1 is MDIParent form.From this MDIParent form another form FOrm2 is getting open which remains… within the bounds if mdiparent window.Form2 has a button, when clicked opens Form3 …which I want it to get open as child of MDIParent form(Form1).it does not remain within the bounds … How to disable the MDIparent form when a child form is active Programming Software Development by jeffrey4u … the child form doesn't open within the MDIparent form/container 2. under MDIparent call button frmViewStuList childForm = new frmViewStuList(this); childForm…; } Result.....it makes the child form active but freezes the MDIparent when the child form closes 3. ChildForm child = new ChildForm… Re: How to disable the MDIparent form when a child form is active Programming Software Development by tinstaafl …to just disable the controls on the MDIParent. First set the MDIParent property insted of the Owner property. Second…() != typeof(MdiClient)) { c.Enabled = enable; } } } } In the MDIParent when you show the child also call this new method… Controls position when is shown in mdiParent Form . How to Resolve this Issue? Programming Software Development by nauman_gcu …a mdi Parent Form. UI1 frm = UI1.GetInstance(); frm.MdiParent = this; frm.Show(); frm.Focus(); frm.ShowLabelCoordinates(); …UI2 frm = new UI2(); frm.MdiParent = this; frm.Show(); frm.Focus(); [/CODE] Any … Re: working with mdiparent form Programming Software Development by catherine sea Try [CODE]f3.MdiParent=Form1.MdiParent;[/CODE] Re: working with mdiparent form Programming Software Development by bhagawatshinde Try this, [CODE] Form3 frm = new Form3(); frm.MdiParent = this; this.ActivateMdiChild(frm); frm.Show(); [/CODE] Hope this will help you How to load a form after a different form was click inside the MDIParent? Programming Software Development by selle05 In MDIParent, in my formload in MDIParent, one form is load. And i want the form when i click a button, there is another form will be loaded INSIDE the MDIParent? how is that? Can somebody teach me the code? Thank You! Call childForm into the panel of MDIparent form from another childform. Programming Software Development by wahwah_hk I have a MDIparent form with a panel inside. Now I had already call a childform_No1 into the panel. But some how I need to call another childform_No2 from childform_No1 to the panel in MDIparent. How can it be? Kindly help! thank. Re: Call childForm into the panel of MDIparent form from another childform. Programming Software Development by kvprajapati [b]how I need to call another childform_No2 from childform_No1 to the panel in MDIparent.[/b] [code] .... Form a = new Form(); a.MdiParent = mdiObj; a.Parent = mdiObj.panel1; a.Show(); ..... [/code] Re: How to load a form after a different form was click inside the MDIParent? Programming Software Development by Luc001 Hi, Add a button and a new form to your application and name it Child1, then you can try something like this inside the button click event: [CODE] Dim f As New Child1 f.MdiParent = Me f.Show()[/CODE] C# login status display in MDIParent Form Programming Software Development by lianpiau I want display username in MDIParent form after login. Who can teach me and give coding to me. Hope every expert help me. Re: C# login status display in MDIParent Form Programming Software Development by lianpiau … user click login button will bring username textbox data to MDIParent form and display in label. but i search internet not… Re: MDIParent button Click to Display MDIChild form. Programming Software Development by Unhnd_Exception [QUOTE=;][/QUOTE] The else part is not getting reached when there is no mdi child. Instead your starting the if off with .ActiveMdiChild.visible = true. If there is no .ActiveMdiChild then your checking the visiblity of a form that doesn't exist. That were the object reference not set to an instance is coming from. Use this instead: [code]… Re: MDIParent button Click to Display MDIChild form. Programming Software Development by kipslem Thanks Unhnd_Exception for the help. It's working fine after your help. Thanks once again. Re: MDIparent Print button Programming Software Development by ses03 I have this code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.FullWindow) End Sub but it doesn't fit the paper. how can I rescale it? Re: MDIparent Print button Programming Software Development by Begginnerdev There a few different methods you can use to do this: [Print Form](http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.powerpacks.printing.printform.aspx) Or [Print Document](http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx) Just retreive the [active child](http://msdn.microsoft.com/en-us/library/… Re: open a form as a child of MDIParent Programming Software Development by k.d.m Add this code inside the button click event form2 frm2=new form2(); frm2.MdiParent = mdi1.ActiveForm; frm.Show(); Re: How to disable the MDIparent form when a child form is active Programming Software Development by jeffrey4u Guess the static method will be addedto both the child and the MDI parent form. Is working as expected. Thanks alot for your answer Re: How to disable the MDIparent form when a child form is active Programming Software Development by tinstaafl Because it's static it just needs to be public in one class. Access it through the class name. If this works for you please remember to mark this solved. Thanks Re: How to disable the MDIparent form when a child form is active Programming Software Development by jeffrey4u Good job thanks Re: How to load a form after a different form was click inside the MDIParent? Programming Software Development by selle05 ok... thanks. How when i want another form to be loaded inside of a parent form. And that parent form has also a parent form. Is this possible??? Re: How to load a form after a different form was click inside the MDIParent? Programming Software Development by Luc001 Hi, No you can't, because there can be only one parentform in a MDI application. Re: How to load a form after a different form was click inside the MDIParent? Programming Software Development by selle05 Ah Ok...Thanks for answering!... Re: Call childForm into the panel of MDIparent form from another childform. Programming Software Development by avirag Can you show us what you have done so far........ Re: Call childForm into the panel of MDIparent form from another childform. Programming Software Development by wahwah_hk My work as show below : Inside the ParentForm, I have a button with the following code [CODE]private void button_Click(object sender, EventArgs e) { Form1 child = new Form1(); child.TopLevel = false; child.Dock = DockStyle.Fill; panel1.Controls.Add(child); child.Show(); }[/… Re: C# login status display in MDIParent Form Programming Software Development by prvnkmr194 Did you try first you self then if you get any problem then post your problem with you code, I am sure one here kind enough to help you. Re: C# login status display in MDIParent Form Programming Software Development by prvnkmr194 1.Did you know how to create login form 2.How to connect database 3.how to create MDI form 4.How to send data from one form to another form