public FTestArea() { InitializeComponent(); ta = ClassesP.Iterator.TestArea.getInstance(); iterator = new VolunteerIterator(ta); UpdateIterator(); }
public static TestArea getInstance() { if (instance == null) { instance = new TestArea(); } return(instance); }
public void Update(TestArea _testarea) { testarea = _testarea; if (testarea.Empty) { current = 0; } else if (current >= testarea.Count) { current = testarea.Count - 1; } }
public VolunteerIterator(TestArea _testarea, int index) { testarea = _testarea; current = index; }
public VolunteerIterator(TestArea _testarea) { testarea = _testarea; }