Esempio n. 1
0
 private void CloseProgressor()
 {
     if (_progressor != null)
     {
         _progressor.close();
         _progressor = null;
     }
 }
Esempio n. 2
0
 public override bool Next()
 {
     if (_current == null)
     {
         _current = _progressors.RemoveFirst();
     }
     while (_current != null)
     {
         if (_current.next())
         {
             return(true);
         }
         else
         {
             _current.close();
             _current = _progressors.RemoveFirst();
         }
     }
     return(false);
 }