private void Connect1_Click(object sender, RoutedEventArgs e) { EventHandlers.ConnectToBridge(); fillBox(); }
private void LightSwitch_Toggled(object sender, RoutedEventArgs e) { EventHandlers.setOnAndOfHandler(); }
private void Saturation_ValueChanged(object sender, RangeBaseValueChangedEventArgs e) { SolidColorBrush brush = new SolidColorBrush(EventHandlers.setSatVal((int)e.NewValue)); setColor(brush); }
private void Brightness_ValueChanged(object sender, RangeBaseValueChangedEventArgs e) { SolidColorBrush brush = new SolidColorBrush(EventHandlers.setBriVal((int)e.NewValue)); setColor(brush); }
private void Button_Click(object sender, RoutedEventArgs e) { EventHandlers.SetLampHandler(); }