-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
24 lines (23 loc) · 1.23 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
24
<Window x:Class="UnityGames.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:UnityGames"
mc:Ignorable="d"
Title="Find installed Unity games" Height="450" Width="800">
<Grid>
<WrapPanel HorizontalAlignment="Center" Height="30" Margin="0,10,0,0" VerticalAlignment="Top" Width="780">
<Label x:Name="unityGameCountLabel" Content="Number of Unity Engine games:" HorizontalAlignment="Left" VerticalAlignment="Top"/>
<Button x:Name="unitySearchButton" Padding="8,0,8,0" Content="Find installed Unity games
" Width="160" Click="unitySearchButton_Click"/>
</WrapPanel>
<ListBox x:Name="unityGamesList" Margin="0,45,0,0">
<ListBox.ItemTemplate>
<DataTemplate>
<Label Content="{Binding Path=Name}" ToolTip="{Binding Path=FullName}"></Label>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
</Window>