private void ActionFinishedLarge(object sender, EventArgs e) { // Remove any popups that result from an action occuring _ribbon?.ActionOccured(); // Remove the fixed pressed appearance _viewLargeController.RemoveFixed(); }
private void ActionFinished(object sender, EventArgs e) { bool fireAction = true; if (e is ToolStripDropDownClosedEventArgs closedArgs) { if (closedArgs.CloseReason != ToolStripDropDownCloseReason.ItemClicked) { fireAction = false; } } // Remove any popups that result from an action occuring if ((_ribbon != null) && fireAction) { _ribbon.ActionOccured(); } // Remove the fixed pressed appearance _controller.RemoveFixed(); }