mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
Use consistent name convention
This commit is contained in:
parent
a67ced29a3
commit
4368602684
@ -20,7 +20,7 @@
|
|||||||
<Border Style="{DynamicResource WindowBorderStyle}" MouseDown="Border_OnMouseDown">
|
<Border Style="{DynamicResource WindowBorderStyle}" MouseDown="Border_OnMouseDown">
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
<TextBox Style="{DynamicResource QueryBoxStyle}" PreviewDragOver="TbQuery_OnPreviewDragOver" AllowDrop="True"
|
<TextBox Style="{DynamicResource QueryBoxStyle}" PreviewDragOver="TbQuery_OnPreviewDragOver" AllowDrop="True"
|
||||||
x:Name="tbQuery" PreviewKeyDown="TbQuery_OnPreviewKeyDown" TextChanged="TextBoxBase_OnTextChanged" />
|
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>
|
<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="pnlResult" />
|
||||||
<wox:ResultPanel x:Name="pnlContextMenu" Visibility="Collapsed" />
|
<wox:ResultPanel x:Name="pnlContextMenu" Visibility="Collapsed" />
|
||||||
|
@ -63,7 +63,7 @@ namespace Wox
|
|||||||
tbQuery.CaretIndex = tbQuery.Text.Length;
|
tbQuery.CaretIndex = tbQuery.Text.Length;
|
||||||
if (requery)
|
if (requery)
|
||||||
{
|
{
|
||||||
TextBoxBase_OnTextChanged(null, null);
|
TbQuery_OnTextChanged(null, null);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
@ -439,7 +439,7 @@ namespace Wox
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void TextBoxBase_OnTextChanged(object sender, TextChangedEventArgs e)
|
private void TbQuery_OnTextChanged(object sender, TextChangedEventArgs e)
|
||||||
{
|
{
|
||||||
if (ignoreTextChange) { ignoreTextChange = false; return; }
|
if (ignoreTextChange) { ignoreTextChange = false; return; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user