I am writing a small forms based application to connect to an LDAP server, and I wanted the \"connect\" button to work in the background. So I was following the information and
If u still have event and is not working, try the following
Just call
System.Windows.Forms.Application.DoEvents();
before calling RunWorkerAsync()