예제 #1
0
 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();
 }
예제 #2
0
 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);
         }
     }
 }