LiveVideoOutputWindow.xaml 1.2 KB

12345678910111213141516171819202122
  1. <Window x:Class="FISSDKDemo.LiveVideoOutputWindow"
  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:FISSDKDemo" WindowStartupLocation="CenterScreen" WindowStyle="None"
  7. mc:Ignorable="d" Loaded="Window_Loaded" WindowChrome.WindowChrome="{DynamicResource WindowChromeKey}"
  8. Title="LiveVideoOutputWindow" Height="450" Width="800">
  9. <Window.Resources>
  10. <WindowChrome x:Key="WindowChromeKey">
  11. <WindowChrome.ResizeBorderThickness>
  12. <Thickness>0</Thickness>
  13. </WindowChrome.ResizeBorderThickness>
  14. </WindowChrome>
  15. </Window.Resources>
  16. <Grid>
  17. <Border Background="Black" BorderBrush="Gray" BorderThickness="1">
  18. <Image x:Name="UsImage"/>
  19. </Border>
  20. <TextBlock x:Name="CurrentTime" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="Orange" Margin="20" FontSize="40"/>
  21. </Grid>
  22. </Window>