protected virtual void OnReceiveFileComplete(FileReceiveCompleteEventArgs e)
 {
     if (ReceiveFileComplete != null)
     {
         ReceiveFileComplete(this, e);
     }
 }
Exemple #2
0
        /// <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);
        }