void OnShowEditor(IEventComponent component) { if (component != null) { if (this.ShowEditorEvent != null) { this.ShowEditorEvent(this, new ShowEditorEditorEventArgs(component)); } } }