internal void RefreshOpenSnapshots(SnapshotCollectionEnumerator snaps) { SnapshotFileGUIData firstGUIData = null, secondGUIData = null; snaps.Reset(); while (snaps.MoveNext()) { if (First == snaps.Current) { First = snaps.Current; firstGUIData = First.GuiData; firstGUIData.CurrentState = SnapshotFileGUIData.State.Open; } else if (Second == snaps.Current) { Second = snaps.Current; secondGUIData = Second.GuiData; secondGUIData.CurrentState = SnapshotFileGUIData.State.Open; } } m_OpenSnapshotsPane.RefreshScreenshots(firstGUIData, secondGUIData); }
public void RemoveSnapshotFromCollection(SnapshotCollectionEnumerator iter) { RemoveSnapshotFromCollection(iter.Current); }