private void button2_Click(object sender, EventArgs e) { Hide(); var frm = new frmConfigRecord(); frm.label1.Text = label8.Text; frm.Show(); }