tags:

views:

40

answers:

1
class MDIFormMenu: System.Windows.Forms.MenuStrip
{

}

class ChildFormMenu: System.Windows.Forms.MenuStrip
{

}

I used MDIFormMenu on MDIForm set MainMenuStrip property and ChildFormMenu added on ChildForm. It is failed to merge.

If I used same class menu on both form it works.

Please help me, what am I doing wrong?

+1  A: 

The ChildFormMenu must be derived from MDIFormMenu. This behavior is perhaps by design.

class ChildFormMenu: MDIFormMenu
{

}
Rohit