Beispiel #1
0
 private void LoadCamerasBox()
 {
     lists = Webcam.GetCameras();
     foreach (var item in lists)
     {
         camerasBox.Items.Add(item.Value);
         if (item.Key == Webcam.Instance.CameraIndex)
         {
             camerasBox.SelectedIndex = Webcam.Instance.CameraIndex;
         }
     }
 }