private void Volume_btn_Click(object sender, EventArgs e) { if (flg) { volume_bar.Value = 0; flg = false; volume_btn.Image = Properties.Resources.volume_white_no; } else { volume_bar.Value = 100; flg = true; volume_btn.Image = Properties.Resources.volume_white_max; } volume_btn.Refresh(); BassCore.SetVolumeToStream(BassCore.Stream, volume_bar.Value); }
private void Volium_bar_Scroll(object sender, EventArgs e) { BassCore.SetVolumeToStream(BassCore.Stream, volume_bar.Value); ToVolGray(); volume_btn.Refresh(); }