private void InvokeSelectionChanged() { EventHandler handler = SelectionChanged; if (handler != null) { handler(this, null); } }