Esempio n. 1
0
    void OpenFiles()
    {
        List <string> files = FileHandler.BrowserOpenFiles();

        // Check if user has completed the action
        if (files != null)
        {
            replayFiles.AddRange(files);
        }
        else
        {
            replayControl = ReplayControls.Stop;
        }
    }
Esempio n. 2
0
    void UpdateReplay()
    {
        if (prevControl == ReplayControls.Stop && replayControl != ReplayControls.Stop)
        {
            TimeKeeper.Reset();
            foreach (Channel ch in channels)
            {
                ch.firstVisiblePointIndex = 0;
                ch.lastVisiblePointIndex  = 0;
            }
        }

        prevControl = replayControl;
    }