コード例 #1
0
ファイル: FileTransfer.cs プロジェクト: mansehr/DGP
        public MSNFileTransfer(DotMSN.FileTransfer initFileTransfer, MessageForm initForm)
        {
            msnFileTransfer = initFileTransfer;

            msnFileTransfer.Accepted			+= new DotMSN.FileTransfer.FileTransferHandler(fileTransfer_Accepted);
            msnFileTransfer.Completed			+= new DotMSN.FileTransfer.FileTransferHandler(fileTransfer_Completed);
            msnFileTransfer.InvitationCancelled += new DotMSN.FileTransfer.FileTransferInvitationCancelledHandler(fileTransfer_InvitationCancelled);
            msnFileTransfer.Progressing			+= new DotMSN.FileTransfer.FileTransferHandler(fileTransfer_Progressing);
            msnFileTransfer.Started				+= new DotMSN.FileTransfer.FileTransferHandler(fileTransfer_Started);
            msnFileTransfer.TransferCancelled	+= new DotMSN.FileTransfer.FileTransferCancelledHandler(fileTransfer_TransferCancelled);

            messageFormOwner = initForm;
        }
コード例 #2
0
 public MessageFormClosedEventArgs(MessageForm messageForm)
 {
     _messageForm = messageForm;
 }