Hi Jim,
If you want to make a bar as a MainMenu and hide all other menus, you should associate the BarStyle of the bar to MainMenu and set the BarStyle of other menus to be none.
private void button1_Click(object sender, System.EventArgs e)
{
this.bar1.BarStyle = BarStyle.None;
this.bar2.BarStyle = BarStyle.IsMainMenu;
}
private void button2_Click(object sender, System.EventArgs e)
{
this.bar2.BarStyle = BarStyle.None;
this.bar1.BarStyle = BarStyle.IsMainMenu;
}
Please let me know if this meets your requirements. I have attached a sample that illustrates this issue.
Regards,
Mano
Sample.zip