你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

基于ActiveX简易型报告设计器控件的设计和开发_计算机专业论文

发布时间:2015-01-16 来源:人大经济论坛
计算机专业论文范文 摘要 在当今社会,无纸化办公已经应用于许多医疗领域。为了减少办公成本,提高医院的工作效率,一个无纸化办公系统被设计与开发。系统的部分功能被设计为报告设计器来体现系统的设计主题。这个部分被设计成一个OCX来实现其功能,让医生可以根据纸质报告来快速的设计定义不同的报告格式。 本文介绍了如何采用ActiveX技术用封装思想设计一个OCX来实现其功能。这个程序使用C和C++语言进行编写,还自定义了xml文件格式来进行文件的存取,最后使用C#.Net制作DEMO来展示OCX的功能。 关键词:无纸化,OCX,ActiveX,XML文件存取 ABSTRACT In the modern society, the paperless office has been applied to many medical fields. To reduce the cost of administration ,improve the efficiency of hospital, a kind of paperless system has been designed and implemented. A part of the system has been used for designing the report in keep with the design theme. The part is designed as an OCX to bring about the function, which makes the doctor could depend on the paper report rapidly define the various report style. This paper introduces how to programming the function module with the ActiveX technology to make the OCX decoding the encapsulation of the way. This program was coded with language C and C++, and defined a style of xml to strore the file. End it used C#.Net to make a demo in case show the function of the OCX. Keywords: Paperless,OCX, ActiveX, XML 目录 摘要I ABSTRACTII 第1章 引言1 1.1 背景1 1.2 研究内容2 第2章 基本概念和性质3 2.1 OLE技术3 2.2 COM4 2.2.1 COM的基本概念4 2.2.2 COM的特性4 2.3 ActiveX控件6 2.4 XML语言7 第3章 功能分析8 3.1 总体描述8 3.2 设计器部分8 3.3 XML文件11 第4章 功能设计12 4.1 图形基本类CDrawObject12 4.2 CTextBox控件类13 4.3 CPage类14 4.4 COCXCtrl类16 4.5 XML文件17 第5章 功能实现19 5.1 绘图功能19 5.1.1 页面绘制函数19 5.1.2 TextBox绘制函数21 5.1.3 聚集框绘制函数23 5.2 滚动条函数24 5.2.1 滚动条的创建24 5.2.2 滚动条响应函数25 5.3 COCXCtrl函数26 5.3.1 界面绘制函数26 5.3.2 鼠标响应函数27 5.4 XML文件操作29 5.4.1 XML文件的存储29 5.4.2 XML文件的解析30 第6章 OCX控件演示31 6.1 文本框绘制31 6.2 滚动条效果33 6.3 文件存储35 第7章 结束语36 致谢37 参考文献38 附录 源代码39
经管之家“学道会”小程序
  • 扫码加入“考研学习笔记群”
推荐阅读
经济学相关文章
标签云
经管之家精彩文章推荐