wpfDialogBox

Overview

wpfDialogBox is a Dyalog namespace containing methods to show dialog boxes in a WPF application. Check the comments of each methods for more information.

Typical Usage

To Query for a Folder

      path←DialogFolder

DialogFolder.png

To Query for a File Name to Open

      path←DialogOpenFile

DialogOpenFile.png

To Query for a File Name to Save

      path←DialogSaveFile

DialogSaveFile.png

To Show an Error Message

      response←ShowError 'This is an Error Message' 'My Program Name - Error' 'YesNoCancel'

ShowError.png

To Show an Information Message

      response←ShowInfo 'This is an Information Message' 'My Program Name - Info' 'YesNoCancel'

ShowInfo.png

To Show a Warning Message

      response←ShowWarning 'This is a Warning Message' 'My Program Name - Warning' 'YesNoCancel'

ShowWarning.png

How to install wpfDialogBox in your workspace

  1. Download wpfDialogBox.v1.0.txt

  2. Do a Select all (Ctrl+A) and a copy (Ctrl+C).
  3. In your workspace execute )ed ⍟ wpfDialogBox

  4. Paste (Ctrl+V) the text into the Dyalog editor
  5. Press Escape and ')save' your workspace

Version Information

Original author:

Pierre Gilbert

Responsible:

PierreGilbert

Email:

<apgil AT SPAMFREE videotron DOT ca>

CategoryDyalogWpfUtilities