public CaptureSettingsDialog() { InitializeComponent(); foreach (string device in CaptureService.GetAllDevices()) { cb_interfaceList.Items.Add(device.ToString()); } }