How do I find out which control has focus in Windows Forms?
You can use the ActiveControl propert of the form and can use that control.
me.ActiveControl
Or
Form.ActiveControl