Serial port and GPS

SerialGPSCfgForm.onClose Method 

Called just before closing the form

[Visual Basic]
Private Sub onClose( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
private void onClose(
   object sender,
   EventArgs e
);

Parameters

sender
ignored
e
ignored

Remarks

If the form has been closed with the dialog result OK, then this method copies the contents of the input boxes m_gpxdir and m_mapfile to the string m_strgpxdir and m_strmapfile making them available in the properties mapfile and gpxdir. Just for the case, that the input boxes are no more available, after the form has been closed.

See Also

SerialGPSCfgForm Class | serial Namespace