protected void myWatcher_Created(object sender, FileSystemEventArgs e)
{
string s = "ChangeType :: " + e.ChangeType.ToString() + "/nFullPath ::" + e.FullPath.ToString() + "/n/n";
AppendText(s);
}
private delegate void AppendTextHandler(string s);
private void AppendText(string s)
{
if( richTextBox1.InvokeRequired )
richTextBox1.Invoke(new AppendTextHandler(AppendText), new object[]{s});
else
richTextBox1.Text += s;
}