I am using C # WinForms. After that, a save dialog box and a message box appear stating that it was saved successfully.
I just realized that if the user clicks the Cancel button, my message box still arrives.
How can I say when the user clicks the cancel button in the save dialog and then does something when canceled?
source share