5
5
Icon =" Images\app.png"
6
6
ResizeMode =" NoResize"
7
7
WindowStartupLocation =" CenterScreen"
8
- Title =" {DynamicResource customeQueryHotkeyTitle}" Height =" 200" Width =" 674.766" >
8
+ MouseDown =" window_MouseDown"
9
+ Title =" {DynamicResource customeQueryHotkeyTitle}" Height =" 345" Width =" 500" Background =" #F3F3F3" BorderBrush =" #cecece" >
9
10
<Window .InputBindings>
10
11
<KeyBinding Key =" Escape" Command =" Close" />
11
12
</Window .InputBindings>
12
13
<Window .CommandBindings>
13
14
<CommandBinding Command =" Close" Executed =" cmdEsc_OnPress" />
14
15
</Window .CommandBindings>
15
16
<Grid >
17
+ <Grid .RowDefinitions>
18
+ <RowDefinition />
19
+ <RowDefinition Height =" 80" />
20
+ </Grid .RowDefinitions>
21
+ <Border BorderThickness =" 0 0 0 1" BorderBrush =" #e5e5e5" Background =" #ffffff" Padding =" 26 26 26 0" >
22
+ <Grid >
23
+ <StackPanel >
24
+ <StackPanel Grid.Row=" 0" Margin =" 0 0 0 12" >
25
+ <TextBlock Grid.Column=" 0" Text =" {DynamicResource customeQueryHotkeyTitle}" FontSize =" 20" FontWeight =" SemiBold" FontFamily =" Segoe UI" TextAlignment =" Left"
26
+ Margin =" 0 0 0 0" />
27
+ </StackPanel >
28
+ <StackPanel >
29
+ <TextBlock
30
+ Text =" {DynamicResource customeQueryHotkeyTips}" Foreground =" #1b1b1b" FontSize =" 14" TextWrapping =" WrapWithOverflow" TextAlignment =" Left" />
31
+ </StackPanel >
32
+
33
+ <StackPanel Orientation =" Horizontal" Margin =" 0 20 0 0" >
34
+ <TextBlock Margin =" 10" FontSize =" 14" Grid.Row=" 0" Grid.Column=" 0" VerticalAlignment =" Center"
35
+ HorizontalAlignment =" Left" Text =" {DynamicResource hotkey}" Width =" 60" />
36
+ <flowlauncher : HotkeyControl x : Name =" ctlHotkey" Margin =" 10,0,10,0" Grid.Column=" 1" VerticalAlignment =" Center" Height =" 32" HorizontalAlignment =" Left" HorizontalContentAlignment =" Left" Width =" 200" />
37
+ <TextBlock Margin =" 10" FontSize =" 14" Grid.Row=" 1" Grid.Column=" 0" VerticalAlignment =" Center"
38
+ HorizontalAlignment =" Left" Text =" {DynamicResource actionKeyword}" />
39
+ </StackPanel >
40
+
41
+ <StackPanel Orientation =" Horizontal" Margin =" 0 0 0 0" >
42
+ <TextBlock Margin =" 10" FontSize =" 14" Grid.Row=" 0" Grid.Column=" 0" VerticalAlignment =" Center" Width =" 60"
43
+ HorizontalAlignment =" Left" Text =" {DynamicResource customQuery}" />
44
+ <TextBox x : Name =" tbAction" Margin =" 10" Width =" 250" VerticalAlignment =" Center" HorizontalAlignment =" Left" />
45
+ <Button x : Name =" btnTestActionKeyword" Padding =" 10 5 10 5" Height =" 30" Click =" BtnTestActionKeyword_OnClick"
46
+ Content =" {DynamicResource preview}" />
47
+ </StackPanel >
48
+ </StackPanel >
49
+ </Grid >
50
+ </Border >
51
+ <StackPanel Orientation =" Horizontal" HorizontalAlignment =" Center" Grid.Row=" 1" >
52
+ <Button x : Name =" btnCancel" Click =" BtnCancel_OnClick" Margin =" 10 0 5 0" Width =" 100" Height =" 32"
53
+ Content =" {DynamicResource cancel}" />
54
+ <Button x : Name =" btnAdd" Margin =" 5 0 10 0" Width =" 100" Height =" 32" Click =" btnAdd_OnClick" >
55
+ <TextBlock x : Name =" lblAdd" Text =" {DynamicResource done}" />
56
+ </Button >
57
+ </StackPanel >
58
+ <!--
16
59
<Grid.RowDefinitions>
17
60
<RowDefinition />
18
61
<RowDefinition />
41
84
<TextBlock x:Name="lblAdd" Text="{DynamicResource done}" />
42
85
</Button>
43
86
</StackPanel>
87
+ -->
44
88
</Grid >
45
89
</Window >
0 commit comments