|
20 | 20 | Closing="OnClosing" |
21 | 21 | Deactivated="OnDeactivated" |
22 | 22 | Icon="Images/app.png" |
23 | | - Initialized="OnInitialized" |
24 | 23 | Left="{Binding Settings.WindowLeft, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
25 | 24 | Loaded="OnLoaded" |
26 | 25 | LocationChanged="OnLocationChanged" |
27 | 26 | Opacity="{Binding MainWindowOpacity, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" |
28 | 27 | PreviewKeyDown="OnKeyDown" |
29 | 28 | PreviewKeyUp="OnKeyUp" |
| 29 | + PreviewMouseMove="OnPreviewMouseMove" |
30 | 30 | ResizeMode="CanResize" |
31 | 31 | ShowInTaskbar="False" |
32 | 32 | SizeToContent="Height" |
|
240 | 240 | FontSize="{Binding QueryBoxFontSize, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
241 | 241 | InputMethod.PreferredImeConversionMode="{Binding StartWithEnglishMode, Converter={StaticResource BoolToIMEConversionModeConverter}}" |
242 | 242 | InputMethod.PreferredImeState="{Binding StartWithEnglishMode, Converter={StaticResource BoolToIMEStateConverter}}" |
243 | | - PreviewDragOver="OnPreviewDragOver" |
| 243 | + PreviewDragOver="QueryTextBox_OnPreviewDragOver" |
244 | 244 | PreviewKeyUp="QueryTextBox_KeyUp" |
245 | 245 | Style="{DynamicResource QueryBoxStyle}" |
246 | 246 | Text="{Binding QueryText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" |
247 | 247 | Visibility="Visible" |
248 | 248 | WindowChrome.IsHitTestVisibleInChrome="True"> |
249 | 249 | <TextBox.CommandBindings> |
250 | | - <CommandBinding Command="ApplicationCommands.Copy" Executed="OnCopy" /> |
| 250 | + <CommandBinding Command="ApplicationCommands.Copy" Executed="QueryTextBox_OnCopy" /> |
251 | 251 | </TextBox.CommandBindings> |
252 | 252 | <TextBox.ContextMenu> |
253 | 253 | <ContextMenu MinWidth="160"> |
|
0 commit comments