Exemple #1
0
        /// <summary>
        /// Handles triggering the invalid short message received event.
        /// </summary>
        /// <param name="message">
        /// The invalid short message received.
        /// </param>
        /// <param name="timeStamp">
        /// Number of milliseconds that have passed since the input device
        /// began recording.
        /// </param>
        private void DispatchInvalidShortMsg(int message, int timeStamp)
        {
            if (InvalidShortMessageReceived != null)
            {
                InvalidShortMsgEventArgs e =
                    new InvalidShortMsgEventArgs(message, timeStamp);

                InvalidShortMessageReceived(this, e);
            }
        }
Exemple #2
0
        /// <summary>
        /// Handles triggering the invalid short message received event.
        /// </summary>
        /// <param name="message">
        /// The invalid short message received.
        /// </param>
        /// <param name="timeStamp">
        /// Number of milliseconds that have passed since the input device 
        /// began recording.
        /// </param>
        private void DispatchInvalidShortMsg(int message, int timeStamp)
        {
            if(InvalidShortMessageReceived != null)
            {
                InvalidShortMsgEventArgs e = 
                    new InvalidShortMsgEventArgs(message, timeStamp);

                InvalidShortMessageReceived(this, e);
            }
        }