You should use the Form.Activated event to determine when your Form is
shown. You can place your call to ShowDialog inside of your event handler
and that will appropriately pop your dialog over top of your main form. You
need to be careful to unhook this event though since it will occur every
time your Form receives focus. An appropriate solution would be to unhook
it from within your event handler so only the first time your Form is
activated will you pop the dialog.
--
Justin Rogers
DigiTec Web Consultants, LLC.
"LarryR" <xr**@xbeltone.com> wrote in message
news:Om**************@TK2MSFTNGP11.phx.gbl...
I am trying to get a small form (using ShowDialog) to display over my main
for as soon as the main for is displayed. I can't seem to find an
accesible property or event that I can use to tell when my main form has finished
loading. Anyone have a suggestion?
To reply by email please remove x's from email address.