This repository was archived by the owner on Jul 1, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
38 lines (35 loc) · 1.82 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Window x:Class="TempDir.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"
mc:Ignorable="d"
Title="TempDir"
Height="350" Width="500" x:ClassModifier="internal"><!-- TODO: Add icon in a way that works. -->
<DockPanel Margin="10">
<StackPanel Orientation="Vertical" DockPanel.Dock="Left" Width="180" Margin="5">
<Button Content="Mark _new folder"
Margin="2"
Click="MarkFolderButton_Click" />
<Button Name="EditFolderButton" Content="_Edit folder"
Margin="2" IsEnabled="False"
Click="EditFolderButton_Click" />
<Button Name="UnmarkFolderButton" Content="_Unmark folder"
Margin="2" IsEnabled="False"
Click="UnmarkFolderButton_Click" />
<StackPanel HorizontalAlignment="Right" Orientation="Vertical" DockPanel.Dock="Right"
Width="40" Margin="0,50">
<Button Name="MoveUpButton" Content="▲"
Margin="2" IsEnabled="False"
Click="MoveUpButton_Click" />
<Button Name="MoveDownButton" Content="▼"
Margin="2" IsEnabled="False"
Click="MoveDownButton_Click" />
</StackPanel>
</StackPanel>
<ListBox Name="CurrentFoldersListBox"
DisplayMemberPath="Name"
Margin="5"
SelectionChanged="CurrentFoldersListBox_OnSelectionChanged" />
</DockPanel>
</Window>