Pickaxe.Studio.TextBoxAppender.FindControl C# (CSharp) Method

FindControl() private method

private FindControl ( string controlName, Control control ) : Control
controlName string
control System.Windows.Forms.Control
return System.Windows.Forms.Control
        private Control FindControl(string controlName, Control control)
        {
            if (control != null)
            {
                if (control.Name == controlName)
                    return control;

                foreach (Control child in control.Controls)
                {
                    var t = FindControl(controlName, child);
                    if (t != null)
                        return t;
                }
            }
            return null;
        }
TextBoxAppender