Form.Closing event not fired always when i call Form.Close method

B

berylwilson

Hi,

Form1 form1 = Form1; //Form2 is created and closed inside Form1.

When I call form1.form2.Close() method the following method is called
when I run the application in few machine but not in others.

private void Form2_Closing(...)

Any clues on this?

Thanks in advance.
 
B

Bryan Phillips

I have only seen this happen when Form A opens Form B which opens Form
C. Closing Form A fires the closing event for Form A and Form B but not
Form C.
 

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