示例#1
0
        protected virtual void OnDataSent(ClientDataEventArgs e)
        {
            ClientDataSendEventHandler handler = DataSent;

            if (handler != null)
            {
                handler(this, e);
            }
        }
示例#2
0
        protected virtual void OnDataReceived(ClientDataEventArgs e)
        {
            ClientDataReceiveEventHandler handler = DataReceived;

            if (handler != null)
            {
                handler(this, e, e.Data);
            }
        }