private void button1_Click(object sender, System.EventArgs e) { Form2 f = new Form2(); label1.Text = f.ShowDialog().ToString(); }