Errors that occur after the connection is established, are sent through this method.
/// <summary>
/// Show occured error.
/// </summary>
/// <param name="sender"></param>
/// <param name="ErrorInfo"></param>
private void gxgprs1_OnError(object sender, string ErrorInfo)
{
try
{
MessageBox.Show(ErrorInfo);
}
catch (Exception Ex)
{
MessageBox.Show(Ex.Message);
}
}
''' <summary>
''' Show occured error.
''' </summary>
Private Sub gxGPRS1_OnError(ByVal sender As System.Object, ByVal ErrorInfo As System.String) Handles Gxgprs1.OnError
Try
MessageBox.Show(ErrorInfo)
Catch Ex As Exception
MessageBox.Show(Ex.Message)
End Try
End Sub
'Show errors
Private Sub GXGPRS1_OnError(ByVal sender As Object, ByVal ErrorInfo As String)
MsgBox ErrorInfo
End Sub
Assembly: Gurux.GPRS (Module: Gurux.GPRS) Version: 5.0.0.1