Esempio n. 1
0
 /// <summary>
 /// Gets a list of all form fields
 /// </summary>
 /// <returns></returns>
 public Field[] GetFields()
 {
     ElementList nl = SelectElements(typeof(Field));
     Field[] fields = new Field[nl.Count];
     int i = 0;
     foreach (Element e in nl)
     {
         fields[i] = (Field)e;
         i++;
     }
     return fields;
 }
Esempio n. 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="field"></param>
 public Field AddField(Field field)
 {
     AddChild(field);
     return field;
 }
Esempio n. 3
0
 /// <summary>
 /// 
 /// </summary>
 /// <returns></returns>
 public Field AddField()
 {
     Field f = new Field();
     AddChild(f);
     return f;
 }