1
如果使用FileSystemWatcher在“C:\”中创建了具有指定名称的文件,是否有办法执行操作?使用带指定文件名的FileSystemWatcher
Private Sub FileSystemWatcher1_changed(ByVal sender As System.Object, ByVal e As System.IO.FileSystemEventArgs) Handles FileSystemWatcher1.Changed
If
'really don't know what to put here
End If
End Sub
我会解释你是否不明白。
如果你想要做的事已创建再一个特定的文件,当您需要使用不同的事件处理程序(创建) – Steve