How to detect how it's closed?

I

Ilya Evseev

Hi!
How to detect is dialog form closed by Enter/Ok, or by Esc/Cancel/Alt+F4 ?

WBR, Ilya
 
I

Ilya Evseev

Oh... Of course, Form.Show() returns DialogResult value :)

WBR, Ilya
Hi!
How to detect is dialog form closed by Enter/Ok, or by Esc/Cancel/Alt+F4 ?

WBR, Ilya
 

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