public ReceiveFileEventArgs(int nFileID, EFileEvent fileEvent) { if (fileEvent != EFileEvent.CANCELFILE) { throw new ArgumentException(); } FileID = nFileID; FileEvent = EFileEvent.CANCELFILE; }
public SendFileEventArgs(EFileEvent eFileEvent, int nFileID, String strErrorMessage) { FileEvent = eFileEvent; FileID = nFileID; ErrorMessage = strErrorMessage; }