D
Dom
On my main form, I click a button to bring up a second form. When the
second form comes up, I want to do the following:
1. change this.Cursor to Cursors.Wait
2. Execute the EnumerateServers (or whatever) method.
3. Add all Server names to a list box.
4. Change this.Cursor back again.
The reason for steps 1 and 4 is that step 2 can take so long. Of
course, all of this makes sense only if the user can actually see the
form. I've placed all the code in the Load event, but the user just
sees the border of the form for several seconds, making him think
something is going wrong. Same thing with the Activate event. Where
should I place it?
second form comes up, I want to do the following:
1. change this.Cursor to Cursors.Wait
2. Execute the EnumerateServers (or whatever) method.
3. Add all Server names to a list box.
4. Change this.Cursor back again.
The reason for steps 1 and 4 is that step 2 can take so long. Of
course, all of this makes sense only if the user can actually see the
form. I've placed all the code in the Load event, but the user just
sees the border of the form for several seconds, making him think
something is going wrong. Same thing with the Activate event. Where
should I place it?