Example #1
0
 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);
 }
Example #2
0
 public void ChangeRandomization()
 {
     IsRandomized = !IsRandomized;
     OnRandomizeSwitch.Invoke(this, IsRandomized);
 }