private void ViewOnPositionChanged(object sender, IntEventArgs intEventArgs) { double pos = (_view.Position / 100d) * musicPlayer.TotalTime; musicPlayer.Seek(pos); }
public void Seek(double position) { musicPlayer.Seek(position); }
private void ViewOnPositionChanged(object sender, IntEventArgs intEventArgs) { double pos = (_view.Position / 100d) * musicPlayer.TotalTime; musicPlayer.Seek(pos); }
public void Seek(double position) { musicPlayer.Seek(position); }