本帖最后由 贾林朋 于 2014-8-31 10:35 编辑
把下面代码放到 load事件里面看看效果:
[C#] 纯文本查看 复制代码 appMenu.BottomPaneControlContainer.Controls.Clear();
appMenu.BottomPaneControlContainer.Controls.Add(new Button()
{
Text = "fhgfgh",
Name = "dsfgds"
});
appMenu.RightPaneControlContainer.Controls.Clear();
appMenu.RightPaneControlContainer.Controls.Add(new Button()
{
Text = "fhgfgh",
Name = "dsfgds"
});
或者 设置appMenu.ShowRightPane = false;
看看效果 |