Step 1 - A simple exampleWe start by making the simplest of examples. Cut and paste the following lines into a text editor such as TextPad or notepad.
Notice that:
Save the file as myapp.gsa in your working directory. On UNIX or VMS run your file like this (you may need to set-up your UNIRAS environment first): GsharpApp myapp.gsa On Windows you can double click on myapp.gsa. If you are using TextPad and have configured it as recommended you can just press Ctrl-2 to run your script using GsharpApp. Something like this should then appear: Notice how each of our GUI objects has appeared and then carry on to Step 2 - Callback Functions |