Ejemplo n.º 1
0
        private void BomSurveyButton_Click(object sender, EventArgs e)
        {
            SurveyGenerator BomSurvGen = new SurveyGenerator();

            if (!BomSurvGen.CreateBomSurvey(this.Categories))
            {
                MessageBox.Show("Word encountered an error. Please retry");
            }
        }
Ejemplo n.º 2
0
        private void BomSurveyButton_Click(object sender, EventArgs e)
        {
            SurveyGenerator BomSurvGen = new SurveyGenerator();

            BomSurvGen.CreateBomSurvey(this.categories);
        }
Ejemplo n.º 3
0
        //creates the survey document from the questions currently laid out.
        // it begins sending commands to word in order to build the survey
        //word will open up shortly
        private void createSurveyDocumentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SurveyGenerator generator = new SurveyGenerator();
            List<ITCapQuestion> questionTempList = new List<ITCapQuestion>();
            foreach (ITCapQuestion question in questionsArray)
            {
                questionTempList.Add(question);
            }

            if(!generator.CreateITCapSurvey(entities))
            {
                MessageBox.Show("Word encountered an error. Please retry");
            }
        }
Ejemplo n.º 4
0
 private void BomSurveyButton_Click(object sender, EventArgs e)
 {
     SurveyGenerator BomSurvGen = new SurveyGenerator();
     if(!BomSurvGen.CreateBomSurvey(this.Categories))
     {
         MessageBox.Show("Word encountered an error. Please retry");
     }
 }
Ejemplo n.º 5
0
 //starts sending commands to microsoft word to build the surveys
 private void createSurveyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SurveyGenerator generator = new SurveyGenerator();
     if(!generator.CreateCupeSurvey(ClientDataControl.GetParticipants(), questions, is20Question))
     {
         MessageBox.Show("Word encountered an error. Please retry");
     }
 }
Ejemplo n.º 6
0
 private void BomSurveyButton_Click(object sender, EventArgs e)
 {
     SurveyGenerator BomSurvGen = new SurveyGenerator();
     BomSurvGen.CreateBomSurvey(this.categories);
 }