1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <Form
3
+ xmlns=" http://schema.picoe.ca/eto.forms"
4
+ xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml"
5
+ Title=" Regex File Searcher v1.0.0"
6
+ ClientSize=" 500, 700"
7
+ MinimumSize=" 500, 700"
8
+ Padding=" 10"
9
+ >
10
+
11
+ <TableLayout >
12
+ <TableRow >
13
+ <TableCell >
14
+ <Label >Filename Regex:</Label >
15
+ </TableCell >
16
+ </TableRow >
17
+ <TableRow >
18
+ <TableCell ScaleWidth =" True" >
19
+ <TextBox ID =" txtFilenameRegex" ></TextBox >
20
+ </TableCell >
21
+ </TableRow >
22
+ <TableRow >
23
+ <TableCell >
24
+ <TableLayout >
25
+ <TableRow >
26
+ <TableCell >
27
+ <StackLayout Padding =" 5,1,1,1" Orientation =" Vertical" >
28
+ <CheckBox ID =" chkIgnoreCase" ToolTip =" Don't distinguish between upper and lower case" >Ignore Case</CheckBox >
29
+ <CheckBox ID =" chkSingleLine" ToolTip =" Make period match \n too" Checked =" True" Enabled =" False" >Single Line</CheckBox >
30
+ <CheckBox ID =" chkCultureInvariant" ToolTip =" Make match insensitive to the culture" >Culture Invariant</CheckBox >
31
+ <CheckBox ID =" chkExplicitCapture" ToolTip =" Capture groups only if explicitly numbered or named" Checked =" True" Enabled =" False" >Explicit Capture</CheckBox >
32
+ <CheckBox ID =" chkEcmaScript" ToolTip =" ECMA Script compliant, can only use with ignore case and multiline" >ECMA Script</CheckBox >
33
+ </StackLayout >
34
+ </TableCell >
35
+ <TableCell >
36
+ <StackLayout Padding =" 5,1,1,1" Orientation =" Vertical" >
37
+ <CheckBox ID =" chkIgnoreWhite" ToolTip =" Ignore unescaped whitespace, allow comments after #" >Ignore White</CheckBox >
38
+ <CheckBox ID =" chkMultiline" ToolTip =" ^ and $ will match the entire string instead of lines" Checked =" True" Enabled =" False" >Multiline</CheckBox >
39
+ <CheckBox ID =" chkRightToLeft" ToolTip =" Search from right to left" >Right to Left</CheckBox >
40
+ <CheckBox ID =" chkCompiled" ToolTip =" Compile to assembly, slower startup, faster search" Checked =" True" Enabled =" False" >Compiled</CheckBox >
41
+ </StackLayout >
42
+ </TableCell >
43
+ <TableCell >
44
+ <StackLayout ToolTip =" Stop search after specified milliseconds" Padding =" 20,1,1,1" Orientation =" Horizontal" >
45
+ <Label >Timeout</Label >
46
+ <Panel Padding =" 5,0,5,0" >
47
+ <NumericStepper ID =" nudTimeout"
48
+ MinValue =" 1"
49
+ MaxValue =" 100000"
50
+ MaximumDecimalPlaces =" 0"
51
+ Value =" 2000"
52
+ Increment =" 1000"
53
+ Width =" 120" />
54
+ </Panel >
55
+ <Label >ms</Label >
56
+ </StackLayout >
57
+ </TableCell >
58
+ </TableRow >
59
+ </TableLayout >
60
+ </TableCell >
61
+ </TableRow >
62
+ <TableRow >
63
+ <TableCell >
64
+ <Label >Content Regex:</Label >
65
+ </TableCell >
66
+ </TableRow >
67
+ <TableRow >
68
+ <TableCell ScaleWidth =" True" >
69
+ <TextBox ID =" txtContentRegex" ></TextBox >
70
+ </TableCell >
71
+ </TableRow >
72
+ <TableRow >
73
+ <TableCell >
74
+ <TableLayout >
75
+ <TableRow >
76
+ <TableCell >
77
+ <StackLayout Padding =" 5,1,1,1" Orientation =" Vertical" >
78
+ <CheckBox ID =" chkContentIgnoreCase" ToolTip =" Don't distinguish between upper and lower case" >Ignore Case</CheckBox >
79
+ <CheckBox ID =" chkContentSingleLine" ToolTip =" Make period match \n too" >Single Line</CheckBox >
80
+ <CheckBox ID =" chkContentCultureInvariant" ToolTip =" Make match insensitive to the culture" >Culture Invariant</CheckBox >
81
+ <CheckBox ID =" chkContentExplicitCapture" ToolTip =" Capture groups only if explicitly numbered or named" Checked =" True" Enabled =" False" >Explicit Capture</CheckBox >
82
+ <CheckBox ID =" chkContentEcmaScript" ToolTip =" ECMA Script compliant, can only use with ignore case and multiline" >ECMA Script</CheckBox >
83
+ </StackLayout >
84
+ </TableCell >
85
+ <TableCell >
86
+ <StackLayout Padding =" 5,1,1,1" Orientation =" Vertical" >
87
+ <CheckBox ID =" chkContentIgnoreWhite" ToolTip =" Ignore unescaped whitespace, allow comments after #" >Ignore White</CheckBox >
88
+ <CheckBox ID =" chkContentMultiline" ToolTip =" ^ and $ will match the entire string instead of lines" Checked =" True" >Multiline</CheckBox >
89
+ <CheckBox ID =" chkContentRightToLeft" ToolTip =" Search from right to left" >Right to Left</CheckBox >
90
+ <CheckBox ID =" chkContentCompiled" ToolTip =" Compile to assembly, slower startup, faster search" Checked =" True" Enabled =" False" >Compiled</CheckBox >
91
+ </StackLayout >
92
+ </TableCell >
93
+ <TableCell >
94
+ <StackLayout ToolTip =" Stop search after specified milliseconds" Padding =" 20,1,1,1" Orientation =" Horizontal" >
95
+ <Label >Timeout</Label >
96
+ <Panel Padding =" 5,0,5,0" >
97
+ <NumericStepper ID =" nudContentTimeout"
98
+ MinValue =" 1"
99
+ MaxValue =" 100000"
100
+ MaximumDecimalPlaces =" 0"
101
+ Value =" 2000"
102
+ Increment =" 1000"
103
+ Width =" 120" />
104
+ </Panel >
105
+ <Label >ms</Label >
106
+ </StackLayout >
107
+ </TableCell >
108
+ </TableRow >
109
+ </TableLayout >
110
+ </TableCell >
111
+ </TableRow >
112
+ <TableRow >
113
+ <TableCell >
114
+ <Label >Path:</Label >
115
+ </TableCell >
116
+ </TableRow >
117
+ <TableRow >
118
+ <TableCell >
119
+ <FilePicker ID =" fpSearchPath" FileAction =" SelectFolder" ></FilePicker >
120
+ </TableCell >
121
+ </TableRow >
122
+ <TableRow >
123
+ <TableCell >
124
+ <Button ID =" btnStartSearch" Click =" HandleStartSearch" >Start Search</Button >
125
+ </TableCell >
126
+ </TableRow >
127
+ <TableRow >
128
+ <TableCell >
129
+ <Label >Open With Editor:</Label >
130
+ </TableCell >
131
+ </TableRow >
132
+ <TableRow >
133
+ <TableCell ScaleWidth =" True" >
134
+ <FilePicker ID =" fpOpenWith" FileAction =" OpenFile" />
135
+ </TableCell >
136
+ </TableRow >
137
+ <TableRow >
138
+ <TableCell >
139
+ <StackLayout Orientation =" Vertical" >
140
+ <StackLayout Orientation =" Horizontal" >
141
+ <Button ID =" btnSelectAll" Click =" HandleSelectAll" >Select All</Button >
142
+ <Button ID =" btnSelectNone" Click =" HandleSelectNone" >Select None</Button >
143
+ <Button ID =" btnInvertSelection" Click =" HandleInvertSelection" >Invert Selection</Button >
144
+ <Button ID =" btnOpenSelected" Click =" HandleOpenSelected" >Open Selected</Button >
145
+ <Button ID =" btnOrderByMatches" Click =" HandleOrderByMatches" >Order by Matches</Button >
146
+ </StackLayout >
147
+ </StackLayout >
148
+ </TableCell >
149
+ </TableRow >
150
+ <TableRow ScaleHeight =" True" >
151
+ <TableCell >
152
+ <TreeGridView ID =" tvwResultExplorer" SelectedItemChanged =" HandleResultExplorerSelectedItemChanged" />
153
+ </TableCell >
154
+ </TableRow >
155
+ <TableRow >
156
+ <TableCell >
157
+ <TextBox ID =" txtPath" ReadOnly =" True" />
158
+ </TableCell >
159
+ </TableRow >
160
+ <TableRow >
161
+ <TableCell >
162
+ <Label ID =" lblStatus" />
163
+ </TableCell >
164
+ </TableRow >
165
+ </TableLayout >
166
+ </Form >
0 commit comments