Exemple #1
0
 internal void UnsidelineFields()
 {
     for (int i = fieldsSidelinedFromIndex; i < fieldList.Count; i++)
     {
         FtField field = fieldList[i];
         field.Index     = startFieldIndex + i;
         field.Sidelined = false;
         field.ResetValue();
     }
     fieldsSidelinedFromIndex = fieldList.Count;
 }
Exemple #2
0
 internal void ResetFields(int startFieldIndex)
 {
     this.startFieldIndex = startFieldIndex;
     for (int i = 0; i < fieldList.Count; i++)
     {
         FtField field = fieldList[i];
         field.Index = this.startFieldIndex + i;
         if (i >= fieldsSidelinedFromIndex)
         {
             field.Sidelined = false;
         }
         field.ResetValue();
     }
 }