2
Reply

c# winforms - how to access ParentForm from ChildForm

Memento

Memento

May 25 2012 4:50 AM
1.7k

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)