save dialog

Hi To All,

Iam using a save dialog control,How to handle the event when the user clicks on cancel button on the save dialog.




Answer this question

save dialog

  • Victor Lu

    Hi,

    Thank you for your valuble information.



  • Suresh63149

    The dialog returns a DialogResult enum. Check if it's DialogResult.OK to see if the user clicked OK. Presumably that's really what you want, but if it's not OK, it'll be DialogResult.Cancel.



  • save dialog