Exemplo n.º 1
0
 public void ExecuteSequence(List <Action> sequence)
 {
     if (sequence == null || getTextBox == null)
     {
         return;
     }
     for (int i = 0, count = sequence.Count; i < sequence.Count; i++)
     {
         MulticaretTextBox tb = getTextBox();
         if (tb == null)
         {
             return;
         }
         Action action = sequence[i];
         tb.ProcessSequenceAction(action);
     }
 }