Hello World in APLX using .Net
As well as built-in classes for simple GUI programming, the Windows version of APLX also allows you to use Microsoft's .Net framework, giving you access to a large library of pre-coded solutions to common programming problems.
Here is a simple "Hello World" example using .Net:
HelloWorld;Form;Button ⍝ ⍝ Simple demonstration of Hello World using .NET in APLX ⍝ ⍝ Create main form Form←'.net' ⎕NEW 'Form' Form.Text←'Hello World in APLX using .NET' ⍝ ⍝ Create button Button←'.net' ⎕NEW 'Button' Button.Size←Form.Size Button.Text←'Hello World' Button.Font←'.net' ⎕NEW 'Font' 'Arial Black' 48 Form.Controls.Add Button ⍝ ⍝ Add callback Form.Closed←'"Cleaning up.." ⋄ →' Button.Click←'Form.Close' ⍝ ⍝ Make the button accept Enter as equivalent to clicking Form.AcceptButton←Button ⍝ ⍝ Show the form Form.Show ⍝ ⍝ Process events 0 0⍴⎕WE ¯1
This function created the following window when you run it, containing a single large button. The function terminates when the user clicks the button.
There are more examples of using .NET classes from APLX.
APL Wiki