Ejemplo n.º 1
0
 private void dispSet_Click(object sender, RoutedEventArgs e)
 {
     if (this.MapContainer == null)
     {
         return;
     }
     if (m_catalog.ActiveMapDoc != null && m_catalog.ActiveMapDoc.Display)
     {
         if (m_dispOption == null)
         {
             m_dispOption            = new DisplaySet();
             m_dispOption.IMSCatalog = this.IMSCatalog;
         }
         m_dispOption.ShowAsModal();
     }
     //if (m_catalog.ActiveLayerObj != null && m_catalog.ActiveLayerObj.Display)
     //{
     //    if (m_LayerdispOption == null)
     //    {
     //        m_LayerdispOption = new LayerDisplaySet();
     //        m_LayerdispOption.IMSCatalog = this.IMSCatalog;
     //    }
     //    m_LayerdispOption.ShowAsModal();
     //}
 }
 /// <summary>
 /// 视图参数设置
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void dispSet_Click(object sender, RoutedEventArgs e)
 {
     if (this.ImsMap == null)
     {
         return;
     }
     if (catalog.ActiveMapDoc != null && catalog.ActiveMapDoc.Display)
     {
         if (dispOption == null)
         {
             dispOption            = new DisplaySet();
             dispOption.IMSCatalog = this.IMSCatalog;
         }
         dispOption.ShowAsModal();
     }
 }