Background worker ile yapıcaksın ve asenkron çalıştırmalısın. Kodları vb'ye çevirip yapıştırdım.
http://codepaste.net/j2or7j