Example #1
0
 private void Connect1_Click(object sender, RoutedEventArgs e)
 {
     EventHandlers.ConnectToBridge();
     fillBox();
 }
Example #2
0
 private void LightSwitch_Toggled(object sender, RoutedEventArgs e)
 {
     EventHandlers.setOnAndOfHandler();
 }
Example #3
0
        private void Saturation_ValueChanged(object sender, RangeBaseValueChangedEventArgs e)
        {
            SolidColorBrush brush = new SolidColorBrush(EventHandlers.setSatVal((int)e.NewValue));

            setColor(brush);
        }
Example #4
0
        private void Brightness_ValueChanged(object sender, RangeBaseValueChangedEventArgs e)
        {
            SolidColorBrush brush = new SolidColorBrush(EventHandlers.setBriVal((int)e.NewValue));

            setColor(brush);
        }
Example #5
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     EventHandlers.SetLampHandler();
 }