-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuFileSystemWatcher.dfm
212 lines (212 loc) · 4.48 KB
/
uFileSystemWatcher.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
object frmFileSystemWatcher: TfrmFileSystemWatcher
Left = 0
Top = 0
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsDialog
Caption = 'Monitor Files/Folder with .Net FileSystemWatcher'
ClientHeight = 508
ClientWidth = 495
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
DesignSize = (
495
508)
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 8
Top = 8
Width = 22
Height = 13
Caption = 'Path'
end
object Label2: TLabel
Left = 8
Top = 102
Width = 24
Height = 13
Caption = 'Filter'
end
object btnStart: TButton
Left = 48
Top = 149
Width = 75
Height = 25
Caption = 'Start'
TabOrder = 0
OnClick = btnStartClick
end
object btnStop: TButton
Left = 129
Top = 149
Width = 75
Height = 25
Caption = 'Stop'
Enabled = False
TabOrder = 1
OnClick = btnStopClick
end
object GroupBox1: TGroupBox
Left = 321
Top = 8
Width = 166
Height = 193
Caption = 'Notify Filter'
TabOrder = 2
object chkFilename: TCheckBox
Left = 24
Top = 24
Width = 97
Height = 17
Caption = 'FileName'
Checked = True
State = cbChecked
TabOrder = 0
OnClick = chkFilenameClick
end
object chkAttributes: TCheckBox
Left = 24
Top = 70
Width = 97
Height = 17
Caption = 'Attributes'
TabOrder = 1
OnClick = chkAttributesClick
end
object chkDirectoryName: TCheckBox
Left = 24
Top = 47
Width = 97
Height = 17
Caption = 'DirectoryName'
Checked = True
State = cbChecked
TabOrder = 2
OnClick = chkDirectoryNameClick
end
object chkCreationTime: TCheckBox
Left = 24
Top = 162
Width = 97
Height = 17
Caption = 'Creation Time'
TabOrder = 3
OnClick = chkCreationTimeClick
end
object chkSize: TCheckBox
Left = 24
Top = 93
Width = 97
Height = 17
Caption = 'Size'
TabOrder = 4
OnClick = chkSizeClick
end
object chkLastAccess: TCheckBox
Left = 24
Top = 139
Width = 97
Height = 17
Caption = 'Last Access'
TabOrder = 5
OnClick = chkLastAccessClick
end
object chkLastWrite: TCheckBox
Left = 24
Top = 116
Width = 97
Height = 17
Caption = 'Last Write'
Checked = True
State = cbChecked
TabOrder = 6
OnClick = chkLastWriteClick
end
end
object txtPath: TEdit
Left = 48
Top = 8
Width = 217
Height = 85
AutoSize = False
TabOrder = 3
Text = 'C:\'
OnChange = txtPathChange
end
object chkIncludeSubDir: TCheckBox
Left = 48
Top = 126
Width = 153
Height = 17
Caption = 'Include Subdirectories'
TabOrder = 4
OnClick = chkIncludeSubDirClick
end
object txtFilter: TEdit
Left = 48
Top = 99
Width = 217
Height = 21
TabOrder = 5
Text = '*.*'
OnChange = txtFilterChange
end
object btnBrowse: TButton
Left = 271
Top = 8
Width = 34
Height = 25
Caption = '...'
TabOrder = 6
OnClick = btnBrowseClick
end
object GroupBox2: TGroupBox
Left = 8
Top = 207
Width = 479
Height = 268
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = 'Log'
TabOrder = 7
object MemoLog: TMemo
Left = 2
Top = 15
Width = 475
Height = 251
Align = alClient
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 0
end
end
object btnClose: TButton
Left = 412
Top = 481
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = 'Close'
TabOrder = 8
OnClick = btnCloseClick
end
object CnFileSystemWatcher1: TCnFileSystemWatcher
Filter = '*.*'
OnChanged = CnFileSystemWatcher1Changed
OnCreated = CnFileSystemWatcher1Created
OnDeleted = CnFileSystemWatcher1Deleted
OnRenamed = CnFileSystemWatcher1Renamed
Left = 112
Top = 176
end
object CnFolderBrowserDialog1: TCnFolderBrowserDialog
Description = 'Select folder path to monitor:'
ShowNewFolderButton = False
Left = 272
Top = 40
end
end