private static TControl FindControl <TControl>(IElementContainer container, Constraint constraint) where TControl : Control, new() { return(container.Control <TControl>(constraint)); }