void VideoControls_ControlChange(object sender, Crestron.SimplSharpPro.DeviceSupport.GenericEventArgs args) { var id = args.EventId; Debug.Console(2, this, "EventId {0}", args.EventId); if (id == VideoControlsEventIds.BrightnessFeedbackEventId) { VgaBrightnessFeedback.FireUpdate(); } else if (id == VideoControlsEventIds.ContrastFeedbackEventId) { VgaContrastFeedback.FireUpdate(); } }
void VideoControls_ControlChange(object sender, GenericEventArgs args) { var id = args.EventId; Debug.Console(2, this, "EventId {0}", args.EventId); switch (id) { case VideoControlsEventIds.BrightnessFeedbackEventId: VgaBrightnessFeedback.FireUpdate(); break; case VideoControlsEventIds.ContrastFeedbackEventId: VgaContrastFeedback.FireUpdate(); break; } }