摘要: System.Drawing.Text.InstalledFontCollection fonts = new System.Drawing.Text.InstalledFontCollection(); foreach (System.Drawing.FontFamily family in fonts.Families) { cmbFont.Items.Add(new FFontFamily { FontFamily = family }); } 阅读全文
posted @ 2013-03-25 09:51 忆如梨花 阅读(262) 评论(0) 推荐(0) 编辑
摘要: RepositoryItemImageComboBox images1 = new RepositoryItemImageComboBox(); images1.SmallImages = imageCollection1; images1.Items.Add(new ImageComboBoxItem("", 0, 0)); images1.Items.Add(new ImageComboBoxItem("", 1, 1)); images1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEdi 阅读全文
posted @ 2013-03-21 16:20 忆如梨花 阅读(839) 评论(0) 推荐(0) 编辑
摘要: select e.txt_desig, e.routelevel, d.c, d.en_route_rte_id, t.code_startpointid, t.code_startfir, t.code_type_start, t.code_endpointid, t.code_endfir, t.code_type_endpoint, d.code_dir from en_route_rte e,segment t, (select g.en_route_rte_id, m.c, code_dir,g.segment_id from rte_seg g, (select EN_ROUTE. 阅读全文
posted @ 2013-03-21 14:47 忆如梨花 阅读(197) 评论(0) 推荐(0) 编辑
摘要: select (case when (m.code_dir = 'F') then n.code_startpointid else n.code_endpointid end) as startid, (case when (m.code_dir = 'F') then n.code_endpointid else n.code_startpointid end) as endid from rte_seg m, segment n where m.segment_id = n.segment_id 阅读全文
posted @ 2013-03-21 09:43 忆如梨花 阅读(148) 评论(0) 推荐(0) 编辑
摘要: select EN_ROUTE_RTE_ID,max(code_sort) from rte_seg group by EN_ROUTE_RTE_ID order by EN_ROUTE_RTE_ID 阅读全文
posted @ 2013-03-21 09:42 忆如梨花 阅读(731) 评论(0) 推荐(0) 编辑
摘要: http://www.csharpwin.com/csharpspace/9314r9141.shtml 阅读全文
posted @ 2013-03-11 10:32 忆如梨花 阅读(132) 评论(0) 推荐(0) 编辑
摘要: IGraphicsContainer container = axPageLayoutControl1.PageLayout as IGraphicsContainer; IMap map = axPageLayoutControl1.ActiveView.FocusMap; container.Reset(); IElement element = container.Next(); while (element != null) { if (element is IMapSurroundFrame) { IMapSurroundFrame mapSurroundFrame = eleme. 阅读全文
posted @ 2013-03-07 14:53 忆如梨花 阅读(604) 评论(0) 推荐(0) 编辑
摘要: select en_route_rte_id as id,txt_loc_desig||routelevel as name from en_route_rte e order by e.txt_loc_desig 阅读全文
posted @ 2013-02-21 09:38 忆如梨花 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: 当使用IMap的selectbyshape时,所有图层符合条件的查找出,当不选择某图层时,设置IFeatureLayer的Selectable为false,这样这个图层就不会被搜索,就查询不到! 阅读全文
posted @ 2013-02-20 15:31 忆如梨花 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 在使用ITopologicalOperator求交集等操作的时候,有时候会出现“HRESULT:0x80040215”的问题,原因是空间坐标参考不一致,将其设置为一致便可解决问题。 阅读全文
posted @ 2013-02-19 16:43 忆如梨花 阅读(756) 评论(0) 推荐(1) 编辑