Beispiel #1
0
 private async void setRandomHue(object sender, object e)
 {
     if (lampFound)
     {
         await lampHelper.SetHueAsync((uint)rand.Next());
     }
 }
Beispiel #2
0
 private static async void LampHelper_LampFound_color(object sender, EventArgs e)
 {
     LampHelper lampHelper = sender as LampHelper;
     await lampHelper.SetHueAsync(color_value);
 }