Ejemplo n.º 1
0
 public QuestionnairePageArray(List <QuestionnairePage> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     pages = new QuestionnairePageTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         pages[i] = new QuestionnairePageTO(mdo[i]);
     }
     count = mdo.Count;
 }
Ejemplo n.º 2
0
 public QuestionnairePageArray(List<QuestionnairePage> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     pages = new QuestionnairePageTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         pages[i] = new QuestionnairePageTO(mdo[i]);
     }
     count = mdo.Count;
 }