示例#1
0
 private void Disconnect()
 {
     _Connection.Disconnect();
     if (_ConnectionState == State.CONNECTED)
     {
         Reciever.SetConnected(false);
     }
 }
 private void Disconnect()
 {
     _Connection.Disconnect();
     if (Reciever != null)
     {
         Reciever.SetConnected(false);
     }
 }