Commit | Line | Data |
---|---|---|
6d866874 LOK |
1 | using CecSharp; |
2 | using System.Windows.Forms; | |
3 | ||
4 | namespace CecConfigGui.actions | |
5 | { | |
6 | class RescanDevices : UpdateProcess | |
7 | { | |
8 | public override void Process() | |
9 | { | |
10 | SendEvent(UpdateEventType.ProgressBar, 10); | |
11 | SendEvent(UpdateEventType.StatusText, "Polling active devices"); | |
12 | SendEvent(UpdateEventType.PollDevices); | |
13 | ||
14 | SendEvent(UpdateEventType.ProgressBar, 100); | |
15 | SendEvent(UpdateEventType.StatusText, "Ready."); | |
16 | } | |
17 | } | |
18 | } |