private void spotify_OnVolumeChange(object sender, VolumeChangeEventArgs e) { //throw new NotImplementedException(); }
private void _spotify_OnVolumeChange(object sender, VolumeChangeEventArgs e) { volumeLabel.Text = (e.NewVolume * 100).ToString(CultureInfo.InvariantCulture); }
private void _spotify_OnVolumeChange(object sender, VolumeChangeEventArgs e) { if (InvokeRequired) { Invoke(new Action(() => _spotify_OnVolumeChange(sender, e))); return; } volumeLabel.Text = (e.NewVolume * 100).ToString(CultureInfo.InvariantCulture); }