示例#1
0
文件: frmMain.cs 项目: lftkv/spoti
 private void spotify_OnVolumeChange(object sender, VolumeChangeEventArgs e)
 {
     //throw new NotImplementedException();
 }
示例#2
0
 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);
 }