首页 | 本学科首页   官方微博 | 高级检索  
     

Visual C#.NET实现用户自定义图形编程方法
引用本文:朱卫新. Visual C#.NET实现用户自定义图形编程方法[J]. 微机发展, 2012, 0(4): 130-132,136
作者姓名:朱卫新
作者单位:连云港电子口岸信息发展有限公司,江苏连云港222042
基金项目:江苏省科技基础设施建设计划项目(BM2009835); 连云港市科技创新基金项目(CK201039)
摘    要:信息系统终端用户可以自己绘制图形,以鼠标拖拽的方式实现已绘制图形的移动、缩放等功能,不仅会极大地方便用户使用,同时可以满足用户现场绘图的需求。对如何在信息管理系统中实现用户自定义图形进行分析和设计,并在Visual C#.NET编程环境中使用GDI+等技术实现用户自定义图形,使终端用户能够动态创建可以用鼠标拖拽方式移动、缩放的图形,实现直线、矩形、文本的创建、移动、缩放功能,绘制的图形可以保存为XML文件,可以加载已保存XML文件。文中描述了自定义图形编程方法的设计和实现。

关 键 词:C#  GDI+  自定义图形

Realization of User Defined Graphics Programming Method under Visual C#.NET
ZHU Wei-xin. Realization of User Defined Graphics Programming Method under Visual C#.NET[J]. Microcomputer Development, 2012, 0(4): 130-132,136
Authors:ZHU Wei-xin
Affiliation:ZHU Wei-xin(Lianyungang E-Port Information Development Co.,Ltd,Lianyungang 222042,China)
Abstract:Information system terminal user can draw graphics,realize mobile,zoom function of drawings in the way of mouse dragin,not only would be very convenient for user use,at the same time can meet the needs of the user drawing.Analyze and design how to realize the user defined graphics in the information management system,and in Visual C#.NET programming environment use GDI + technology to realize the user defined graphics which make end users could dynamically create the mobile,zoom graphics can be used to drag the way by mouse,and realize the straight line,rectangular,text creating,mobile,zoom function,rendering graphics can be saved for an XML file,can load an XML file has been kept.It describes the design and implementation of the custom graphics programming method.
Keywords:C#  GDI+  custom graphics
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号