private void FindDevices() { logger.Debug("FindDevices()"); try { decklinkDevices = DeckLinkTools.GetDeckLinkInputDevices(); if (decklinkDevices.Count == 0) { MessageBox.Show("This application requires a DeckLink PCI card.\n" + "You will not be able to use the features of this application until a DeckLink PCI card is installed."); } comboBoxDevices.DataSource = decklinkDevices; //comboBoxDevices.DisplayMember = "DeviceName"; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public List <DeckLinkDeviceDescription> FindDevices() { logger.Debug("IDeckLinkInputControl::FindDevices()"); return(DeckLinkTools.GetDeckLinkInputDevices()); }