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); }
public override void Response() { base.Response(); SendMessageToNick sendToNick = new SendMessageToNick(ListOfClientsOnline, Send); sendToNick.Send.strName = Received.strMessage2; sendToNick.Send.strMessage2 = Client.strName; sendToNick.ResponseToNick(); }
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(); } }