public static T GetCmp <T>(string id) where T : ComponentBase { return(ComponentManager.Get <T>(id)); }
public static BaseControl GetCmp(string id) { return(ComponentManager.Get(id)); }