.net 3.5 sp1方法this.startEvent.WaitOne

来源:互联网 发布:黎明杀机淘宝多少钱 编辑:程序博客网 时间:2024/04/30 10:49

 private void CaptureThreadRun()
        {
            while (this.captureMode!=CaptureMode.CM_EXIT)
            {
                if (this.captureMode==CaptureMode.CM_NONE)
                {
                    this.startEvent.WaitOne(1000);
                    continue;
                }

            }

       }

原创粉丝点击