Form2 code:
public void button2_Click(object sender, EventArgs e)
{
Form1 form1form = new Form1();
Label asd = new Label();
asd.Text = "asdasasdasdasd";
form1form.Controls.Add(asd);
Form2 form2form = new Form2();
form2form.close();
}
I want to add new label and button on form1 from form2
how it made ?
thanks