Home > C#, utils > How to find current active control in a Form

How to find current active control in a Form

October 27th, 2009 wiley Leave a comment Go to comments

If you are working within a form you can use this to find it:


if (this.ActiveControl.Equals(testControl)

{

//......

}

Unique visitors to post: 5

Categories: C#, utils Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.
Google Analytics integration offered by Wordpress Google Analytics Plugin