If you are working within a form you can use this to find it:
if (this.ActiveControl.Equals(testControl) { //...... }