2014-03-30 11:16:44 +08:00
|
|
|
<UserControl x:Class="Wox.Plugin.SystemPlugins.Program.ProgramSetting"
|
2014-03-29 14:42:43 +08:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:infrastructure="clr-namespace:Wox.Infrastructure;assembly=Wox.Infrastructure"
|
|
|
|
mc:Ignorable="d"
|
2014-08-10 22:22:54 +08:00
|
|
|
d:DesignHeight="300" d:DesignWidth="600">
|
2014-03-29 14:42:43 +08:00
|
|
|
|
2014-08-10 22:22:54 +08:00
|
|
|
<UserControl.Resources>
|
|
|
|
<BooleanToVisibilityConverter x:Key="BoolToVis" />
|
|
|
|
</UserControl.Resources>
|
2014-03-29 14:42:43 +08:00
|
|
|
<Grid Margin="10">
|
|
|
|
<Grid.RowDefinitions>
|
2014-08-12 23:07:54 +08:00
|
|
|
<RowDefinition Height="50"/>
|
2014-03-29 14:42:43 +08:00
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
</Grid.RowDefinitions>
|
2014-08-13 23:16:45 +08:00
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right">
|
|
|
|
<Button Height="30" HorizontalAlignment="Right" x:Name="btnProgramSuffixes" Width="130" Click="BtnProgramSuffixes_OnClick">Index File Type</Button>
|
|
|
|
<Button Height="30" HorizontalAlignment="Right" Margin="10 0 0 0" x:Name="btnReindex" Width="100" Click="btnReindex_Click">Re-Index</Button>
|
|
|
|
</StackPanel>
|
2014-08-12 23:07:54 +08:00
|
|
|
<ListView x:Name="programSourceView" Grid.Row="1">
|
2014-03-29 14:42:43 +08:00
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
|
|
|
<GridViewColumn Header="Location" Width="400">
|
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBlock Text="{Binding Location, ConverterParameter=(null), Converter={infrastructure:StringEmptyConverter}}"/>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
|
|
|
</GridView>
|
|
|
|
</ListView.View>
|
|
|
|
</ListView>
|
2014-08-12 23:07:54 +08:00
|
|
|
<DockPanel Grid.Row="2">
|
2014-08-10 22:22:54 +08:00
|
|
|
<StackPanel x:Name="indexingPanel" Visibility="Hidden" HorizontalAlignment="Left" Orientation="Horizontal">
|
|
|
|
<ProgressBar x:Name="progressBarIndexing" Height="20" Width="80" Minimum="0" Maximum="100" IsIndeterminate="True"></ProgressBar>
|
|
|
|
<TextBlock Margin="10 0 0 0" Height="20" HorizontalAlignment="Center">Indexing</TextBlock>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
|
|
|
<Button x:Name="btnDeleteProgramSource" Click="btnDeleteProgramSource_OnClick" Width="100" Margin="10" Content="Delete"/>
|
|
|
|
<Button x:Name="btnEditProgramSource" Click="btnEditProgramSource_OnClick" Width="100" Margin="10" Content="Edit"/>
|
|
|
|
<Button x:Name="btnAddProgramSource" Click="btnAddProgramSource_OnClick" Width="100" Margin="10" Content="Add"/>
|
|
|
|
</StackPanel>
|
|
|
|
</DockPanel>
|
2014-03-29 14:42:43 +08:00
|
|
|
</Grid>
|
|
|
|
</UserControl>
|