private void pToolQuerySlope_EndDtrawd(bool BeginDraw) { if (BeginDraw) { m_SlopePoint = null; m_SlopePoint = pToolQuerySlope.m_Geometry; if (this.Text == "坡度查询") { txtSlope.Text = m_SurFace.GetSlopeDegrees(m_SlopePoint).ToString(); } else if (this.Text == "坡向查询") { txtSlope.Text = m_SurFace.GetAspectDegrees(m_SlopePoint).ToString(); } } }