public MainWindow() { InitializeComponent(); TVCommandsList.ItemsSource = HisenseKey.AllKeys; TVMacrosList.ItemsSource = HisenseKeyMacro.AllMacros; HisenseTV.TVDiscovered += HisenseTV_TVDiscovered; HisenseTV.DiscoverTVs(); }
private void ScanTVButton_Click(object sender, RoutedEventArgs e) { tvList.Clear(); HisenseTV.DiscoverTVs(); }