I made a MDI application, and added the three menu items.
Tile Vertical
Tile Horiztonal
Cascade
The code I used:
private void miTileVertical_ Click(object sender, System.EventArg s e)
{
LayoutMdi(MdiLa yout.TileVertic al);
}
private void miTileHorizonta l_Click(object sender, System.EventArg s e)
{
LayoutMdi(MdiLa yout.TileHorizo ntal);
}
private void miCascade_Click (object sender, System.EventArg s e)
{
LayoutMdi(MdiLa yout.Cascade);
}
I verified with debug and messagebox's that it is wiring the events
correctly, but I am not getting the layouts.
Tile Vertical
Tile Horiztonal
Cascade
The code I used:
private void miTileVertical_ Click(object sender, System.EventArg s e)
{
LayoutMdi(MdiLa yout.TileVertic al);
}
private void miTileHorizonta l_Click(object sender, System.EventArg s e)
{
LayoutMdi(MdiLa yout.TileHorizo ntal);
}
private void miCascade_Click (object sender, System.EventArg s e)
{
LayoutMdi(MdiLa yout.Cascade);
}
I verified with debug and messagebox's that it is wiring the events
correctly, but I am not getting the layouts.
Comment