摘要: public partial class Form1 : Form { public Form1() { InitializeComponent(); slist = aa => { listBox1.Items.Add(aa); }; } private int localPort = 6666; private delegate void SetListBoxCallBack(string str); private SetListBoxCallBack slist; private stat... 阅读全文
posted @ 2012-07-02 16:55 Sky Wang 阅读(561) 评论(0) 推荐(0) 编辑
摘要: public partial class Form1 : Form { public Form1() { InitializeComponent(); label = (text, la) => { la.Text = text; }; slist = aa => { listBox1.Items.Add(aa); }; } private int serverPort = 6666; public byte[] dataBuffer = new byte[1000... 阅读全文
posted @ 2012-07-02 16:54 Sky Wang 阅读(388) 评论(0) 推荐(0) 编辑