mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
28 lines
1.7 KiB
XML
28 lines
1.7 KiB
XML
<Window x:Class="Wox.Plugin.Program.AddProgramSource"
|
|
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"
|
|
mc:Ignorable="d"
|
|
Width="400"
|
|
Height="180"
|
|
WindowStartupLocation="CenterScreen"
|
|
d:DesignHeight="400" d:DesignWidth="300">
|
|
<StackPanel Orientation="Vertical">
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="{DynamicResource wox_plugin_program_directory}"/>
|
|
<TextBox Name="Directory" VerticalAlignment="Center" Width="238" Margin="0,7" />
|
|
<Button Name="BrowseButton" Content="{DynamicResource wox_plugin_program_browse}" HorizontalAlignment="Left" VerticalAlignment="Center" Width="75" Click="BrowseButton_Click" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="{DynamicResource wox_plugin_program_file_suffixes}" />
|
|
<TextBox x:Name="Suffixes" VerticalAlignment="Center" Width="297" Margin="0,7" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="{DynamicResource wox_plugin_program_max_search_depth}" />
|
|
<TextBox Name="MaxDepth" Text="-1" VerticalAlignment="Center" Width="146" Margin="0,7" />
|
|
</StackPanel>
|
|
<Button VerticalAlignment="Center" HorizontalAlignment="Right" Margin="10" Height="20" Width="70" Click="ButtonAdd_OnClick" Content="{DynamicResource wox_plugin_program_update}" />
|
|
</StackPanel>
|
|
</Window>
|