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