private void LightsOn_Click(object sender, RoutedEventArgs e) { foreach (string light in Storage.groupData.lights) { PutEvents.ToggleLight(light, true); } ToggleAllSliders(true); PutEvents.ChangeAccent(Storage.accentBackup); FadeOut(); }
private void LightsOffItem_Click(object sender, RoutedEventArgs e) { if (Ready()) { foreach (string light in Storage.groupData.lights) { PutEvents.ToggleLight(light, false); PutEvents.ChangeAccent(9, false); } } }