文件名称:Manipulating-GDIP-Drawings-(VB)

介绍说明--下载内容均来自于网络,请自行研究使用

The attached example solution contains two projects: the ShapeEditorLibrary, containing the basic shape editor classes, and the ShapeEditorExampleVs2008 project, containing the form you see in the screenshot, including the property grid + selection combobox logic. As you can see, this is separated from the ShapeEditorLibrary so you can implement it completely differently if you want.



The most important classes in the ShapeEditorLibrary are the Shape, Canvas and ShapeCollection classes.



The Shape class is an abstract class and implements most of the basic methods and properties that every Shape will have. In order to create your own Shapes, you can create a class that inherits Shape, and override the Draw method to provide your own drawing. If you want a Triangle shape, you implement the drawing such that it looks like a triangle. There is a RectangleShape and EllipseShape already included in the example so you can take a look how you do that.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

Manipulating GDI+ Drawings (VB)\Manipulating GDI+ Drawings (VB).sln

...............................\Manipulating GDI+ Drawings (VB).suo

...............................\Wunnell.Drawing.GdiPlusManipulationDemo

...............................\.......................................\Form1.Designer.vb

...............................\.......................................\Form1.resx

...............................\.......................................\Form1.vb

...............................\.......................................\My Project

...............................\.......................................\..........\Application.Designer.vb

...............................\.......................................\..........\Application.myapp

...............................\.......................................\..........\AssemblyInfo.vb

...............................\.......................................\..........\Resources.Designer.vb

...............................\.......................................\..........\Resources.resx

...............................\.......................................\..........\Settings.Designer.vb

...............................\.......................................\..........\Settings.settings

...............................\.......................................\Wunnell.Drawing.GdiPlusManipulationDemo.vbproj

...............................\.......................................\Wunnell.Drawing.GdiPlusManipulationDemo.vbproj.user

Manipulating GDI+ Drawings (VB)

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org