PC Review


Reply
Thread Tools Rate Thread

Child Form Enter Event Fires Twice

 
 
Axe
Guest
Posts: n/a
 
      19th Aug 2003
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


 
Reply With Quote
 
 
 
 
Kevin McNeish [C# MVP]
Guest
Posts: n/a
 
      19th Aug 2003
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


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What event fires when user uses Alt & numeric key pad to enter text into a textbox Rob Nicholson Microsoft ASP .NET 10 23rd Aug 2005 01:43 AM
Removing a child control in event it fires =?Utf-8?B?SmVmZiBFdmFucw==?= Microsoft ASP .NET 1 19th Nov 2004 05:24 PM
MDI Child Enter event issue Timo Microsoft Dot NET Framework Forms 0 5th Sep 2003 02:46 PM
Why does MDI child form's Enter event fire twice? Timo Microsoft Dot NET Framework Forms 0 5th Sep 2003 02:41 PM
comboBox TextChanged event fires twice because Items.Insert() fires the event too... Rob Hindman Microsoft Dot NET Framework Forms 2 25th Aug 2003 07:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:02 AM.