Esempio n. 1
0
        public void AddTemplate(XmlElement template)
        {
            IntroductionSheet intro = new IntroductionSheet(template, this);

            AddSheet(intro);

            for (int i = 1; ; i++)
            {
                XmlElement step = (XmlElement)template.SelectSingleNode(String.Format("Step[@Sequence={0}]", i));
                if (step == null)
                {
                    break;
                }

                StepSheet stepSheet = new StepSheet(step, this);

                AddSheet(stepSheet);
            }
        }
Esempio n. 2
0
        public void AddTemplate(XmlElement template)
        {
            IntroductionSheet intro = new IntroductionSheet(template, this);

            AddSheet(intro);

            for (int i = 1; ; i++)
            {
                XmlElement step = (XmlElement)template.SelectSingleNode(String.Format("Step[@Sequence={0}]", i));
                if (step == null)
                {
                    break;
                }

                StepSheet stepSheet = new StepSheet(step, this);

                AddSheet(stepSheet);
            }
        }