forked from Iemand005/IRCameraView
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
31 lines (29 loc) · 1.52 KB
/
MainWindow.xaml
File metadata and controls
31 lines (29 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<Window
x:Class="IRCameraView.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:IRCameraView"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
<Image x:Name="imageElement" Stretch="Uniform" />
<Grid>
<StackPanel Spacing="10" Margin="10" Orientation="Horizontal">
<ComboBox x:Name="DeviceComboBox" SelectionChanged="DeviceComboBox_SelectionChanged" Width="300" Margin="10"/>
<Button Click="TakePhoto_Click">Photo</Button>
<ToggleButton Click="TakeVideo_Click">Video</ToggleButton>
<TextBlock VerticalAlignment="Center">00:00</TextBlock>
</StackPanel>
<StackPanel Spacing="10" Margin="10" Orientation="Horizontal" HorizontalAlignment="Right">
<TextBlock Text="Frame filter" VerticalAlignment="Center"/>
<ComboBox SelectedIndex="0" SelectionChanged="FrameFilter_SelectionChanged">
<ComboBoxItem>None</ComboBoxItem>
<ComboBoxItem>Dark</ComboBoxItem>
<ComboBoxItem>Illuminated</ComboBoxItem>
</ComboBox>
</StackPanel>
</Grid>
</StackPanel>
</Window>