1 | #pragma checksum "..\..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "34307E197F0174335E058AB5BF685B3F" |
---|
2 | //------------------------------------------------------------------------------ |
---|
3 | // <auto-generated> |
---|
4 | // This code was generated by a tool. |
---|
5 | // Runtime Version:4.0.30319.18444 |
---|
6 | // |
---|
7 | // Changes to this file may cause incorrect behavior and will be lost if |
---|
8 | // the code is regenerated. |
---|
9 | // </auto-generated> |
---|
10 | //------------------------------------------------------------------------------ |
---|
11 | |
---|
12 | using System; |
---|
13 | using System.Diagnostics; |
---|
14 | using System.Windows; |
---|
15 | using System.Windows.Automation; |
---|
16 | using System.Windows.Controls; |
---|
17 | using System.Windows.Controls.Primitives; |
---|
18 | using System.Windows.Data; |
---|
19 | using System.Windows.Documents; |
---|
20 | using System.Windows.Ink; |
---|
21 | using System.Windows.Input; |
---|
22 | using System.Windows.Markup; |
---|
23 | using System.Windows.Media; |
---|
24 | using System.Windows.Media.Animation; |
---|
25 | using System.Windows.Media.Effects; |
---|
26 | using System.Windows.Media.Imaging; |
---|
27 | using System.Windows.Media.Media3D; |
---|
28 | using System.Windows.Media.TextFormatting; |
---|
29 | using System.Windows.Navigation; |
---|
30 | using System.Windows.Shapes; |
---|
31 | using System.Windows.Shell; |
---|
32 | |
---|
33 | |
---|
34 | namespace FileWatcher { |
---|
35 | |
---|
36 | |
---|
37 | /// <summary> |
---|
38 | /// MainWindow |
---|
39 | /// </summary> |
---|
40 | public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { |
---|
41 | |
---|
42 | |
---|
43 | #line 6 "..\..\..\MainWindow.xaml" |
---|
44 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
45 | internal System.Windows.Controls.TextBox directory; |
---|
46 | |
---|
47 | #line default |
---|
48 | #line hidden |
---|
49 | |
---|
50 | |
---|
51 | #line 7 "..\..\..\MainWindow.xaml" |
---|
52 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
53 | internal System.Windows.Controls.Button directorySelection; |
---|
54 | |
---|
55 | #line default |
---|
56 | #line hidden |
---|
57 | |
---|
58 | |
---|
59 | #line 8 "..\..\..\MainWindow.xaml" |
---|
60 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
61 | internal System.Windows.Controls.Label directoryLabel; |
---|
62 | |
---|
63 | #line default |
---|
64 | #line hidden |
---|
65 | |
---|
66 | |
---|
67 | #line 9 "..\..\..\MainWindow.xaml" |
---|
68 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
69 | internal System.Windows.Controls.Label extensionsLabel; |
---|
70 | |
---|
71 | #line default |
---|
72 | #line hidden |
---|
73 | |
---|
74 | |
---|
75 | #line 10 "..\..\..\MainWindow.xaml" |
---|
76 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
77 | internal System.Windows.Controls.TextBox extensions; |
---|
78 | |
---|
79 | #line default |
---|
80 | #line hidden |
---|
81 | |
---|
82 | |
---|
83 | #line 11 "..\..\..\MainWindow.xaml" |
---|
84 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
85 | internal System.Windows.Controls.Label programLabel; |
---|
86 | |
---|
87 | #line default |
---|
88 | #line hidden |
---|
89 | |
---|
90 | |
---|
91 | #line 12 "..\..\..\MainWindow.xaml" |
---|
92 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
93 | internal System.Windows.Controls.Button executeAdd; |
---|
94 | |
---|
95 | #line default |
---|
96 | #line hidden |
---|
97 | |
---|
98 | |
---|
99 | #line 13 "..\..\..\MainWindow.xaml" |
---|
100 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
101 | internal System.Windows.Controls.ScrollViewer messageWindow; |
---|
102 | |
---|
103 | #line default |
---|
104 | #line hidden |
---|
105 | |
---|
106 | |
---|
107 | #line 14 "..\..\..\MainWindow.xaml" |
---|
108 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
109 | internal System.Windows.Controls.Button executeRemove; |
---|
110 | |
---|
111 | #line default |
---|
112 | #line hidden |
---|
113 | |
---|
114 | |
---|
115 | #line 15 "..\..\..\MainWindow.xaml" |
---|
116 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
117 | internal System.Windows.Controls.Button executeEdit; |
---|
118 | |
---|
119 | #line default |
---|
120 | #line hidden |
---|
121 | |
---|
122 | |
---|
123 | #line 16 "..\..\..\MainWindow.xaml" |
---|
124 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
125 | internal System.Windows.Controls.ListBox programList; |
---|
126 | |
---|
127 | #line default |
---|
128 | #line hidden |
---|
129 | |
---|
130 | |
---|
131 | #line 17 "..\..\..\MainWindow.xaml" |
---|
132 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
133 | internal System.Windows.Controls.Button stopButton; |
---|
134 | |
---|
135 | #line default |
---|
136 | #line hidden |
---|
137 | |
---|
138 | |
---|
139 | #line 18 "..\..\..\MainWindow.xaml" |
---|
140 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
141 | internal System.Windows.Controls.Label eventLabel; |
---|
142 | |
---|
143 | #line default |
---|
144 | #line hidden |
---|
145 | |
---|
146 | |
---|
147 | #line 19 "..\..\..\MainWindow.xaml" |
---|
148 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
149 | internal System.Windows.Controls.CheckBox creationBox; |
---|
150 | |
---|
151 | #line default |
---|
152 | #line hidden |
---|
153 | |
---|
154 | |
---|
155 | #line 20 "..\..\..\MainWindow.xaml" |
---|
156 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
157 | internal System.Windows.Controls.CheckBox deletionBox; |
---|
158 | |
---|
159 | #line default |
---|
160 | #line hidden |
---|
161 | |
---|
162 | |
---|
163 | #line 21 "..\..\..\MainWindow.xaml" |
---|
164 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
165 | internal System.Windows.Controls.CheckBox changeBox; |
---|
166 | |
---|
167 | #line default |
---|
168 | #line hidden |
---|
169 | |
---|
170 | |
---|
171 | #line 22 "..\..\..\MainWindow.xaml" |
---|
172 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
173 | internal System.Windows.Controls.CheckBox renameBox; |
---|
174 | |
---|
175 | #line default |
---|
176 | #line hidden |
---|
177 | |
---|
178 | |
---|
179 | #line 23 "..\..\..\MainWindow.xaml" |
---|
180 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
181 | internal System.Windows.Controls.Button optionsButton; |
---|
182 | |
---|
183 | #line default |
---|
184 | #line hidden |
---|
185 | |
---|
186 | |
---|
187 | #line 24 "..\..\..\MainWindow.xaml" |
---|
188 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
189 | internal System.Windows.Controls.Button loadSettings; |
---|
190 | |
---|
191 | #line default |
---|
192 | #line hidden |
---|
193 | |
---|
194 | |
---|
195 | #line 25 "..\..\..\MainWindow.xaml" |
---|
196 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
197 | internal System.Windows.Controls.Button saveSettings; |
---|
198 | |
---|
199 | #line default |
---|
200 | #line hidden |
---|
201 | |
---|
202 | |
---|
203 | #line 26 "..\..\..\MainWindow.xaml" |
---|
204 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
205 | internal System.Windows.Controls.Button startButton; |
---|
206 | |
---|
207 | #line default |
---|
208 | #line hidden |
---|
209 | |
---|
210 | |
---|
211 | #line 27 "..\..\..\MainWindow.xaml" |
---|
212 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
213 | internal System.Windows.Controls.Button clearButton; |
---|
214 | |
---|
215 | #line default |
---|
216 | #line hidden |
---|
217 | |
---|
218 | |
---|
219 | #line 28 "..\..\..\MainWindow.xaml" |
---|
220 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] |
---|
221 | internal System.Windows.Controls.CheckBox subdirectoryCheckbox; |
---|
222 | |
---|
223 | #line default |
---|
224 | #line hidden |
---|
225 | |
---|
226 | private bool _contentLoaded; |
---|
227 | |
---|
228 | /// <summary> |
---|
229 | /// InitializeComponent |
---|
230 | /// </summary> |
---|
231 | [System.Diagnostics.DebuggerNonUserCodeAttribute()] |
---|
232 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] |
---|
233 | public void InitializeComponent() { |
---|
234 | if (_contentLoaded) { |
---|
235 | return; |
---|
236 | } |
---|
237 | _contentLoaded = true; |
---|
238 | System.Uri resourceLocater = new System.Uri("/FileWatcher;component/mainwindow.xaml", System.UriKind.Relative); |
---|
239 | |
---|
240 | #line 1 "..\..\..\MainWindow.xaml" |
---|
241 | System.Windows.Application.LoadComponent(this, resourceLocater); |
---|
242 | |
---|
243 | #line default |
---|
244 | #line hidden |
---|
245 | } |
---|
246 | |
---|
247 | [System.Diagnostics.DebuggerNonUserCodeAttribute()] |
---|
248 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] |
---|
249 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] |
---|
250 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] |
---|
251 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] |
---|
252 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] |
---|
253 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { |
---|
254 | switch (connectionId) |
---|
255 | { |
---|
256 | case 1: |
---|
257 | |
---|
258 | #line 4 "..\..\..\MainWindow.xaml" |
---|
259 | ((FileWatcher.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); |
---|
260 | |
---|
261 | #line default |
---|
262 | #line hidden |
---|
263 | return; |
---|
264 | case 2: |
---|
265 | this.directory = ((System.Windows.Controls.TextBox)(target)); |
---|
266 | |
---|
267 | #line 6 "..\..\..\MainWindow.xaml" |
---|
268 | this.directory.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.directory_TextChanged); |
---|
269 | |
---|
270 | #line default |
---|
271 | #line hidden |
---|
272 | |
---|
273 | #line 6 "..\..\..\MainWindow.xaml" |
---|
274 | this.directory.GotFocus += new System.Windows.RoutedEventHandler(this.directory_GotFocus); |
---|
275 | |
---|
276 | #line default |
---|
277 | #line hidden |
---|
278 | |
---|
279 | #line 6 "..\..\..\MainWindow.xaml" |
---|
280 | this.directory.LostFocus += new System.Windows.RoutedEventHandler(this.directory_LostFocus); |
---|
281 | |
---|
282 | #line default |
---|
283 | #line hidden |
---|
284 | |
---|
285 | #line 6 "..\..\..\MainWindow.xaml" |
---|
286 | this.directory.KeyDown += new System.Windows.Input.KeyEventHandler(this.directory_KeyDown); |
---|
287 | |
---|
288 | #line default |
---|
289 | #line hidden |
---|
290 | return; |
---|
291 | case 3: |
---|
292 | this.directorySelection = ((System.Windows.Controls.Button)(target)); |
---|
293 | |
---|
294 | #line 7 "..\..\..\MainWindow.xaml" |
---|
295 | this.directorySelection.Click += new System.Windows.RoutedEventHandler(this.directorySelection_Click); |
---|
296 | |
---|
297 | #line default |
---|
298 | #line hidden |
---|
299 | return; |
---|
300 | case 4: |
---|
301 | this.directoryLabel = ((System.Windows.Controls.Label)(target)); |
---|
302 | return; |
---|
303 | case 5: |
---|
304 | this.extensionsLabel = ((System.Windows.Controls.Label)(target)); |
---|
305 | return; |
---|
306 | case 6: |
---|
307 | this.extensions = ((System.Windows.Controls.TextBox)(target)); |
---|
308 | |
---|
309 | #line 10 "..\..\..\MainWindow.xaml" |
---|
310 | this.extensions.KeyDown += new System.Windows.Input.KeyEventHandler(this.extensions_KeyDown); |
---|
311 | |
---|
312 | #line default |
---|
313 | #line hidden |
---|
314 | |
---|
315 | #line 10 "..\..\..\MainWindow.xaml" |
---|
316 | this.extensions.LostFocus += new System.Windows.RoutedEventHandler(this.extensions_LostFocus); |
---|
317 | |
---|
318 | #line default |
---|
319 | #line hidden |
---|
320 | |
---|
321 | #line 10 "..\..\..\MainWindow.xaml" |
---|
322 | this.extensions.GotFocus += new System.Windows.RoutedEventHandler(this.extensions_GotFocus); |
---|
323 | |
---|
324 | #line default |
---|
325 | #line hidden |
---|
326 | return; |
---|
327 | case 7: |
---|
328 | this.programLabel = ((System.Windows.Controls.Label)(target)); |
---|
329 | return; |
---|
330 | case 8: |
---|
331 | this.executeAdd = ((System.Windows.Controls.Button)(target)); |
---|
332 | |
---|
333 | #line 12 "..\..\..\MainWindow.xaml" |
---|
334 | this.executeAdd.Click += new System.Windows.RoutedEventHandler(this.executeAdd_Click); |
---|
335 | |
---|
336 | #line default |
---|
337 | #line hidden |
---|
338 | return; |
---|
339 | case 9: |
---|
340 | this.messageWindow = ((System.Windows.Controls.ScrollViewer)(target)); |
---|
341 | return; |
---|
342 | case 10: |
---|
343 | this.executeRemove = ((System.Windows.Controls.Button)(target)); |
---|
344 | |
---|
345 | #line 14 "..\..\..\MainWindow.xaml" |
---|
346 | this.executeRemove.Click += new System.Windows.RoutedEventHandler(this.executeRemove_Click); |
---|
347 | |
---|
348 | #line default |
---|
349 | #line hidden |
---|
350 | return; |
---|
351 | case 11: |
---|
352 | this.executeEdit = ((System.Windows.Controls.Button)(target)); |
---|
353 | |
---|
354 | #line 15 "..\..\..\MainWindow.xaml" |
---|
355 | this.executeEdit.Click += new System.Windows.RoutedEventHandler(this.executeEdit_Click); |
---|
356 | |
---|
357 | #line default |
---|
358 | #line hidden |
---|
359 | return; |
---|
360 | case 12: |
---|
361 | this.programList = ((System.Windows.Controls.ListBox)(target)); |
---|
362 | return; |
---|
363 | case 13: |
---|
364 | this.stopButton = ((System.Windows.Controls.Button)(target)); |
---|
365 | |
---|
366 | #line 17 "..\..\..\MainWindow.xaml" |
---|
367 | this.stopButton.Click += new System.Windows.RoutedEventHandler(this.stopButton_Click); |
---|
368 | |
---|
369 | #line default |
---|
370 | #line hidden |
---|
371 | return; |
---|
372 | case 14: |
---|
373 | this.eventLabel = ((System.Windows.Controls.Label)(target)); |
---|
374 | return; |
---|
375 | case 15: |
---|
376 | this.creationBox = ((System.Windows.Controls.CheckBox)(target)); |
---|
377 | return; |
---|
378 | case 16: |
---|
379 | this.deletionBox = ((System.Windows.Controls.CheckBox)(target)); |
---|
380 | return; |
---|
381 | case 17: |
---|
382 | this.changeBox = ((System.Windows.Controls.CheckBox)(target)); |
---|
383 | return; |
---|
384 | case 18: |
---|
385 | this.renameBox = ((System.Windows.Controls.CheckBox)(target)); |
---|
386 | return; |
---|
387 | case 19: |
---|
388 | this.optionsButton = ((System.Windows.Controls.Button)(target)); |
---|
389 | |
---|
390 | #line 23 "..\..\..\MainWindow.xaml" |
---|
391 | this.optionsButton.Click += new System.Windows.RoutedEventHandler(this.optionsButton_Click); |
---|
392 | |
---|
393 | #line default |
---|
394 | #line hidden |
---|
395 | return; |
---|
396 | case 20: |
---|
397 | this.loadSettings = ((System.Windows.Controls.Button)(target)); |
---|
398 | |
---|
399 | #line 24 "..\..\..\MainWindow.xaml" |
---|
400 | this.loadSettings.Click += new System.Windows.RoutedEventHandler(this.loadSettings_Click); |
---|
401 | |
---|
402 | #line default |
---|
403 | #line hidden |
---|
404 | return; |
---|
405 | case 21: |
---|
406 | this.saveSettings = ((System.Windows.Controls.Button)(target)); |
---|
407 | |
---|
408 | #line 25 "..\..\..\MainWindow.xaml" |
---|
409 | this.saveSettings.Click += new System.Windows.RoutedEventHandler(this.saveSettings_Click); |
---|
410 | |
---|
411 | #line default |
---|
412 | #line hidden |
---|
413 | return; |
---|
414 | case 22: |
---|
415 | this.startButton = ((System.Windows.Controls.Button)(target)); |
---|
416 | |
---|
417 | #line 26 "..\..\..\MainWindow.xaml" |
---|
418 | this.startButton.Click += new System.Windows.RoutedEventHandler(this.startButton_Click); |
---|
419 | |
---|
420 | #line default |
---|
421 | #line hidden |
---|
422 | return; |
---|
423 | case 23: |
---|
424 | this.clearButton = ((System.Windows.Controls.Button)(target)); |
---|
425 | |
---|
426 | #line 27 "..\..\..\MainWindow.xaml" |
---|
427 | this.clearButton.Click += new System.Windows.RoutedEventHandler(this.clearButton_Click); |
---|
428 | |
---|
429 | #line default |
---|
430 | #line hidden |
---|
431 | return; |
---|
432 | case 24: |
---|
433 | this.subdirectoryCheckbox = ((System.Windows.Controls.CheckBox)(target)); |
---|
434 | |
---|
435 | #line 28 "..\..\..\MainWindow.xaml" |
---|
436 | this.subdirectoryCheckbox.Checked += new System.Windows.RoutedEventHandler(this.subdirectoryCheckbox_Checked); |
---|
437 | |
---|
438 | #line default |
---|
439 | #line hidden |
---|
440 | |
---|
441 | #line 28 "..\..\..\MainWindow.xaml" |
---|
442 | this.subdirectoryCheckbox.Unchecked += new System.Windows.RoutedEventHandler(this.subdirectoryCheckbox_Unchecked); |
---|
443 | |
---|
444 | #line default |
---|
445 | #line hidden |
---|
446 | return; |
---|
447 | } |
---|
448 | this._contentLoaded = true; |
---|
449 | } |
---|
450 | } |
---|
451 | } |
---|
452 | |
---|