private void button1_Click(object sender, EventArgs e) { id = textBox1.Text; fullsearch frm = new fullsearch(); frm.ShowDialog(); }