Example #1
0
        public Format LoadQuestionnaireFormat()
        {
            XmlElement root = (XmlElement)_xml.GetElementsByTagName("QuestionnaireFormat")[0];

            _questionnaireFormat = ProLoaderQuestionnaireFormat.Load(root);

            return(_questionnaireFormat);
        }
Example #2
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            int QuestionnaireFormat = txtXmlFileName.Text.IndexOf("QuestionnaireFormat_");

            if (QuestionnaireFormat != -1)
            {
                ProLoaderQuestionnaireFormat saverFormat = new ProLoaderQuestionnaireFormat();
                saverFormat.SaveQuestionnaireFormatFull();
                MessageBox.Show(saverFormat.resultsave);
            }
            else
            {
                ProLoader saver = new ProLoader();
                saver.SaveQuestionnaireFull();
                MessageBox.Show(saver.resultsave);
            }
        }