protected virtual void OnReceiveFileComplete(FileReceiveCompleteEventArgs e) { if (ReceiveFileComplete != null) { ReceiveFileComplete(this, e); } }
/// <summary> /// 完成接收文件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ReceiveFileManagerReceiveFileComplete( object sender, FileReceiveCompleteEventArgs e) { ReceiveFileManager receiveFileManager = sender as ReceiveFileManager; OnFileReceiveComplete(new FileReceiveEventArgs(receiveFileManager)); ReceiveFileManagerList.Remove(receiveFileManager.MD5); }