|
||||||
| C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||
|
AFAIK, there is no order guaranteed for called event handlers. They're likely to be called in whatever order they're attached in - but it's probably not something you want to depend on.
If you wanted FormB's handler to run first, your better bet would be to override the Form.OnClosing function and perform your logic there instead of wiring the event. |
|
|||||
|
Quote:
frmAddOrgSystem.Closing += new System.ComponentModel.CancelEventHandler(this.frmA ddOrgSystem_Closing); frmAddOrgSystem.ShowDialog(); And thanks for the explanation brackett |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using variables in different forms question | skilletsteve | Visual Basic Programming | 2 | 08-31-2006 10:39 AM |
| Windows Forms MDI question. | hoser2001 | C# Programming | 10 | 08-11-2006 06:36 PM |
| How do you make forms in a dll | MrDiaz | Pascal/Delphi | 0 | 07-03-2006 06:12 PM |
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| gaylo565 | ........ | 18.00000 |
| WingedPanther | ........ | 15.00000 |
| |pH| | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 66%