User manual

- 27 -
Fig. 21 illustrates the main program’s window. In the left box we
may identify the area to insert buttons, timers and text-boxes. As
a user you might adapt attributes for these elements’ and refer to
these elements in your programming code.
If you press the ‘refresh’ - button at the window the button’s driver
software will be activated.
Private Sub Button_Refresh_Click
(ByVal sender As System.
Object, ByVal e As System.EventArgs)
Handles Button_Refresh.Click
GetSerialPortNames()
End Sub
On activating the ‘refresh’ - button the above sample code will call
the function ‘GetSerialPortNames()’.