When I place both a MenuStrip and a Button on my Form, the button covers
part of the menu. I hate to mess around with the Size and Location
properties of Controls, so normally I lay out my controls with instances
of FlowLayoutPanel and TableLayoutPanel. But in this case I cannot find
a reasonable solution.
What is a recommended way to avoid this problem?
using System.Windows.Forms;
class Examplet
{
static void Main()
{
Form form=new Form();
form.Text="Button Hides Menu";
form.Controls.Add(new Button());
form.Controls.Add(new MenuStrip());
Application.Run(form);
}
}