I set my LabelText
invisible in Form1
and I have this button
in Form2
. Once if I cliked the button
in Form2
, the LabelText
in Form1
will be visible. However, I'm trying to figure it out and it is still not working.
In Form1:
public void LabelText()
{
label1.Visible = true;
}
In Form2:
Form1 frm1 = new Form1();
frm1.LabelText();