随笔分类 - winfrom
摘要: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
阅读全文

浙公网安备 33010602011771号