Пример #1
0
        public void MovePosIndicator(double timePoint)
        {
            float relX = parent.GetPosFromTimePoint(timePoint);
            int   x    = (int)(relX * (this.Width - SpectrogramViewer.PADDING_LEFT) + SpectrogramViewer.PADDING_LEFT);

            posIndicator.X = x;
            Invalidate(false);
        }