コード例 #1
0
        protected void DoRecordProgress(int hRecord, int progress)
        {
            if (progress == 100)
            {
                IRecordContext ctx = (IRecordContext)mThreadContexts["ThreadContext_" + hRecord];
                mThreadContexts.Remove("ThreadContext_" + hRecord);
                if (ctx != null)
                {
                    ctx.Dispose();
                }
            }

            if (OnRecordProgress != null)
            {
                OnRecordProgress(hRecord, progress);
            }
        }