|
12345678910111213141516 |
- <Window x:Class="XHZB.Desktop.CameraWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:XHZB.Desktop" xmlns:wfi="http://schemas.microsoft.com/netfx/2007/xaml/presentation"
- xmlns:aforge ="clr-namespace:AForge.Controls;assembly=AForge.Controls"
- mc:Ignorable="d"
- Title="摄像头" Height="200" Width="250" ResizeMode="NoResize"
- >
- <Grid>
- <wfi:WindowsFormsHost Grid.Row="0" Grid.Column="1" x:Name="wfhCamera" Margin="0">
- <aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172" />
- </wfi:WindowsFormsHost>
- </Grid>
- </Window>
|