private void button1_Click(object sender, EventArgs e) { if (textBox2.Text != "") { text = textBox2.Text; addText(text, 1); form2.addText(text, 2); textBox2.Clear(); } }