System.Windows.Forms.Control FindControl(System.Windows.Forms.Control start, string id) { System.Windows.Forms.Control foundControl; if (start != null) { foundControl = start.FindControl(id); if (foundControl != null) return foundControl; foreach (Control c in start.Controls) { foundControl = FindControl(c, id); if (foundControl != null) return foundControl; } } return null; }