public void MoveTube(int curSampleID, bool go2MeasurePos) { EVOMeasureInfo.curSampleID = curSampleID; EVOMeasureInfo.go2MeasurePos = go2MeasurePos; prgController.Start(); prgController.SetMeasureProgress(curSampleID - 1, go2MeasurePos); InvalidateVisual(); }