Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (Connection != null)
     {
         Connection.SendMessage(this.Tag.ToString(), this.textBox1.Text);
         rtbMessage.ShowMessage(Connection.Nickname, this.textBox1.Text);
         this.textBox1.Text = "";
     }
 }