N
Norbert
Hello
Working under VS 2005 Beta2 & Visual C#
I'd like to have a form (lets call it splashScreen) which prints a big
company logo on the background of the form (full screen).
The problem is, that in one derived class I overwrite to OnActivated
method to update a label text which I added in the derived form.
But the OnActivated method is called to early, in the
IniatializeComponent method of my base class. At this time the label is
not available (null pointer) and I get an exception (or I check if its
null but then its not updated)!
Somebody know how to handle this?
I cannot move this label text updated in the OnLoad method because I
reuse this Form several times.
Hopefully somebody can help
Norbert
Working under VS 2005 Beta2 & Visual C#
I'd like to have a form (lets call it splashScreen) which prints a big
company logo on the background of the form (full screen).
labels/buttons/.. on it.From this I want to derive several differnt other forms with different
The problem is, that in one derived class I overwrite to OnActivated
method to update a label text which I added in the derived form.
But the OnActivated method is called to early, in the
IniatializeComponent method of my base class. At this time the label is
not available (null pointer) and I get an exception (or I check if its
null but then its not updated)!
Somebody know how to handle this?
I cannot move this label text updated in the OnLoad method because I
reuse this Form several times.
Hopefully somebody can help
Norbert