private void RandomUpdateIntervalTextBox_KeyDown(object sender, KeyRoutedEventArgs e) { if (e.Key == VirtualKey.Enter) { LightProcessingRandom.SetUpdateInterval(RandomUpdateIntervalTextBox.Text); } }
private void SaveOneActivated() { if (!LightProcessingRandom.isUpdating) { LightProcessingRandom.StartUpdates(); } PartyUIUpdater.GiveVariablesInterval <PartyControlSimple, PartyControlSimple>(this, null); }
//random private void SelectedRandom() { if (!LightProcessingRandom.isUpdating) { LightProcessingRandom.StartUpdates(); } RandomBrightnessOption randomBrightnessOption = BrightnessOptionFrame.Content as RandomBrightnessOption; RandomColorOption randomColorOption = ColorOptionFrame.Content as RandomColorOption; PartyUIUpdater.GiveVariablesInterval <RandomBrightnessOption, RandomColorOption>(randomBrightnessOption, randomColorOption); }
private void RandomUpdateIntervalTextBox_LostFocus(object sender, RoutedEventArgs e) { LightProcessingRandom.SetUpdateInterval(RandomUpdateIntervalTextBox.Text); }
public void StopActiveProcesses() { SoundInput.StopMicrophoneInputSafely(); LightProcessingRandom.StopUpdates(); }
private void SaveOneDeactivated() { LightProcessingRandom.StopUpdates(); }
private void UnselectedRandom() { LightProcessingRandom.StopUpdates(); }