星火直播PC
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CameraWindow.xaml 864B

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