-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
23 lines (22 loc) · 1.38 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="Revert.FileExtensionFixer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="File Extension Fixer" Height="350" Width="525">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"></RowDefinition>
<RowDefinition Height="20"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
<DockPanel LastChildFill="True" Grid.Row="0" Margin="5">
<Button Name="btnFixExtensions" Content="Fix Extensions" Margin="5 0 5 0" DockPanel.Dock="Right" Click="BtnFixExtensions_OnClick" />
<Button Name="btnBrowse" Content="Browse" Margin="5 0 5 0" DockPanel.Dock="Right" Click="BtnBrowse_OnClick" />
<TextBox Name="txtDirectoryPath"></TextBox>
</DockPanel>
<CheckBox Name="cbIncludeSubDirectories" Content="Include sub directories?" Grid.Row="1"></CheckBox>
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Name="scrollViewer" Grid.Row="2" Margin="5">
<TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Stretch" MinWidth="100" Width="{Binding ElementName=scrollViewer, Path=ViewportWidth}"
TextWrapping="Wrap" Name="txtOutput" />
</ScrollViewer>
</Grid>
</Window>