void m_viewModel_UpdateTaskProgress(int index, uint arg1, IVX.DataModel.E_VDA_TASK_STATUS arg2, uint arg3)
        {
            if (isClosed)
            {
                return;
            }

            if (InvokeRequired)
            {
                this.Invoke(new Action <int, uint, IVX.DataModel.E_VDA_TASK_STATUS, uint>(m_viewModel_UpdateTaskProgress), index, arg1, arg2, arg3);
            }
            else
            {
                ucSingleRealtimeTask taskinfo = null;
                try
                {
                    if (flowLayoutPanel1.Controls.ContainsKey("ucSingleRealtimeTask_" + index))
                    {
                        taskinfo = flowLayoutPanel1.Controls["ucSingleRealtimeTask_" + index] as ucSingleRealtimeTask;
                    }
                    if (taskinfo != null)
                    {
                        if (arg1 == 0)
                        {
                            taskinfo.Init(null, arg2, (int)arg3);
                        }
                        else
                        {
                            taskinfo.Init(m_viewModel.GetTaskInfo(arg1), arg2, (int)arg3);
                        }
                        if (m_currentShownTask != null && m_currentShownTask.Created && m_currentShownTask.TaskId == arg1)
                        {
                            m_currentShownTask.UpdateProgress(arg2, (int)arg3);
                        }
                    }
                }
                catch (Exception)
                {
                    return;
                }
            }
        }
        void uctask_TaskDeleteClick(object sender, EventArgs e)
        {
            ucSingleRealtimeTask uctask = sender as ucSingleRealtimeTask;

            if (uctask != null)
            {
                m_viewModel.DeleteTask(uctask.Task.TaskId);
                uctask.Init(new TaskInfoV3_1()
                {
                    TaskId = 0, AlgthmType = E_VIDEO_ANALYZE_TYPE.E_ANALYZE_NOUSE, StartTime = new DateTime(), TaskName = "加载中...", Status = E_VDA_TASK_STATUS.E_TASK_STATUS_NOUSE
                }, E_VDA_TASK_STATUS.E_TASK_STATUS_NOUSE, 0);
            }
        }