private void toolStripMenuItem1_Click(object sender, EventArgs e) { if (toolStripTextBox1.Text != "") { form.funct(toolStripTextBox1.Text); } }