Errors that occur after the connection is established, are sent through this method.
/// <summary>
/// Show occured error.
/// </summary>
private void gxFile1_OnError(object sender, string ErrorInfo)
{
try
{
MessageBox.Show(ErrorInfo);
}
catch (Exception Ex)
{
MessageBox.Show(this, Ex.Message);
}
}
''' <summary>
''' Show occured error.
''' </summary>
Private Sub GxFile1_OnError(ByVal sender As System.Object, ByVal ErrorInfo As System.String) Handles GxFile1.OnError
Try
MessageBox.Show(ErrorInfo)
Catch Ex As Exception
MessageBox.Show(Ex.Message)
End Try
End Sub
'Show occured error
Private Sub GXFile1_OnError(ByVal sender As Object, ByVal ErrorInfo As String)
On Error GoTo GXErr
MsgBox ErrorInfo
GXFile1.Close
Exit Sub
GXErr:
MsgBox Err.Description
End Sub
Assembly: Gurux.File (Module: Gurux.File) Version: 5.0.0.1