コード例 #1
0
 public void Load(Client client, Data receive, List <Client> clientList = null, List <Channel> channelList = null)
 {
     Client              = client;
     Received            = receive;
     ListOfClientsOnline = clientList;
     Send.strName        = Received.strMessage2;
     sendToNick          = new SendMessageToNick(ListOfClientsOnline, Send);
 }
コード例 #2
0
        public override void Response()
        {
            base.Response();

            SendMessageToNick sendToNick = new SendMessageToNick(ListOfClientsOnline, Send);

            sendToNick.Send.strName     = Received.strMessage2;
            sendToNick.Send.strMessage2 = Client.strName;

            sendToNick.ResponseToNick();
        }
コード例 #3
0
ファイル: ClientSendFile.cs プロジェクト: wizir/Gold-Chat
        public override void Response()
        {
            if (IsNoError)
            {
                SendMessageToNick sendToNick = new SendMessageToNick(ListOfClientsOnline, Send);
                sendToNick.Send.strFileMsg = fileSendByte;
                sendToNick.Send.strMessage = Client.strName;
                sendToNick.Send.strName    = FriendName;

                sendToNick.ResponseToNick();
            }
            else
            {
                base.Response();
            }
        }