private void button1_Click_1(object sender, EventArgs e) { var f1 = new program_input(); f1.inputValue = textBox1.Text; f1.Show(); this.Close(); }