随笔分类 -  Csharp

AutoCAD开发8---获取块属性(C#)
摘要:转自:http://www.programfan.com/article/3161.html 阅读全文

posted @ 2019-12-12 11:41 Lzhm216 阅读(1435) 评论(0) 推荐(0)

skyline开发——加载Shapefile文件
摘要:1 //1)获取道路的GroupID 2 string dlId = ptm.FindGroupByName("道路"); 3 IFeatureLayer66 featureLayer = null; 4 string tShapeFileName = path + "out_feature... 阅读全文

posted @ 2017-03-01 15:16 Lzhm216 阅读(371) 评论(0) 推荐(0)

skyline开发——读取Shapefile要素属性
摘要:1 double len; 2 IFeatures66 features = featureLayer.FeatureGroups.Polyline.GetCurrentFeatures(); 3 foreach (IFeature66 feature in features) 4 { 5 ... 阅读全文

posted @ 2017-03-01 15:11 Lzhm216 阅读(407) 评论(0) 推荐(0)

WinForm DotNetBar 动态添加DataGridView
摘要:DataGridView dgv = new DataGridView(); dgv.Dock = DockStyle.Fill; dgv.Location = new System.Drawing.Point(0, 0); dgv.Size = new System.Drawing.Size(79 阅读全文

posted @ 2017-03-01 15:07 Lzhm216 阅读(555) 评论(0) 推荐(0)

DotNetBar 菜单中添加分割线
摘要:一直以来不知道怎么在菜单中添加分割线,今天打开DotNetBar自带的源码查看,原来是要设置分割线后一个按钮的BeginGroup属性为True,比如在打印按钮前添加分割线,则在按钮初始化时前面加一句 this.btnPrint.BeginGroup = true; 阅读全文

posted @ 2014-06-27 14:24 Lzhm216 阅读(244) 评论(0) 推荐(0)

VB.Net 经典画圆方法
摘要:计算机图形学课程作业-----画圆Public Class Form1Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickDim G As Graphics = PictureBox1.CreateGraphics()Dim Br As SolidBrush = New SolidBrush(Color.Blue)Dim x0, y0, r, x, y As IntegerDim d As Integerd = 3 - 2 * rx0 阅读全文

posted @ 2013-07-04 17:33 Lzhm216 阅读(3231) 评论(0) 推荐(0)

导航