471,354 Members | 1,199 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

How to open a second form in a MDI scenario

Hi,

What is the syntax to open a second Form from a menuitem_click event of a
MDI Main Form?

Thanks,
Doru
Feb 2 '06 #1
3 1197
Doru,

You mean another child form? Just create the form and set the MdIParent
property to the parent form. Then call Show, and you should be fine.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Doru Roman" <do*******@rogers.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi,

What is the syntax to open a second Form from a menuitem_click event of a
MDI Main Form?

Thanks,
Doru

Feb 2 '06 #2
I use .NET 2002 and there is no MDIParent property.
Feb 2 '06 #3
It works with MDIParent but only through code, I was looking under the
properties in the design mode.
It helps when an example is provided.
Feb 2 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Scott | last post: by
1 post views Thread by petersk | last post: by
7 posts views Thread by anthony.turcotte | last post: by
4 posts views Thread by fat | last post: by
5 posts views Thread by BD | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.