public void client_StateChanged(TcpBaseClient source, string state)
 {
     if (this.StateChanged != null)
     {
         StateChanged(this, state);
     }
 }
 public void client_StateChanged(TcpBaseClient source, string state)
 {
     if (this.StateChanged != null)
     {
         StateChanged(this, state);
     }
 }