private void OperCamera() { int cameraIndex = 0; recorder.SelectDevice(cameraIndex, devs => { int sizeIndex = devs.IndexOf("1280*720"); recorder.Open(cameraIndex, sizeIndex); }); }
private void btnOpen_Click(object sender, EventArgs e) { recorder.Open(this.cboDevs.SelectedIndex, this.cboSize.SelectedIndex); }