Need to progrmatically show a dialog box and close it
Posted on 2008-10-22
Using VS 2008, .NET 3.5, C#, Windows form
I have an app that queries AD (LDAP) on startup. This takes approx 8 seconds. I'd like to pop up a dialog box saying something like "System is loading...please wait." prior to the LDAP call - no buttons or return values on the dialog box. Then, once the AD has been queried and loaded into my program I need to progrmatically close the dialog box. The MessageBox control does not seem to allow me to close it within my code and I have not found an easy way to do this. Any ideas Experts?