public void SetupForLoad(Settings settings, System.Windows.Controls.Slider slider) { MusicPlayer.Volume = settings.Volume; slider.Value = MusicPlayer.Volume; IsLooped = settings.IsLooped; IsRandomized = settings.IsRandomized; OnLoopSwitch.Invoke(this, IsLooped); OnRandomizeSwitch.Invoke(this, IsRandomized); }
public void ChangeRandomization() { IsRandomized = !IsRandomized; OnRandomizeSwitch.Invoke(this, IsRandomized); }