示例#1
0
        //清除所有分析结果
        private void btn_Clear_Click(object sender, EventArgs e)
        {
            this.RegisterEvents(false);
            if (m_contour != null)
            {
                m_contour.Clear();
                m_contour = null;
            }
            m_sceneControl.Action = Action3D.Pan;

            this.btn_StartAnalyst.Enabled = true;
            this.btn_Clear.Enabled        = false;
            this.btn_StopAnalysis.Enabled = false;
        }
示例#2
0
        //清除所有分析结果
        private void btn_Clear_Click(object sender, EventArgs e)
        {
            this.RegisterEvents(false);

            if (m_timer != null)
            {
                m_timer.Enabled = false;
                m_timer.Stop();
            }
            if (m_contour != null)
            {
                m_contour.Clear();
                m_contour = null;
            }
            m_sceneControl.Scene.TrackingLayer.Clear();
            this.m_panelDiagram.Visible = false;
            this.btn_Clear.Enabled      = false;
        }