Properties->path->(C:\)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class filewatcher : Form
{
public
filewatcher()
{
InitializeComponent();
}
private
void fileSystemWatcher1_Created(object sender, System.IO.FileSystemEventArgs
e)
{
MessageBox.Show(e.Name);
}
}
}
No comments:
Post a Comment