private void btListNDISources_Click(object sender, EventArgs e) { cbIPURL.Items.Clear(); var lst = VideoCapture1.IP_Camera_NDI_ListSources(); foreach (var uri in lst) { cbIPURL.Items.Add(uri); } if (cbIPURL.Items.Count > 0) { cbIPURL.SelectedIndex = 0; } }