protected virtual void OnPositionChanged(int obj) { Action<int> handler = PositionChanged; if (handler != null) handler(obj); }