- Joined
- Dec 1, 2007
- Messages
- 2,787
- Reaction score
- 480
Well I'm just messing about with a packet logger and say if I want to inject the 'BK' and use the text from txtAlert
BK - message box popup
But when I have like 'Hey there!' and I send the packet to client, the BK alert comes up fine but it comes out like;
But I don't want the 'System.Windows.Forms.Textbox, Text:' to come up.
Does anyone know how to counter this?
BK - message box popup
Code:
private void cmdAlertCS_Click(object sender, EventArgs e)
{
clsSockets.SendToClient("BK" + txtAlertCS);
}
But when I have like 'Hey there!' and I send the packet to client, the BK alert comes up fine but it comes out like;
Code:
System.Windows.Forms.Textbox, Text: Hey there!
But I don't want the 'System.Windows.Forms.Textbox, Text:' to come up.
Does anyone know how to counter this?