Child Form Enter Event Fires Twice

  • Thread starter Thread starter Axe
  • Start date Start date
A

Axe

Can someone please tell me why a child form event fires twice? I've got an
MDI windows app (C#) that has several child forms that a user can select via
an Infragistics tab strip.

Axe
 
Axe,
Can someone please tell me why a child form event fires twice? I've got an
MDI windows app (C#) that has several child forms that a user can select via
an Infragistics tab strip.

Are you are using version 1.0 of the .NET Framework? In this initial
release, events in MDI child forms were completely wrong. Here's how the
events fire in 1.0:
1.. Constructor
2.. Load
3.. Enter
4.. Activated
5.. Leave
6.. Validating
7.. Validated
8.. Enter
Fortunately, this has all been fixed in version 1.1.

Kevin McNeish
C# MVP
www.oakleafsd.com
 
Back
Top