public override void ReceiveCommand(RemoteCommand cmd) { // Raise event if(ReceiveCommandEvent != null) ReceiveCommandEvent(cmd); }