virtual public void Process(MessageModel.RecievedFile message)
 {
 }
Beispiel #2
0
            //5 nhận được file
            public override void Process(ChatLib.MessageModel.RecievedFile message)
            {
                this.form.KhungChat.AppendText("Recieve from " + message.NameSender + " file name:" + message.FileName);
                File.WriteAllBytes("d:/chat/" + message.FileName, message.ByteData);

            }