hoyong

导航

2018年4月13日 #

numericUpDown去掉上下箭头(转)

摘要: numericUpDown去掉上下箭头 numericUpDown1.Controls.RemoveAt(0); 阅读全文

posted @ 2018-04-13 20:42 hoyong 阅读(444) 评论(0) 推荐(0) 编辑

Winform TextBox中只能输入数字的几种常用方法(C#)(转)

摘要: 方法一: private void tBox_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == 0x20) e.KeyChar = (char)0; //禁止空格键 if ((e.KeyChar == 0x2D) && ( 阅读全文

posted @ 2018-04-13 20:40 hoyong 阅读(181) 评论(0) 推荐(0) 编辑