S
Steve Sargent
Hi:
I'm trying to setup a simple message box that displays a message (like
"Exiting Applicaton....). It's a simple form with only one label on
it, displayed in the center.
The label's text is set after initializecomponents is called from the
form's constructor.
I'm trying to use this in other forms. Right now, in the load handler
for another form, I have a warning message. If the user chooses no,
I'd like to have the display message show on the screen for a couple
of seconds before exiting app.
I create an instance of the message form from within the other form's
load handler and call Show().
The form displays on the screen, but where the label should be, is
only a white rectangular area, with no text at all.
Is there some extra precautions needed when calling other forms from
within your form application?
Any advice and/or help is appreciated.
Thanks
I'm trying to setup a simple message box that displays a message (like
"Exiting Applicaton....). It's a simple form with only one label on
it, displayed in the center.
The label's text is set after initializecomponents is called from the
form's constructor.
I'm trying to use this in other forms. Right now, in the load handler
for another form, I have a warning message. If the user chooses no,
I'd like to have the display message show on the screen for a couple
of seconds before exiting app.
I create an instance of the message form from within the other form's
load handler and call Show().
The form displays on the screen, but where the label should be, is
only a white rectangular area, with no text at all.
Is there some extra precautions needed when calling other forms from
within your form application?
Any advice and/or help is appreciated.
Thanks