摘要:
服务器端代码: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System 阅读全文
摘要:
private void txtMsg_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r') { this.btnSendMsg_Click(sender, e); } } 阅读全文
摘要:
foreach(Control c in groupBox1.Controls) { if(c is TextBox) { (TextBox)c.Text = ""; } } 阅读全文