惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
S
Securelist
D
Docker
The Register - Security
The Register - Security
GbyAI
GbyAI
Recorded Future
Recorded Future
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
罗磊的独立博客
博客园 - 【当耐特】
F
Full Disclosure
WordPress大学
WordPress大学
腾讯CDC
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
SecWiki News
SecWiki News
L
Lohrmann on Cybersecurity
I
InfoQ
MyScale Blog
MyScale Blog
量子位
Cyberwarzone
Cyberwarzone
博客园 - 三生石上(FineUI控件)
The Hacker News
The Hacker News
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
博客园_首页
H
Help Net Security
K
Kaspersky official blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Webroot Blog
Webroot Blog
Blog — PlanetScale
Blog — PlanetScale
V
Vulnerabilities – Threatpost
Y
Y Combinator Blog
The Cloudflare Blog
P
Proofpoint News Feed
V
Visual Studio Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tailwind CSS Blog
爱范儿
爱范儿
P
Privacy International News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
B
Blog RSS Feed

博客园 - ZhaoYG

大家好,本人现有信息系统项目管理师、系统分析师证书,诚寻挂靠 VB 输入超出文件尾(错误62)(转) asp.net 2.0 下集成OCX 全过程 我很欣慰,Vista下终于能用rose了 新版勘验图发布 赞! 勘验图系统(GDI+绘图) Web应用程序中(VS2005+SP1)添加App_Code(转) 解决NHibernate 中与 SQL2005 关键字有冲突的问题 在C#中使用代理的方式触发事件(转) IT人士长期出差 系统分析员、系统架构师、项目经理的区别(转) 潮湿的天气,潮湿的心情 一个项目经理的个人体会 数据库视图定义及其相关操作 windows mobile实现商品销售的例子 全国计算机与软件技术资格(水平)考试的英文名称 庆祝自己通过系分考试,分发资料 Windows系列操作系统对进程间通信的支持――管道与邮路 VC++中 PostMessage和SendMessage的区别
转:在自己的工具条中使用ArcGIS Engine提供的命令和工具
ZhaoYG · 2008-07-15 · via 博客园 - ZhaoYG

由于ArcGIS Engine提供的ToolBarControl在界面调整上不是很灵活,因此在对界面要求比较高的应用中会采取舍弃ToolBarControl而采用自己的ToolBar。在使用自己的ToolBar过程中,仍然可以使用ArcGIS Engine提供的大量的命令和工具。

以放大工具为例,在你自己的工具条上的ZoomInTool的Click事件中添加以下的代码就可以使用Engine提供的放大的功能。下面是c#的代码

ESRI.ArcGIS.SystemUI.ICommand pCommand;
pCommand = new ESRI.ArcGIS.ControlCommands.ControlsMapZoomInToolClass ();
pCommand.OnCreate (axMapControl1.Object );
axMapControl1.CurrentTool = pCommand as ESRI.ArcGIS.SystemUI.ITool ;

posted on 2008-07-15 16:34  ZhaoYG  阅读(810)  评论(0)    收藏  举报