矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

本文主要介绍如何将矢量图控件VectorDraw Developers Framework (VDF)的vdFramedControl添加至VS2005,并展示一些vdFramedControl的基本功能。

具体步骤如下:

1)打开Visual C#2005 IDE,并选择创建一个新的Windows项目“Windows Application”

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

2)右键单击工具箱,在菜单栏中选择“"Choose Items...”。

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

3)可以根据以下2种方式添加vdFramedControl:

A:在 "Choose Toolbox Items" 窗口中拉动滚动条至“vdFramedControl”

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

B1:在"Choose Toolbox Items" 窗口中,点击 "Browse..."按钮。

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

B2:在VectorDraw Developer Framework的安装目录下找到vdFramedControl.dll,单击并打开vdFramedControl.dll。

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

4)在"Choose Toolbox Items"窗口中,如图所示,选择vdFramedControl。

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

5)在工具箱中可找到vdFramedControl组件。

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

6)将vdFramedControl组件添加至form窗体中,下方出现4个按钮,可分别执行“打开”“保存”“新建”“缩放”功能。

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

7)选择VDF引用,将Copy Local设置为“False”,Specific Version 设置为“False”

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

8)按钮点击代码如下:

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

矢量图控件VectorDraw使用教程:添加vdFramedControl (Visual C# 2005)

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值