private void OnRibbonGroupsCleared(object sender, EventArgs e) { // Only need to update display if this tab is selected if ((_ribbon != null) && (_ribbon.SelectedTab == this)) _ribbon.PerformNeedPaint(true); }