views:

31

answers:

1

I need to find a child control in a winforms panel. I was wondering if there is a method similar to Panel.FindControl() of the asp.net webforms panel in the .net winforms version

+2  A: 

You can achieve like this:

mypanel.Controls.Find("mycontrolname",true);

The documentation is here: Control.ControlCollection.Find Method

Giorgi
thanks Giorgi ..
Meli
Glad to help you.
Giorgi