2015-01-03 15:20:34 +08:00
|
|
|
<Window x:Class="Wox.Plugin.WebSearch.WebSearchSetting"
|
2014-01-28 11:19:27 +08:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
ResizeMode="NoResize"
|
|
|
|
WindowStartupLocation="CenterScreen"
|
2014-02-06 22:22:02 +08:00
|
|
|
Title="WebSearchSetting" Height="350" Width="674.766">
|
2014-01-28 11:19:27 +08:00
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition></RowDefinition>
|
|
|
|
<RowDefinition></RowDefinition>
|
|
|
|
<RowDefinition></RowDefinition>
|
|
|
|
<RowDefinition></RowDefinition>
|
2014-02-06 22:22:02 +08:00
|
|
|
<RowDefinition Height="60"></RowDefinition>
|
2014-02-02 16:15:34 +08:00
|
|
|
<RowDefinition></RowDefinition>
|
2014-01-28 11:19:27 +08:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="120"></ColumnDefinition>
|
|
|
|
<ColumnDefinition></ColumnDefinition>
|
|
|
|
</Grid.ColumnDefinitions>
|
2015-01-07 18:45:55 +08:00
|
|
|
<TextBlock Margin="10" FontSize="14" Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{DynamicResource wox_plugin_websearch_title}"></TextBlock>
|
2014-01-29 22:44:57 +08:00
|
|
|
<TextBox x:Name="tbTitle" Margin="10" Grid.Row="0" Width="400" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Left"></TextBox>
|
2014-01-28 11:19:27 +08:00
|
|
|
|
2015-01-07 18:45:55 +08:00
|
|
|
<TextBlock Margin="10" FontSize="14" Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{DynamicResource wox_plugin_websearch_url}"></TextBlock>
|
2014-01-29 22:44:57 +08:00
|
|
|
<TextBox x:Name="tbUrl" Margin="10" Grid.Row="1" Width="400" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Left"></TextBox>
|
2014-01-28 11:19:27 +08:00
|
|
|
|
2015-01-07 18:45:55 +08:00
|
|
|
<TextBlock Margin="10" FontSize="14" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{DynamicResource wox_plugin_websearch_action_keyword}"></TextBlock>
|
2014-01-29 22:44:57 +08:00
|
|
|
<TextBox x:Name="tbActionword" Margin="10" Grid.Row="2" Width="400" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Left"></TextBox>
|
2014-01-28 11:19:27 +08:00
|
|
|
|
2015-01-07 18:45:55 +08:00
|
|
|
<TextBlock Margin="10" FontSize="14" Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{DynamicResource wox_plugin_websearch_enable}"></TextBlock>
|
2014-02-02 16:15:34 +08:00
|
|
|
<CheckBox x:Name="cbEnable" IsChecked="True" Margin="10" Grid.Row="3" Grid.Column="1" VerticalAlignment="Center"></CheckBox>
|
|
|
|
|
2015-01-07 18:45:55 +08:00
|
|
|
<TextBlock Margin="10" FontSize="14" Grid.Row="4" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Right" Text="{DynamicResource wox_plugin_websearch_icon}"></TextBlock>
|
2014-02-06 22:22:02 +08:00
|
|
|
<StackPanel Orientation="Horizontal" Grid.Row="4" Grid.Column="1" Margin="10">
|
|
|
|
<Image x:Name="imgIcon" Width="24" Height="24" Margin="0 0 10 0" />
|
2015-01-07 18:45:55 +08:00
|
|
|
<Button x:Name="btnSelectIcon" Height="24" Click="BtnSelectIcon_OnClick" Content="{DynamicResource wox_plugin_websearch_select_icon}"></Button>
|
2014-02-06 22:22:02 +08:00
|
|
|
<TextBlock x:Name="tbIconPath" Visibility="Hidden"></TextBlock>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="5" Grid.Column="1">
|
2015-01-07 18:45:55 +08:00
|
|
|
<Button x:Name="btnCancel" Click="BtnCancel_OnClick" Margin="10 0 10 0" Width="80" Height="25" Content="{DynamicResource wox_plugin_websearch_cancel}"></Button>
|
2015-11-09 11:20:02 +08:00
|
|
|
<Button x:Name="btnConfirm" Margin="10 0 10 0" Width="80" Height="25" Click="btnConfirm_OnClick">
|
2015-01-07 18:45:55 +08:00
|
|
|
<TextBlock x:Name="lblAdd" Text="{DynamicResource wox_plugin_websearch_add}"></TextBlock></Button>
|
2014-01-28 11:19:27 +08:00
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
|
|
</Window>
|