ghasem110deh
چهارشنبه 05 اسفند 1394, 08:35 صبح
سلام به همه :)
از AForge استفاده کردم ...
FilterInfoCollection videoDevices;
private void ComboBoxSources_SelectedIndexChanged(object sender, EventArgs e)
{
if (videoDevices.Count != 0)
{
videoDevice = new VideoCaptureDevice(videoDevices(ComboBoxSources.Se lectedIndex).MonikerString);
EnumerateVideoModes(videoDevice);
}
}
// this error : frmClientele.videoDevices' is a 'field' but is used like a 'method'
کجا رو و چطور باید تغییر داد !؟
به videoDevices بعد از VideoCaptureDevice گیر میده !
از AForge استفاده کردم ...
FilterInfoCollection videoDevices;
private void ComboBoxSources_SelectedIndexChanged(object sender, EventArgs e)
{
if (videoDevices.Count != 0)
{
videoDevice = new VideoCaptureDevice(videoDevices(ComboBoxSources.Se lectedIndex).MonikerString);
EnumerateVideoModes(videoDevice);
}
}
// this error : frmClientele.videoDevices' is a 'field' but is used like a 'method'
کجا رو و چطور باید تغییر داد !؟
به videoDevices بعد از VideoCaptureDevice گیر میده !