protected virtual void OnEndDrag (EventArgs e) { EventHandler eh = (EventHandler)(Events[EndDragEvent]); if (eh != null) eh (this, e); }