Guest User

Untitled

a guest
Jun 18th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.21 KB | None | 0 0
  1. private Control GetActiveControl(ContainerControl container)
  2. {
  3.     Control ctl = container.ActiveControl;
  4.     if (ctl is ContainerControl)
  5.         ctl = GetActiveControl((ContainerControl)ctl);
  6.  
  7.     return ctl;
  8. }
Add Comment
Please, Sign In to add comment