C# Class Accord.Video.DirectShow.VideoCaptureDeviceForm

Local video device selection form.

The form provides a standard way of selecting local video device (USB web camera, capture board, etc. - anything supporting DirectShow interface), which can be reused across applications. It allows selecting video device, video size and snapshots size (if device supports snapshots and user needs them).

Inheritance: System.Windows.Forms.Form
Show file Open project: accord-net/framework

Public Methods

Method Description
VideoCaptureDeviceForm ( ) : System

Initializes a new instance of the VideoCaptureDeviceForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
EnumeratedSupportedFrameSizes ( VideoCaptureDevice videoDevice ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

VideoCaptureDeviceForm_Load ( object sender, EventArgs e ) : void
devicesCombo_SelectedIndexChanged ( object sender, EventArgs e ) : void
okButton_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

VideoCaptureDeviceForm() public method

Initializes a new instance of the VideoCaptureDeviceForm class.
public VideoCaptureDeviceForm ( ) : System
return System