public AreaPrintMapClass(IMap pMap) { base.m_deactivate = true; base.m_cursor = new System.Windows.Forms.Cursor(GetType(), GetType().Name + ".cur"); frmTempletePro = new frmTempleteProperties(pMap, m_Geometry); frmTempletePro.ShowDialog(); textTitle = frmTempletePro.ptextTitle; textName = frmTempletePro.ptextName; textProject = frmTempletePro.ptextProject; textDate = frmTempletePro.ptextTime; textelevation = frmTempletePro.elevationName; textOtherInfo = frmTempletePro.pOtherInfo; }
string textTitle = ""; //标题,制作者等信息 #endregion Fields #region Constructors public AreaPrintMapClass(IMap pMap) { base.m_deactivate = true; base.m_cursor = new System.Windows.Forms.Cursor(GetType(), GetType().Name + ".cur"); frmTempletePro = new frmTempleteProperties(pMap, m_Geometry); frmTempletePro.ShowDialog(); textTitle = frmTempletePro.ptextTitle; textName = frmTempletePro.ptextName; textProject = frmTempletePro.ptextProject; textDate = frmTempletePro.ptextTime; textelevation = frmTempletePro.elevationName; textOtherInfo = frmTempletePro.pOtherInfo; }