From: Michael on
How do you do that?



Neil Cowburn wrote:

You can force the form to be made visible in the Load event handler and set
22-Aug-07

You can force the form to be made visible in the Load event handler and set
the wait cursor there too.

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting

Previous Posts In This Thread:

On Wednesday, August 22, 2007 5:20 AM
davebythese wrote:

Forms - Shown() method or similar
Dear List,

I need an event to be fired after a Form is first Shown. Is there something
we can do to initiate an event at this stage?

Thanks,
Dave

On Wednesday, August 22, 2007 7:09 AM
Peter Foot [MVP] wrote:

Form itself has events for Load and Activate.
Form itself has events for Load and Activate. Where exactly do you want to
handle the events - within the form itself or elsewhere in some other class?

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"davebythesea" <davebythesea(a)discussions.microsoft.com> wrote in message
news:5CD6BBD6-BECA-4670-B4E6-1D7B75A30AFE(a)microsoft.com...

On Wednesday, August 22, 2007 7:13 AM
Neil Cowburn wrote:

The Load event should be sufficient.
The Load event should be sufficient.

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting

http://www.opennetcf.com/
http://www.smartdeviceframework.com/

On Wednesday, August 22, 2007 9:50 AM
davebythese wrote:

What I want to do is populate a ListView once the form is visible, so when the
What I want to do is populate a ListView once the form is visible, so when
the Form becomes visible I call a Web service and check for new data to
download, the data I download I present in a ListView to show a summary of
the new stuff I've downloaded. I want that to take place when the form is
visible, and then display the Waiting cursor so the user knows somethings
actually happening instead of having no form shown and waiting, wondering
whats going on. So thats why I was hoping for a Shown event, so I can fire
off the Web Service call after the Form is defiently Shown and visible to the
user. I might give Load another go, but I thought the visibility of the Form
would remain hidden until the Load event is finished?

Well, I 'll give it a go,

Cheers,
Dave

"Neil Cowburn" wrote:

On Wednesday, August 22, 2007 10:06 AM
Neil Cowburn wrote:

You can force the form to be made visible in the Load event handler and set
You can force the form to be made visible in the Load event handler and set
the wait cursor there too.

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting

On Wednesday, August 22, 2007 10:32 AM
davebythese wrote:

Re: Forms - Shown() method or similar
Did anyone ever tell you your a genius?

Marvelous!

Thanks!

"Neil Cowburn" wrote:


Submitted via EggHeadCafe - Software Developer Portal of Choice
File-Based Cache for Web and non-Web Apps plus Extend ASP.NET 4.0 OutputCacheProvider
http://www.eggheadcafe.com/tutorials/aspnet/56161e9e-7fa3-48e8-9dfe-9f7a28f4d58e/filebased-cache-for-web.aspx