コード例 #1
0
        public static void AddPanel(RibbonTab ribbonTab, RibbonPanel ribbonPanel)
        {
            if (ribbonTab.IsNull() ||
                ribbonPanel.IsNull())
            {
                throw new ArgumentNullException();
            }

            ribbonTab.Panels.Add(ribbonPanel);
        }