// ----------------- public void SetSourceControl(TouchControl c) { if (this.sourceControl != null) { this.sourceControl.RemoveAnimator(this); } if ((c != null) && !c.CanBeUsed()) { c = null; } this.sourceControl = c; if (this.sourceControl != null) { this.sourceControl.AddAnimator(this); } }