Public Function FindControl(hParent As Control, stName As String) As Control Return hParent?.Controls?.Find(stName, True)?.FirstOrDefault() End Function
Public Function FindControl(Of T As Control)(hParent As Control, stName As String) As T Return hParent?.Controls?.Find(stName, True)?.OfType(Of T)?.FirstOrDefault() End Function