• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






圣殿GIS

在GIS的国都里,我们自由的飞翔,用另外一个角度去认知和感受我们的世界。大家在转载本人文章时,请注明:圣殿GIS 和原文的出处!
 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2007年7月21日

给程序添加启动画面(C#.net )
摘要: 如果程序在装载时需要进行较长时间的处理,最好使用启动画面,一方面美化程序,一方面可以不使用户面对着一片空白的程序界面。我手头上一个小项目主界面启动时需要检查用户文件及运行环境是否有效,需要一段时间处理,因此想到要添加一个启动画面,在网上搜了一阵,发现下面两个方案:1、用C#给程序加启动画面并只允许一个应用程序实例运行http://www.zahui.com/html/14/36790.htm2、H... 阅读全文
posted @ 2007-07-21 22:45 圣殿GIS 阅读(2053) 评论(0) 推荐(0)
 
Here's a C# example thats adds the circle as a graphic element on the mapcontrol.
摘要: //C# private void axMapControl1_OnMouseDown(object sender, IMapControlEvents2_OnMouseDownEvent e) { if (e.button == 2) { IRubberBand rubberband = new RubberCircleClass(); IGeometry geometry = rubberba... 阅读全文
posted @ 2007-07-21 09:17 圣殿GIS 阅读(779) 评论(0) 推荐(0)
 
Here's an example that shows how to enumerate through the features of a selection set, returning the value of each field in the attribute table except for the geometry colum.
摘要: //C# private void SelectFeatures(IGeometry selectionShape, IFeatureLayer layer) { IFeatureClass featureClass = layer.FeatureClass; ISpatialFilter filter = new SpatialFilterClass(); filter.Geometry = s... 阅读全文
posted @ 2007-07-21 08:56 圣殿GIS 阅读(750) 评论(1) 推荐(0)