摘要:
想做个插件式开发,界面用Dotnetbar的RibbonControl,需要通过代码动态的向RibbonControl控件添加项示例代码如下: RibbonTabItem rti = new RibbonTabItem(); rti.Text = "tabitem"; RibbonPanel rp = new RibbonPanel(); rp.Text = "panel"; rti.Panel = rp; rp.Dock = DockStyle.Fill; ... 阅读全文