blob: 3210edb8baa48f0606d0b0823d5dd39d415762f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?xml version="1.0"?>
<Window Caption="OpenFile" Height="300" Width="500">
<VerticalStack Margin="5">
<TextBox Margin="1" Width="0" Height="-1" Text="{CurrentPath}"/>
<HorizontalStack >
<ListBox Data="{Directories}" Width="-1" Height="0"
Background="0,5;0,5;0,5;0,5"
SelectedItemChanged="OnSelectedItemChanged"
Template="#Crow.Templates.ScrollingListBox.goml"
ItemTemplate="#Crow.Templates.tmpDirItem.goml" >
</ListBox>
<ListBox Data="{Files}" Width="0" Height="0"
Background="0,5;0,5;0,5;0,5"
SelectedItemChanged="onFileListItemChanged"
Template="#Crow.Templates.ScrollingListBox.goml"
ItemTemplate="#Crow.Templates.imgItemTemplate.goml">
</ListBox>
</HorizontalStack>
<HorizontalStack Fit="true" HorizontalAlignment="Right">
<Button Caption="Ok" MouseClick="onFileSelect"/>
<Button Caption="Cancel"/>
</HorizontalStack>
</VerticalStack>
</Window>
|