Memento

Memento

  • NA
  • 111
  • 133.3k

c# winforms - how to access ParentForm from ChildForm

May 25 2012 4:50 AM

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)