2
Answers

c# winforms - how to access ParentForm from ChildForm

Memento

Memento

12y
1.7k
1

I readed manu articles about this, but - still confused.

from Form1 I open Form2:

new Form2().Show();

On Form2.ClosingEvent I need:

Form1.TextBox1.Visible = false;

What code and exactly where should I put - to achieve this ?


Answers (2)