using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml.Linq; namespace Rs.Framework { public static class ControlManager { public static Control FindControl(Control control,string name) { Control[] controls = control.Controls.Find(name, true); if(controls!=null&&controls.Length>0) return controls[0]; return null; } } }