Differences between revisions 1 and 2
Revision 1 as of 2015-02-23 01:38:50
Size: 1637
Comment:
Revision 2 as of 2015-02-23 01:40:55
Size: 1640
Comment:
Deletions are marked like this. Additions are marked like this.
Line 45: Line 45:
{{attachment:ShowInfo.png || width=349}} {{attachment:ShowWarning.png || width=349}}

wpfDialogBox

Overview

wpfDialogBox is a Dyalog namespace containing methods to show dialog boxes in a WPF application.

Typical Usage

To Request a Folder

      path←DialogFolder

DialogFolder.png

To Request a File Name to Open

      path←DialogOpenFile

DialogOpenFile.png

To Request 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

wpfDialogBox (last edited 2015-07-29 05:41:00 by KaiJaeger)