private void button2_Click(object sender, EventArgs e) { listBox1.Items.Add("for " + listBox2.Text + ":" + textBox3.Text); client.AddMessage(listBox2.Text, textBox3.Text); }