private void btnAccessLog_Click(object sender, EventArgs e) { string[] info = new string[4]; info[0] = txtID.Text; info[1] = txtName.Text; info[2] = txtTitle.Text; info[3] = txtCompany.Text; Form frmAccess = new frmAccessLog(info); frmAccess.ShowDialog(); }