protected void End() { if (ThreadControl == null) { throw new InvalidOperationException("Not bound to ThreadControl"); } ThreadControl.Remove(this); }