- 博客(7)
- 收藏
- 关注
转载 VS2010 代码行数统计以及代码复制汉字出现乱码
1、查找代码的总行数。 按CTRL+SHIFT+F(Findinfiles),勾上支持正则表达式,然后输入搜索内容: ^:b*[^:b#/]+.*$ 2、在VS中复制代码,粘贴到Word等文本文档时出现乱码的问题。 新建VS工程,在Click事件中 执行以下代码 private void button1_Click(object sender, EventAr...
2014-12-03 09:16:00 155
转载 关于TerrainExplorer的一些资源网址设置方法(备忘)
http://localhost/webviewer/ceviewer_offline.html?3dWebScene=zh.3ws FireFox CEhttp://gis.wuyishan.gov.cn/Wysgis/index.aspxhttp://www.csmap.gov.cn/threedmap/fly/Default.fly 长沙火车站 flyhttp://10.20...
2014-11-03 19:56:00 106
转载 ArcEngine开发中自定义工具箱的调用
object sev = null;//用来标记处理信息 //1-定义GeoProcessor对象 // Geoprocessor gp = new Geoprocessor(); IGeoProcessor2 gp = new GeoProcessorClass(); ...
2013-11-04 22:29:00 419
转载 ISimpleLineSymbol的设置以及如何改变IFeatureSelection的样式
ISimpleLinesymbol的使用方法很简单,具体设置一下几个方法参数就可以。 Members All Properties Methods Inherited Non-inherited Description Color Line symbol color. Style The style of the line s...
2013-11-04 10:16:00 370
转载 IFeatureSelection与IMap中选择要素的区别
IFeatureSelection接口由FeatureLayer类实现,主要用来存放用户在该图层中选择的要素,例如一般的属性查图,找到的元素一般放置在IFeatureSelection接口中。具体方法如下: Members All Properties Methods Description Add Adds a feature to the se...
2013-11-04 09:52:00 195
转载 设置文本框只能输入特定的符号
private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar >= 48 && e.KeyChar <= 57 || e.KeyChar == 8) { }...
2012-12-02 20:52:00 91
转载 在VS2010开发工具中将datagridview进行重绘
private void dataGridView1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { int left = e.CellBounds.Left; int top = e.CellBounds.Top; ...
2012-08-18 17:10:00 195
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人