private void newSectionButton_Click(object sender, EventArgs e)
        {
            Close();
            enterSectionTitle sectionTitleEnter = new enterSectionTitle();

            sectionTitleEnter.Show();
        }
        private void confirmButton_Click(object sender, EventArgs e)
        {
            //Confirm Button Click.

            CreateNewTemplate input = new CreateNewTemplate();

            input.addTemplateName(textBoxTemplateName.Text);
            input.addTemplateReviewer(textBoxTemplateReviewer.Text);
            input.addTemplatePosition(textBoxTemplatePosition.Text);
            input.addTemplateFeedbackType(comboBoxSelectFeedbackTypeBox.Text);
            input.writeTemplateDetailsToDB();
            enterSectionTitle sectionTitleEnter = new enterSectionTitle();

            sectionTitleEnter.Show();
        }
Exemple #3
0
        private void confirmButton_Click(object sender, EventArgs e)
        {
            //Confirm Button Click.

            CreateNewTemplate input = new CreateNewTemplate();

            input.addTemplateName(textBox1.Text);
            input.addTemplateReviewer(textBox2.Text);
            input.addTemplatePosition(textBox3.Text);
            input.addTemplateFeedbackType(selectFeedbackTypeBox.Text);
            input.writeTemplateDetailsToDB();
            updateGridView();
            enterSectionTitle est = new enterSectionTitle();

            est.Show();
        }