public void FireEvent(Command command)
 {
     System.Diagnostics.Debug.Print("Client: New message received: {0}", command.CurrentCommand);
     switch (command.CurrentCommand)
     {
         case "FullData":
             FullData(null, new SocketEventArgs(command));
             break;
         case "ReadPhoto":
             ReadPhoto(null, new SocketEventArgs(command));
             break;
         case "ReadFile":
             ReadFile(null, new SocketEventArgs(command));
             break;
         case "ReadPhotoLink":
             ReadPhotoLink(null, new SocketEventArgs(command));
             break;
     }
 }
 public SocketEventArgs(Command command)
 {
     this.command = command;
 }