Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (textBox2.Text != null)
     {
         chat_n dog = new chat_n(id, textBox2.Text);
         dog.sent();
     }
 }
Beispiel #2
0
        private void flashMes()
        {
            chat_n cat = new chat_n(id);

            textBox1.Text = cat.rec();
            label1.Text   = cat.rec_person();
            this.Refresh();
            //用实时cache来实现数据通信交流
        }