Closes the active connection.
/// <summary>
/// Closes Terminal connection.
/// </summary>
/// <param name="eventSender"></param>
/// <param name="eventArgs"></param>
private void CloseBtn_Click(System.Object eventSender, System.EventArgs eventArgs)
{
try
{
gxTerminal1.Close();
}
catch (Exception Ex)
{
MessageBox.Show(Ex.Message);
}
}
''' <summary>
''' Close Terminal connection.
''' </summary>
Private Sub CloseBtn_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CloseBtn.Click
Try
GxTerminal1.Close()
Catch Ex As Exception
MessageBox.Show(Ex.Message)
End Try
End Sub
'Close Terminal connection
Private Sub CloseBtn_Click()
On Error GoTo GXErr
GXTerminal1.Close
Exit Sub
GXErr:
MsgBox Err.Description
End Sub
Assembly: Gurux.Terminal (Module: Gurux.Terminal) Version: 5.0.0.1