public void MergeRibbon(RibbonControl parent) { if (parent == null) { throw new ArgumentNullException(nameof(parent)); } parent.MergeRibbon(ribbonControl); }