In an unpublished opinion, the San Antonio Court of Appeals held that a former employee cannot avoid the effects of a noncompetition agreement under the doctrine of unclean hands, as a matter of law, when the inequitable conduct the employee complains of is separate from the issue in dispute.  (Opinion available here). 

In Central Texas Orthopedic