Exemplo n.º 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public MapgisToolSubMenu()
 {
     MapDocEditor = new MapDocEditor(catalog)
     {
         IsPopup = true
     };
     mapDocDataViewer = new MapDocDataViewer()
     {
         IsPopup = true
     };
     mapDocConditionInput = new ConditionInput(mapDocDataViewer)
     {
         IsPopup = true
     };
     this.Loaded += new RoutedEventHandler(OnLoaded);
     LayerEditor  = new LayerEditor(catalog)
     {
         IsPopup = true
     };
     layerDataViewer = new LayerDataViewer()
     {
         IsPopup = true
     };
     layerConditionInput = new LayerConditionInput(layerDataViewer)
     {
         IsPopup = true
     };
 }
Exemplo n.º 2
0
        public Toolbar()
        {
            InitializeComponent();
            MapDocEditor = new MapDocEditor(m_catalog)
            {
                IsPopup = true
            };
            m_mapDocDataViewer = new MapDocDataViewer()
            {
                IsPopup = true
            };                                                            //, MapDocEditorObj = MapDocEditor };
            m_mapDocConditionInput = new ConditionInput(m_mapDocDataViewer)
            {
                IsPopup = true
            };
            this.BorderThickness = new Thickness(0);

            LayerEditor = new LayerEditor(m_catalog)
            {
                IsPopup = true
            };
            m_layerDataViewer = new LayerDataViewer()
            {
                IsPopup = true
            };                                                          //, LayerEditorObj = LayerEditor };
            m_layerConditionInput = new LayerConditionInput(m_layerDataViewer)
            {
                IsPopup = true
            };
        }
        /// <summary>
        /// 构造函数
        /// </summary>
        public MapgisToolSubMenu()
        {
            InitializeComponent();
            fishMenu = new FishEyeMenuH();
            this.ResizeControl();
            this.LayoutRoot.Children.Add(fishMenu);
            this.Loaded += new RoutedEventHandler(OnLoaded);
            MapDocEditor = new MapDocEditor(catalog)
            {
                IsPopup = true
            };
            mapDocDataViewer = new MapDocDataViewer()
            {
                IsPopup = true
            };                                                           //, MapDocEditorObj = MapDocEditor };
            mapDocConditionInput = new ConditionInput(mapDocDataViewer)
            {
                IsPopup = true
            };
            this.BorderThickness = new Thickness(0);

            LayerEditor = new LayerEditor(catalog)
            {
                IsPopup = true
            };
            layerDataViewer = new LayerDataViewer()
            {
                IsPopup = true
            };                                                         //, LayerEditorObj = LayerEditor };
            layerConditionInput = new LayerConditionInput(layerDataViewer)
            {
                IsPopup = true
            };
        }