Пример #1
0
        /// <summary>
        /// 新线程处理任务
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void class_backgroundWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            IdlConnector idlCon = new IdlConnector(m_proFileFullPath);

            idlCon.RunStr = m_runStr;
            idlCon.run();
        }
Пример #2
0
        /// <summary>
        ///// 执行分类处理,这样封装方便在多线程中进行
        /// </summary>
        /// <param name="idlCon"></param>
        private static void runClassify(object sender, DoWorkEventArgs e)
        {
            IdlConnector idlCon = new IdlConnector(m_proFileFullPath);

            idlCon.RunStr = m_runStr;
            idlCon.run();
        }