Method to reset members inside groupBox
问题 is there any method for groupBox to clear all properties of objects inside groupBox. for example clear all textboxes, deselect all checkboxes etc. and set them to default. or i should code one by one to clear them? i want to do this on event listview SelectedIndexChanged. Update: ok thanks for replays, i found that you can select controls inside groupbox very simple. foreach (Control ctrl in groupBox2.Controls)//this will only select controls of groupbox2 { if (ctrl is TextBox) { (ctrl as