AllowMerge in ToolStrip don't work in .NET Framework v2.0.50727
When I used previous version .NET Framework v2.0 Betta 2 it woked fine. But today I intalled NET Framework v2.0.50727 and in MDI parent window ToolStrip from Child window don't merge! Where the problem?
Labutin Friday, October 28, 2005 8:00 AM
Example:
using
System;
using
System.Windows.Forms;
namespace
Bug
{
public class MainWindow : Form
{
public MainWindow()
{
this.IsMdiContainer = true; ToolStripButton tsb = new ToolStripButton("Parent"); ToolStrip ts = new ToolStrip();
ts.Items.Add(tsb);
ts.AllowMerge =
true; this.Controls.Add(ts); Child ch = new Child();
ch.MdiParent =
this;
ch.Show();
}
[
STAThread] public static void Main(string[] args)
{
Application.Run(new MainWindow());
}
}
public class Child : Form
{
public Child()
{
ToolStripButton tsb = new ToolStripButton("Child"); ToolStrip ts = new ToolStrip();