Esempio n. 1
0
        private void trackBar8_Scroll(object sender, EventArgs e)
        {
            Main_Form.Settings.bands[4].Gain = trackBar8.Value;
            Main_Form.Equalizer.Update();
            var value = trackBar8.Value;

            label5.Text = (value > 0 ? "+" + value.ToString() : value.ToString()) + " db";
            Main_Form.saveChanges();
        }
Esempio n. 2
0
        /// <summary>
        /// Удаляем трек
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btRemove_Click(object sender, EventArgs e)
        {
            Main_Form.Settings.songsList.Remove(AudioName);

            foreach (var el in Main_Form.Settings.playLists)
            {
                if (el.songsList.Contains(AudioName))
                {
                    el.songsList.Remove(AudioName);
                }
            }
            Main_Form.saveChanges();
            this.Visible = false;
        }