Multiple Forms - please help

  • Thread starter Thread starter Peter Krikelis
  • Start date Start date
P

Peter Krikelis

Hi,

I am a new C# programmer and I am trying to create a
project which has a parent MDI form. Then I want to be
able to open other forms using some buttons or menu items
on the parent MDI form.

I opened new Windows Application and set the first form
(System.Windows.Forms.Form) to the "IsMDIParent". Then I
added another Windows form and I am trying to set its
property to the IsMdiChild and it will give an
error: "Property or
indexer 'System.Windows.Forms.Form.IsMdiChild' cannot be
assigned to -- it is read only".

What am I doing wrong?
 
Ran into this same problem myself.

Try setting the MdiParent property of the child form when you create the
instance of it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

(Re)opening closed MDI child? 2
about MdiParent and IsMdiChild 1
MDI Forms using MainMenu 1
Strange Tooltip Problem 1
Modal Form from a child form 2
MenuStrip Merge 0
MDI Help 10
centering a childform in MDI parent 4

Back
Top