private void fireSelectionChangedEvent(XSelectionSupplier selectionSupplier, Object sender) { if (SelectionChanged != null && selectionSupplier != null) { Object selection = new Object(); selection = GetSelection(selectionSupplier); try { SelectionChanged.DynamicInvoke(sender, new OoSelectionChandedEventArgs(selection)); } catch { } } }