private void ClientRequest(MessageRecievedEventArgs message) { switch (message.Status) { case MessageTypeEnum.REMOVE_HANDLER: OnRemoveDir?.Invoke(this, message); break; default: break; } }
private void ClientRequest(MessageRecievedEventArgs message) { switch (message.Status) { case MessageTypeEnum.REMOVE_HANDLER: OnRemoveDir?.Invoke(this, message); break; case MessageTypeEnum.P_SENDALL: SendAllPhotos?.Invoke(this, null); break; case MessageTypeEnum.P_DELETE: RemovePhoto?.Invoke(this, message); break; default: break; } }