mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
28 lines
1.3 KiB
XML
28 lines
1.3 KiB
XML
<Window x:Class="Wox.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:wox="clr-namespace:Wox"
|
|
Title="Wox"
|
|
Topmost="True"
|
|
Loaded="MainWindow_OnLoaded"
|
|
SizeToContent="Height"
|
|
ResizeMode="NoResize"
|
|
Deactivated="MainWindow_OnDeactivated"
|
|
WindowStyle="None"
|
|
WindowStartupLocation="Manual"
|
|
Drop="MainWindow_OnDrop"
|
|
AllowDrop="True"
|
|
ShowInTaskbar="False"
|
|
Style="{DynamicResource WindowStyle}"
|
|
Icon="Images\app.png"
|
|
AllowsTransparency="True"
|
|
>
|
|
<Border Style="{DynamicResource WindowBorderStyle}" MouseDown="Border_OnMouseDown">
|
|
<StackPanel Orientation="Vertical">
|
|
<TextBox Style="{DynamicResource QueryBoxStyle}" PreviewDragOver="TbQuery_OnPreviewDragOver" AllowDrop="True"
|
|
x:Name="tbQuery" PreviewKeyDown="TbQuery_OnPreviewKeyDown" TextChanged="TbQuery_OnTextChanged" />
|
|
<Line Style="{DynamicResource PendingLineStyle}" x:Name="progressBar" Y1="0" Y2="0" X2="100" Height="2" StrokeThickness="1"></Line>
|
|
<wox:ResultPanel x:Name="pnlResult" />
|
|
<wox:ResultPanel x:Name="pnlContextMenu" Visibility="Collapsed" />
|
|
</StackPanel>
|
|
</Border>
|
|
</Window> |