02 2015 档案

摘要:public class CommonHelper { /// /// 用data数据填充templatename模板,渲染返回html返回 /// /// /// /// publi... 阅读全文
posted @ 2015-02-19 22:36 毛小亮 阅读(290) 评论(0) 推荐(0)
摘要:public partial class GetLabelFields : Form { int tableCount; public GetLabelFields(AxMapControl axmapcontrol ) { In... 阅读全文
posted @ 2015-02-19 14:58 毛小亮 阅读(651) 评论(0) 推荐(0)
摘要:public partial class FrmAttributeTable : Form { private AxMapControl m_MapCtl; public FrmAttributeTable(AxMapControl pMapCtl) ... 阅读全文
posted @ 2015-02-19 14:39 毛小亮 阅读(624) 评论(0) 推荐(0)
摘要:传值可在副窗口cs中定义副窗口的Tag属性,结合主窗口cs中的:副窗口类名.ActiveForm.Tag属性//进行传递。同时须结合主窗口中定义的副窗口的FormClosing方法。有时候FormClosing方法结束后,窗体并没有关闭,不知为何。但是在线程结束后会关闭。private void 显... 阅读全文
posted @ 2015-02-19 14:30 毛小亮 阅读(199) 评论(0) 推荐(0)
摘要://添加标注,比TextElment功能更强大 public static void ToAddAnnotate(ILayer layer, string fieldName) { IGeoFeatureLayer pGeoLayer = laye... 阅读全文
posted @ 2015-02-15 16:50 毛小亮 阅读(731) 评论(0) 推荐(0)
摘要:点密度图、分层设色图/等级图、单值图、柱状图、饼状图的实现代码C#private void 点密度图ToolStripMenuItem_Click(object sender, EventArgs e) { //获取当前图层 ,并把它设置成IGeoFeatureLayer的实例 IMap pMap ... 阅读全文
posted @ 2015-02-14 16:22 毛小亮 阅读(383) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-02-14 16:20 毛小亮 阅读(177) 评论(0) 推荐(0)