2
using System.Windows.Forms
4
Sub onClose(sender, args)
5
If MsgBox("Closing " & sender.ToString() & " " & args.ToString(), 33, "Information") = 1 Then
15
top.Text = "XCircuit .NET event demo"
16
top.Closing = GetRef("onClose")
18
Set initSz = System.Drawing.Size(500,500)
19
top.ClientSize = initSz