OnEventChar Event
This event is triggered when the event character was received and placed in the input buffer. The event character is specified in EventChar property.
Syntax
Visual Basic .NET | Sub OnEventChar(ByVal Sender As Object) |
---|---|
Visual C# | void OnEventChar(object Sender); |
Parameters
Sender
Event source.
Code Example
// // Event handler by example of CTS signal event handler // private void ftspcControl1_OnCts(object Sender) { try { if (ftspcControl1.Cts) { // Todo: add your code } } catch (FTSPCException E) { MessageBox.Show("Error " + E.ErrorCode.ToString() + "\r\n" + E.ErrorSource, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }