void OpenFiles() { List <string> files = FileHandler.BrowserOpenFiles(); // Check if user has completed the action if (files != null) { replayFiles.AddRange(files); } else { replayControl = ReplayControls.Stop; } }
void UpdateReplay() { if (prevControl == ReplayControls.Stop && replayControl != ReplayControls.Stop) { TimeKeeper.Reset(); foreach (Channel ch in channels) { ch.firstVisiblePointIndex = 0; ch.lastVisiblePointIndex = 0; } } prevControl = replayControl; }