没有合适的资源?快使用搜索试试~ 我知道了~
STK-X Tutorials-CSharp
5星 · 超过95%的资源 需积分: 50 139 下载量 63 浏览量
2013-05-14
10:31:23
上传
评论
收藏 1.01MB PDF 举报
温馨提示
试读
11页
STK X 教程。在C#中使用STK X。更多STK学习资料请关注博客:http://blog.csdn.net/appe1943
资源推荐
资源详情
资源评论
STK X Tutorial – C# 1
STK X Tutorial - C#
In this exercise you will gain hands-on experience using STK X to embed STK
functionality in a container application created with C#.
N
OTE: Except where otherwise noted, the instructions in this tutorial are
applicable whether you are using Visual Studio 2005 or Visual Studio.NET
(2003). All pictures are of the Visual Studio 2005 interface.
CONTENTS
CREATE THE PROJECT.............................................................................................1
ADD THE STK X CONTROLS TO THE TOOLBOX............................................................1
SEND COMMANDS TO STK X....................................................................................2
ADD ZOOM IN/OUT TO THE MAP CONTROL ................................................................4
RESPOND TO EVENTS RAISED BY STK X....................................................................5
ADD MAP PICKING..................................................................................................8
SET STK X PROPERTIES ..........................................................................................9
Create the project
1) Start Visual Studio.
2) From the
File menu, select New, and then Project….
3) Select Visual C# as the Project type and the
Windows Application template. Enter a
project name and location of your choice.
4) The
Form1.cs windows form is opened in Design mode.
Add the STK X controls to the Toolbox
1) If the Toolbox is not already displayed, select it from the View menu.
2) Go to the
General section of the toolbox, and right-click in the toolbox background.
3) In the context menu, select
Choose Items… (or Add/Remove Items… if you are
using Visual Studio.NET 2003).
4) In the
Choose Toolbox Items dialog (Customize Toolbox in Visual Studio.NET
2003), select the
COM Components tab.
5) Check
AGI Globe Control 8 and AGI Map Control 8 in the list of controls, and click
OK to close the dialog.
6) The
AGI Map Control and AGI Globe Control now appear in the Toolbox under
the
General tab:
Send commands to STK X
1) Drag the AGI Globe Control onto Form1.cs. Place and size the control it so that it
approximately fills the right-hand portion of the form. Then drag the
AGI Map
Control
onto the left-hand portion of the form, sizing it so that it leaves some space
for other controls to be added.
STK X Tutorial – C# 2
2) Add 3 buttons and a label to the form, arranged as shown here:
STK X Tutorial – C# 3
剩余10页未读,继续阅读
资源评论
- ycshb2014-04-13这在研究这个东东,不错,可以下来好好看看
- plylw4562013-08-12可以用 是个pdf 也挺清晰 不过help文档里也有
- cwg_fox2018-10-14可以把,入门用学习一下
- buaasuozi2014-04-01还行,有一定帮助
- 东之尧2018-10-07感谢分享。
51星系
- 粉丝: 1512
- 资源: 136
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功