摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->privatevoid tBox_KeyPress(object sender, KeyPressEventArgs e){if (e.KeyChar ==0x20) e.KeyChar = (char)0; //禁止空格键if ((e.KeyChar ==0x2D) && (((TextBox)sender).Text.Length ==0)) return; //处理负数if 阅读全文
posted @ 2010-05-13 11:21 鹏程万里 阅读(1566) 评论(4) 推荐(0) 编辑