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
SaveDialogVersion 0.2.0 - 0.2.*
Version 0.2.0 - V0.2.*

Last edited Mar 30, 2010 at 9:29 AM by Sharpdeveloper, version 2

Comments

No comments yet.