Quantcast
Channel: wpfdialogs Wiki Rss Feed
Viewing all articles
Browse latest Browse all 20

Updated Wiki: SaveDialog

$
0
0

SaveDialog - English

Description
SaveDialog asks the user if he/she wants to save all unsaved documents or not or cancelling.

How-To-Use
  1. Create an instance: WPF_Dialogs.Dialogs.SaveDialog s = new WPF_Dialogs.Dialogs.SaveDialog();
  2. Call the showDialog():
    1. As a normal function: s.showDialog();
    2. or as a function with return: WPF_Dialogs.EDialogResult result = s.showDialog();
  3. check the result:
    1. As a normal function: if(s.DialogResult == WPF_Dialogs.EDialogResult.OK) { do something }
    2. As a function with return:
      1. with variable: if(result == WPF_Dialogs.EdialogResult.OK) { do something }
      2. 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.

Screenshots
Cannot resolve image macro, invalid image name or id.
Version 0.2.0 - V0.2.*

Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>