摘要: 1.开启线程 .... using System.Threading; //创建无参的线程 Thread thread1 = new Thread(new ThreadStart(Thread1)); //Thread1是你新线程的函数 //调用Start方法执行线程 thread1.Start() 阅读全文
posted @ 2022-09-26 19:01 素心如何天上月 阅读(1347) 评论(0) 推荐(0)
摘要: if(e.KeyChar!=8&&!Char.IsDigit(e.KeyChar)) { e.Handled = true; } //判断按键是不是要输入的类型。 if(((int)e.KeyChar<48||(int)e.KeyChar>57)&&(int)e.KeyChar!=8&&(int)e 阅读全文
posted @ 2022-09-26 06:00 素心如何天上月 阅读(74) 评论(0) 推荐(0)