Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            TVCommandsList.ItemsSource = HisenseKey.AllKeys;
            TVMacrosList.ItemsSource   = HisenseKeyMacro.AllMacros;

            HisenseTV.TVDiscovered += HisenseTV_TVDiscovered;
            HisenseTV.DiscoverTVs();
        }
Exemplo n.º 2
0
 private void ScanTVButton_Click(object sender, RoutedEventArgs e)
 {
     tvList.Clear();
     HisenseTV.DiscoverTVs();
 }