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