摘要: publicabstractclassAbstractThread{Threadthread=null;publicabstractvoidrun();publicvoidstart(){if(thread==null)thread=newThread(newThreadStart(run));thread.Start();}}publicdelegatevoidTimeEventHandler(objectobj,TimeEventArgsargs);publicclassEventThread:AbstractThread{publicEventThread(){IsAlive=true; 阅读全文
posted @ 2011-04-26 23:00 kenter 阅读(141) 评论(0) 推荐(0) 编辑