Example #1
0
 /// <summary>
 /// Sets the message handler.
 /// </summary>
 /// <param name="newFunc">The new message handler.</param>
 public void setMessageHandler(serialMsgReceivedDelegate newFunc)
 {
     msgReceived += new serialMsgReceivedDelegate(newFunc);
 }
Example #2
0
 /// <summary>
 /// Sets the message handler.
 /// </summary>
 /// <param name="newFunc">The new message handler.</param>
 public void setMessageHandler(serialMsgReceivedDelegate newFunc)
 {
     msgReceived += new serialMsgReceivedDelegate(newFunc);
 }