private void PreviewStenerButton_Click(object sender, EventArgs e) { if (submittedStenerListView.SelectedItems.Count > 0) { var qSetId = Convert.ToInt32(submittedStenerListView.SelectedItems[0].SubItems[0].Text); var preview = new OversightPreview(qSetId); preview.Show(); } }
private void PreviewStenerButton_Click(object sender, EventArgs e) { if (submittedStenerListView.SelectedItems.Count > 0) { int qSetID = Convert.ToInt32(submittedStenerListView.SelectedItems[0].SubItems[0].Text); QuestionSet qSet = stenerManagement.GetQuestionSet(qSetID); OversightPreview preview = new OversightPreview(qSetID); preview.Show(); } }