473,320 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

MDI Menu Merge in .Net 2005

Hi,

I cannot get MDI menus to merge correctly in my .Net 2005
application. They merged in 2003. I've tried every combination
of merge action to no avail. Can someone point to an example
of a working case using Designer? All the examples found to
date are coded.

Thanks,
Gary
May 24 '06 #1
1 1413

by creating two form
and a menu with toplevel (new,Window)
new contain-->new and close.

click on th main form and but the property ismdi container -->true
in the other form2 but a textbox with multiline property true;
click new twice

and then but this code
private void newToolStripMenuItem_Click(object sender, EventArgs e)
{
Form2 Obj = new Form2();
Obj.MdiParent = this;// u decalre the mdi parent that the main
form
Obj.Text = "Document" + i;
Obj.Show();
i++;
}

in windows contais-->vert ,horizontal,....
click on of them twice
but this code
private void horizontalToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.TileHorizontal);
}
i hope that what u want

Jun 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jim H | last post by:
I would like to have some MenuItems that are specific to my child form appear in the main menu. In the MSDN documentation: Menu merging is typically done to merge the menus of a Multiple...
1
by: Jeff Brown aka BrntPhish | last post by:
Can someone explain what the properties for merging menus are and how they work. I have a MDI Parent form with file, edit ...etc etc I also have a MDI Child Form with file edit & a menu that...
4
by: jon morgan | last post by:
Hello, In an MDI application how can I prevent the CLR automatically merging a child windows' menu with that of the parent MDI form ? Thanks for any help Jon
1
by: SStory | last post by:
I don't know what happened but a menu that used to merge well no longer does I have an MDI form The main MDI form has the main menu. In it is for example, Schedule menu with item Tasks ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.