日期:2014-05-18 浏览次数:20965 次
private void Form1_KeyPress(object sender, KeyPressEventArgs e) { switch (e.KeyChar) { case (char)6: { // 弹出搜索框 break; } case (char)24: this.Close(); break; default: break; } }