Add this code to Form1’s button click,
private void button1_Click(object sender, EventArgs e)
{
Form2 from2 = new Form2();
Control[] button = from2.Controls.Find("button1", true);
button[0].Click += new EventHandler(ShowLabel);
from2.ShowDialog();
}
Add this Form1 too (Set the WORK label’s visible property to false under properties)
private void ShowLabel(object sender, EventArgs e)
{
label1.Visible = true; //Setting WORK label's visible property to true
}
solved C# If i click button2 (in form2) , label1 show in form 1 [closed]