Hello,
I have some app like this:
Form1 (Parent) -> open in load event a Form2 (child) which have a button that open a 3rd one child form (then close Form2).
My question is how I can access a control property (like labeltext (in statusbar) in Form1)?
Form1 Parent
private void Form1_Load(object sender, EventArgs e)
{
Form2 chForm2 = new Form2();
chForm2.MdiParent = this;
chForm2.Show();
}
Form2 Child
Button click event
Form3 chForm3 = new Form3();
chForm3.MdiParent = Form1.ActiveForm;
chForm3.Show();
Now in Form1 I have a labeltext in statusbar that I want to control from Form3.
Thanks a lot!