// The main window calls this when a PMT cursor is moved. public void PMTCursorMoved() { if (Controller.GetController().appState == Controller.AppState.stopped) { startSpectrumGate = window.SpectrumGate.Minimum; endSpectrumGate = window.SpectrumGate.Maximum; window.SetStatus("S: " + string.Format("{0:N4}", startSpectrumGate) + " E: " + string.Format("{0:N4}", endSpectrumGate)); UpdateTOFAveragePlots(); } }