public ToolLib(frmMain frmMian) { m_frmMian = frmMian; m_mapControl = frmMian.MapControl; m_pageLayoutControl = frmMian.PageLayoutControl; m_sceneControl = frmMian.SceneControl; m_workSpace = frmMian.WorkSpace; m_gcon = frmMian.Gcon; m_connStr = frmMian.ConnectionString; m_statusBar = frmMian.StatusBar; m_activeView = frmMian.MapControl.ActiveView; }
public ToolLib(frmMain frmMian) { m_frmMian = frmMian; m_mapControl = frmMian.MapControl; m_pageLayoutControl = frmMian.PageLayoutControl; m_sceneControl = frmMian.SceneControl; m_workSpace = frmMian.WorkSpace; m_gcon = frmMian.Gcon; m_connStr = frmMian.ConnectionString; m_statusBar = frmMian.StatusBar; m_activeView = frmMian.MapControl.ActiveView; }