Ejemplo n.º 1
0
 /// <summary>
 /// Trigger Event Handler
 /// </summary>
 /// <param name="e"></param>
 protected virtual void MsgReceivedEvent(MsgReceivedEventArgs e)
 {
     if (OnMsgRevceivedEvent != null)
     {
         OnMsgRevceived(this, e);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Raise Event
        /// </summary>
        /// <param name="i"></param>
        public void RaiseMsgEvent(int i)
        {
            MsgReceivedEventArgs e = new MsgReceivedEventArgs(i);

            OnMsgRevceivedEvent.Invoke(this, e);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Message Received event handler
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnMsgRevceived(Object sender, MsgReceivedEventArgs e)
 {
     RunningStatus = e.Msg;
 }