After form is closed, it is still there and crashes when you want to close it again

G

geronimi

After a form is closed, it is still there and crashes when you want to
close it again......
Here you see the error report:

Exception report - Tuesday, June 20, 2006 1:31:49 PM
Object reference not set to an instance of an object.

Source :
HRAFrameApp

StackTrace :
at HRAccent.UI.Lists.frmListEditor.frmListEditor_Closing(Object
sender, CancelEventArgs e) in
C:\Projects\DEV\HRAccentClient\HRAccentClient\HRASmartClient\Lists\frmListEditor.cs:line
817
at System.Windows.Forms.Form.OnClosing(CancelEventArgs e)
at System.Windows.Forms.Form.CheckCloseDialog()

TargetSite :
Void frmListEditor_Closing(System.Object,
System.ComponentModel.CancelEventArgs)
------------------------------------------------

There is happening something wierd here, how should I search for a
solution?
I can't debug into the CheckCloseDialog and OnClosing........
The frmListEditor has some static functions, maybe that will cause the
error?

Any help is welcome

Thx
 
K

Kevin Spencer

I'd start at
C:\Projects\DEV\HRAccentClient\HRAccentClient\HRASmartClient\Lists\frmListEditor.cs:line
817, and work my way backwards from there.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

I recycle.
I send everything back to the planet it came from.
 
G

geronimi

Thx for replying, I found the problem, a combobox change opens a form,
an when you use the arrows to select "open form", it will be opened
twice........

I think the
Kevin Spencer schreef:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top