isisun photos
Categories
Charts
Visitors
Tag Archives: Code
Setting FileSystemWatcher
I have to watch for changes in INI file so needed somehow to put an event which should trigger an action in my program.FileSystemWatcher class is exactly what I needed.It’s easy to use and very helpful so I will paste the codesnippet that I have found:
/*
* C# Programmers Pocket Consultant
* Author: Gregory S. MacBeth
* [...]
Assosiating file type to your application
If you have to programmatically associate file extensions with an application writting in the windows registry here is a good example that I found programmatically checking and setting file types by BlackWasp
[Translate]

Binding DatagridView to DataTable Snippets