Exemplo n.º 1
0
        public static List <T> GetControlList <T>(this ControlCollection ControlCollection, bool HasValidID = true) where T : Control
        {
            var ResultCollection = new List <T>();

            ControlCollection.GetControlsAndAddToList <T>(ResultCollection, HasValidID);
            return(ResultCollection);
        }