SaveDialog - English
DescriptionSaveDialog asks the user if he/she wants to save all unsaved documents or not or cancelling.
How-To-Use
- Create an instance: WPF_Dialogs.Dialogs.SaveDialog s = new WPF_Dialogs.Dialogs.SaveDialog();
- Call the showDialog():
- As a normal function: s.showDialog();
- or as a function with return: WPF_Dialogs.EDialogResult result = s.showDialog();
- check the result:
- As a normal function: if(s.DialogResult == WPF_Dialogs.EDialogResult.OK) { do something }
- As a function with return:
- with variable: if(result == WPF_Dialogs.EdialogResult.OK) { do something }
- direct call: if(s.showDialog() == WPF_Dialog.EDialogResult.OK) { do something }
Features
- Version 0.2.0
- Asks the user if he/she wants to save all usaved documents
- WPF_Dialogs.EDialogResult.Yes: the user wants to save
- WPF_Dialogs.EDialogResult.No: the user doesn't want to save
- WPF_Dialogs.EDialogResult.Cancel: the user wants to cancel and to go back.
- Asks the user if he/she wants to save all usaved documents
Screenshots
Cannot resolve image macro, invalid image name or id.
Version 0.2.0 - V0.2.*