private void OnProviderClosing(object sender, CancelEventArgs e) { if (_ribbon != null) _ribbon.OnAppButtonMenuClosing(e); }