Imports System.Collections.Generic Imports System.Linq Imports System.Text Imports System.Windows Imports System.Windows.Controls Imports System.Windows.Data Imports System.Windows.Documents Imports System.Windows.Input Imports System.Windows.Media Imports System.Windows.Media.Imaging Imports System.Windows.Navigation Imports System.Windows.Shapes Imports Microsoft.Expression.Encoder.Devices Imports WebcamControl Imports System.IO Imports System.Drawing.Imaging Namespace WPF_Webcam ''' <summary> ''' Interaction logic for MainWindow.xaml ''' </summary> Partial Public Class MainWindow Inherits Window Private webCamCtrl As Webcam Public Sub New() InitializeComponent() webCamCtrl = New Webcam() ' Bind the Video and Audio device properties of the ' Webcam control to the SelectedValue property of ' the necessary ComboBox. Dim bndg_1 As New Binding("SelectedValue") bndg_1.Source = VidDvcsComboBox webCamCtrl.SetBinding(Webcam.VideoDeviceProperty, bndg_1)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)