/// <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 }; }
/// <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 }; }