星火直播PC
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

CameraWindow.xaml 932B

123456789101112131415
  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" Height="180" Width="320" ResizeMode="NoResize" WindowStyle="None"
  9. >
  10. <Grid>
  11. <wfi:WindowsFormsHost Grid.Row="0" Grid.Column="1" x:Name="wfhCamera" Margin="0" Cursor="SizeAll" >
  12. <aforge:VideoSourcePlayer x:Name="player" Height="180" Width="320" MouseDown="player_MouseDown" MouseMove="player_MouseMove"/>
  13. </wfi:WindowsFormsHost>
  14. </Grid>
  15. </Window>