|
29
|
1 |
<UserControl
|
|
|
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:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions"
|
|
|
7 |
mc:Ignorable="d"
|
|
|
8 |
x:Class="Iri.Modernisation.Controls.View.WebCamControl" Height="243" Width="223">
|
|
|
9 |
|
|
|
10 |
<Grid x:Name="LayoutRoot">
|
|
|
11 |
|
|
|
12 |
<StackPanel x:Name="VideoViewerControlPanel" Orientation="Horizontal" Margin="8,0,8,8" VerticalAlignment="Bottom">
|
|
|
13 |
<Button x:Name="VideoControlLanch" Input:CommandService.Command="CamRecordLanch" Width="43" Content="^" />
|
|
|
14 |
<Button x:Name="VideoControlRecord" Input:CommandService.Command="CamRecordBegin" Width="43" Content="O" />
|
|
|
15 |
<Button x:Name="VideoControlStop" Input:CommandService.Command="CamRecordEnd" Width="43" Content="[]" />
|
|
|
16 |
<Button x:Name="VideoControlClose" Input:CommandService.Command="CamRecordStop" Width="25" Content="X"/>
|
|
|
17 |
</StackPanel>
|
|
35
|
18 |
<Rectangle x:Name="VideoScreen" Margin="8,8,5,34" Stroke="Black">
|
|
|
19 |
<Rectangle.Fill>
|
|
|
20 |
<VideoBrush x:Name="VideoScreenBrush"/>
|
|
|
21 |
</Rectangle.Fill>
|
|
|
22 |
</Rectangle>
|
|
29
|
23 |
</Grid>
|
|
|
24 |
</UserControl> |