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
2010-06-03 17:41:18
thanks Giorgi ..
Meli
2010-06-03 17:50:18
Glad to help you.
Giorgi
2010-06-03 17:51:01