private void VScrollBar1_ValueChanged(object sender, System.EventArgs e) { if (player != null) { player.SetEqualizerPreampGain(20000 - ((VScrollBar)sender).Value * 1000); } }