Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void button1_Click(object sender, EventArgs e)
- {
- listBox1.Items.Add("You " + DateTime.Now.ToString() + " > " + textBox1.Text);
- Send();
- }
- public static string Send()
- {
- Form1 f1 = new Form1();
- String conv = f1.textBox1.Text;
- String respo = "Send|" + conv;
- sendCommand(respo);
- return respo;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement