예제 #1
0
        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);
        }
예제 #2
0
 public void RemoveSnapshotFromCollection(SnapshotCollectionEnumerator iter)
 {
     RemoveSnapshotFromCollection(iter.Current);
 }