For example, there is a form 1 and a form 2, on each form there is a button that opens a third form.
As from the third form to manipulate the elements of the parent form.
Did so. On the first and second form:
Form capture = new capture(); capture.Owner = this; capture.ShowDialog(); On the third form:
add_people main = this.Owner as add_people; But here we clearly indicate add_people, and how can we do this without specifying the name of the form?