Spread WinForms 15
FarPoint.Win Assembly / FarPoint.Win.SuperEdit Namespace / UserErrorEventArgs Class / UserErrorEventArgs Constructor / UserErrorEventArgs Constructor(UserErrorCode)
The user error code that is being raised
Example


In This Topic
UserErrorEventArgs Constructor(UserErrorCode)
In This Topic
Occurs when an user error state is created by the control
Syntax
'Declaration
 
Public Function New( _
   ByVal errorCode As UserErrorCode _
)
 
'Usage
 
Dim errorCode As UserErrorCode
 
Dim instance As New UserErrorEventArgs(errorCode)

Parameters

errorCode
The user error code that is being raised
Example
private void control_UserError(object sender, FarPoint.Win.Input.UserErrorEventArgs e)
{
Messagebox.Show(Convert.ToString(e.ErrorCode));
}
See Also