Lakritzator / harmony

C# library for connecting to and controlling the Logitech Harmony Hub.
MIT License
5 stars 0 forks source link

Adding HarmonyDemo #9

Closed Slion closed 8 years ago

Lakritzator commented 8 years ago

I like it a lot, I did make a very small change for the async code. This might also explain why I really wanted to have async, I disable the connect button while the connect "runs" and can enable it again when an error occurs. It will stay disabled if the connect worked (we don't have a disconnect).

Without async it is not possible to update the button state while the method does its thing.

Can you add something to show the current activity?