Click here to Skip to main content
15,902,634 members
Home / Discussions / C#
   

C#

 
GeneralRe: Do events?? (C# Newbi) Pin
Dwayner7928-Jan-05 9:01
Dwayner7928-Jan-05 9:01 
GeneralRe: Do events?? (C# Newbi) Pin
Carl Mercier28-Jan-05 9:40
Carl Mercier28-Jan-05 9:40 
GeneralRe: Do events?? (C# Newbi) Pin
Dwayner7928-Jan-05 9:43
Dwayner7928-Jan-05 9:43 
GeneralRe: Do events?? (C# Newbi) Pin
Skynyrd28-Jan-05 9:54
Skynyrd28-Jan-05 9:54 
GeneralRe: Do events?? (C# Newbi) Pin
Dwayner7928-Jan-05 10:26
Dwayner7928-Jan-05 10:26 
GeneralRe: Do events?? (C# Newbi) Pin
Skynyrd28-Jan-05 11:32
Skynyrd28-Jan-05 11:32 
GeneralRe: Do events?? (C# Newbi) Pin
therealmccoy28-Jan-05 17:56
therealmccoy28-Jan-05 17:56 
GeneralRe: Do events?? (C# Newbi) Pin
Dave Kreskowiak28-Jan-05 10:18
mveDave Kreskowiak28-Jan-05 10:18 
Dwayner79 wrote:
My thoughts on this is that the code is failing because the parent is leaving the function that called the child.

Of course it is! That's what it's supposed to do.

The problem is not because the function is returning, but because your code, somewhere else down the line, of either the MDI Parent or the Child form, is referencing an object that doesn't have an instance yet.

If you're running this under the debugger, it'll show you which line is throwing the exception. What does the code look like? I'd be willing to bet that it has something to do with the Load event of the Child form.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Do events?? (C# Newbi) Pin
Dwayner7928-Jan-05 10:34
Dwayner7928-Jan-05 10:34 
Generalpassing data from one form to another Pin
steve_rm28-Jan-05 4:06
steve_rm28-Jan-05 4:06 
GeneralRe: passing data from one form to another Pin
Bahadir Cambel28-Jan-05 11:45
Bahadir Cambel28-Jan-05 11:45 
GeneralHelp On Serialization Pin
fmarcos28-Jan-05 2:05
fmarcos28-Jan-05 2:05 
GeneralCustomize Control Pin
jzb28-Jan-05 0:04
jzb28-Jan-05 0:04 
GeneralRe: Customize Control Pin
spif200128-Jan-05 1:33
spif200128-Jan-05 1:33 
GeneralSubstring's problem Pin
jzb27-Jan-05 23:50
jzb27-Jan-05 23:50 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 0:01
mav.northwind28-Jan-05 0:01 
GeneralRe: Substring's problem Pin
jzb28-Jan-05 0:15
jzb28-Jan-05 0:15 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 0:27
mav.northwind28-Jan-05 0:27 
GeneralRe: Substring's problem Pin
Colin Angus Mackay28-Jan-05 4:33
Colin Angus Mackay28-Jan-05 4:33 
GeneralRe: Substring's problem Pin
mav.northwind28-Jan-05 4:46
mav.northwind28-Jan-05 4:46 
Generalview the incoming SOAP message Pin
weeteck27-Jan-05 22:56
weeteck27-Jan-05 22:56 
GeneralRe: view the incoming SOAP message Pin
Mazdak28-Jan-05 2:09
Mazdak28-Jan-05 2:09 
QuestionHow to let web form designer auto-generate the special code in InitializeComponent()? Pin
J Wang27-Jan-05 21:23
J Wang27-Jan-05 21:23 
QuestionHow to insert data in the middle of a stream? Pin
mav.northwind27-Jan-05 21:21
mav.northwind27-Jan-05 21:21 
AnswerRe: How to insert data in the middle of a stream? Pin
Dave Kreskowiak28-Jan-05 6:45
mveDave Kreskowiak28-Jan-05 6:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.