protected override void Dispose(bool disposing) { try { if (disposing) { // Remove adorners if (_behaviorService != null) _behaviorService.Adorners.Remove(_adorner); } } finally { // Ensure base class is always disposed base.Dispose(disposing); } }