2 using System.Windows.Forms;
4 namespace CecConfigGui.actions
6 class RescanDevices : UpdateProcess
8 public override void Process()
10 SendEvent(UpdateEventType.ProgressBar, 10);
11 SendEvent(UpdateEventType.StatusText, "Polling active devices");
12 SendEvent(UpdateEventType.PollDevices);
14 SendEvent(UpdateEventType.ProgressBar, 100);
15 SendEvent(UpdateEventType.StatusText, "Ready.");