コード例 #1
0
 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];
     }
 }
コード例 #2
0
        private void previewReportButton_Click(object sender, EventArgs e)
        {
            ViewFeedback VF = new ViewFeedback(); // opens preview window if user wants to preview the feedback

            VF.ShowDialog();
        }