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

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

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