private void btnPreview_Click(object sender, EventArgs e) { CheckedItems(); string Country; if (cmbCountry.SelectedIndex == Constants.INDEX_ZERO || cmbCountry.SelectedIndex == Constants.INDEX_MINUS_ONE_OR_DEFAULT_INDEX) { Country = String.Empty; } else { Country = cmbCountry.SelectedItem.ToString(); } PreviewForm previewForm = new PreviewForm(); previewForm.PreviewEmployeeData(txtEmployeeID.Text, txtFirstName.Text, txtLastName.Text, gender, txtNationalInsuranceNumber.Text, dtpDateOfBirth.Text, maritalStatus, isMember, txtAddress.Text, txtCity.Text, txtPostCode.Text, Country, txtPhoneNumber.Text, txtEmailAddress.Text, txtNotes.Text); // To Display the form previewForm.ShowDialog(); }