DeleteDialog - English
DescriptionDeleteDialog asks the user if he/she wants to delete the chossen file/folder or not. If the user wants to delete the dialog deletes the file or folder.
How-To-Use
- Create an instance: WPF_Dialogs.Dialogs.DeleteDialog d = new WPF_Dialogs.Dialogs.DeleteDialog("path of file or folder");
- Call the showDialog():
- As a normal function: d.showDialog();
- or as a function with return: WPF_Dialogs.EDialogResult result = d.showDialog();
- check the result:
- As a normal function: if(d.DialogResult == WPF_Dialogs.EDialogResult.OK) { do something }
- As a function with return:
- with variable: if(result == WPF_Dialogs.EdialogResult.OK) { do something }
- direct cal: if(d.showDialog() == WPF_Dialog.EDialogResult.OK) { do something }
Features
- Version 0.2.0
- Defaults: IsFolder is true
- Deletes a folder or file after requesting the user
Screenshots
Cannot resolve image macro, invalid image name or id.
Version 0.2.0 - V0.2.*