-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
23 lines (23 loc) · 1.11 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Window x:Class="UnloadCamera.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:UnloadCamera"
mc:Ignorable="d"
Title="UnloadCamera" Height="350" Width="525" Icon="{Binding IconAsImage}" WindowState="Minimized" >
<Window.DataContext>
<local:ViewModel />
</Window.DataContext>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="Minimize" Click="Minimize_Click" />
<Button Content="Close" Click="Close_Click" />
</StackPanel>
<ListBox Grid.Row="1" ItemsSource="{Binding LogEntries}" SelectedIndex="{Binding LogEntriesLastIndex, Mode=OneWay}"></ListBox>
</Grid>
</Window>