Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto run method after form displays
Message
From
15/07/2004 14:40:51
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Auto run method after form displays
Miscellaneous
Thread ID:
00924850
Message ID:
00924850
Views:
62
Hello,

I'm creating a WinForm that connects to a dataserver (for a legacy app), via a COM interop. The connection usually takes a few seconds.

The obvious is probably avoiding me here: I want the form to display first, then start the connection process, then enable the controls.

Tried to hook into Activated event, with appropriate checking to see if already connected. However, doing this just locks up the form.

I'll turn this into a status dialog form that goes away once the connection is made, once I understand how to run code after displaying a form.

Thanks,
Steve Gibson
Next
Reply
Map
View

Click here to load this message in the networking platform