private void addCommentsButton_Click(object sender, EventArgs e) { sectionCount++; if (sectionCount == Template.sectionID.Count()) { ViewFeedback VF = new ViewFeedback(); // opens preview window if user wants to preview the feedback VF.ShowDialog(); this.Close(); } else { optionCount++; commentsCheckedListBox.Items.Clear(); loadOptions(); sectionNameLabel.Text = Template.sectionTitle[sectionCount]; } }
private void previewReportButton_Click(object sender, EventArgs e) { ViewFeedback VF = new ViewFeedback(); // opens preview window if user wants to preview the feedback VF.ShowDialog(); }