首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 78 毫秒
1.
Visual C#创建用户控件   总被引:1,自引:0,他引:1  
在使用Visual C#开发应用程序的过程中,经常会遇到系统提供的控件不能满足用户需求的情况,这时需要创建用户控件实现具有特殊功能的控件。Visual C#允许用户定义三种类型的用户控件:复合控件、扩展控件和自定义控件,通过实例解析了Visual C#中如何实现这三种类型的控件。  相似文献   

2.
介绍了一种国际化控件--双向控件的使用、制作和布局方法,并介绍了如何设置控件的方向,设计控件的结构和布局控件的原理,以及在此过程中可能遇到的问题和解决方法.  相似文献   

3.
控件是可视化开发工具的重要对象之一。在程序设计时通常会遇到具有相同性质的事件过程,如果为每个控件分别编写一段事件过程,则显得十分不经济且结构不合理。在面向对象的程序设计中可采用将多个相同的控件定义为一个控件数组,这个控件数组内的每一个控件都可以共享程序代码。这不仅减少了开发人员重复性劳动而且提高了程序的可读性。通常建立控件数组方法有两种:第一种是在设计阶段时建立,属于静态方式;另一种是在执行阶段,动态地建立控件数组,也即在程序执行时建立。为了避免内存的浪费常采用动态建立控件数组,就是在程序模块(module)内,先声明一个空的控件数组,等到要使用该控件数组时,再重新声明要使用的控件数组元素或数目。控件数组可以动态生成和释放;并且控件数组对属性具有相同控制。动态生成和释放控件数组是在运行时,用Load和Unload语句添加和删除控件数组中的控件。  相似文献   

4.
徐志德 《程序员》2010,(7):122-123
在OPhone中,大部分的用户交互通过View和ViewGmup等UI控件来实现。OPhone中预置了丰富的UI控件供开发者使用,如小控件widgets和用于屏幕制图的各种布局类layouts等,但是开发者同样可以自定义UI控件来实现更全面的控制。本文将介绍一种自定义UI控件的实现。  相似文献   

5.
当前,ActiveX控件在互联网和桌面上应用非常广泛,但是尚不能在Linux平台上无缝运行。为解决这个问题,本文提出了一种由两层功能层组成的中间件机制,这两层功能层分别是操作系统兼容层和AtiveX控件机制支撑层。在该机制中,操作系统兼容层消除了Windows和Linux两种操作系统的差别,ActiveX控件机制支撑层中添加了支持ActiveX控件的CDM机制。提出了以XML格式文件实现注册表的组件注册方法,提供了Linux上直接运行ActiveX控件的“控件-容器”机制的必要条件,最后实现了一个在Linux上直接运行轻量级ActiveX控件机制的原型系统。  相似文献   

6.
介绍了一种自行开发的微机并行口通信控件,它是在VisualC 5.0环境下,利用ActiveX技术开发的。该控件弥补了Visual Basic中对并行口通信控件的不足。文中以信号频率测量为例说明并行口通信控件的创建与应用。  相似文献   

7.
运用Winsock控件实现C/S网络通信   总被引:2,自引:0,他引:2  
Winsock控件用于windows网络编程,为访问TCP和UDP网络服务提供了方便途径。本文介绍了VB中Winsock控件的属性、方法、事件,例举了在VB中用Winsock控件实现网络通信的一种简易方法。  相似文献   

8.
目前,浏览器已经成为计算机系统中不可缺少的组成部分。然而,全球市场份额最高的Internet Explorer浏览器,其广泛应用的ActiveX控件却无法运行在Linux操作系统的浏览器中。因此,研究了两种浏览器插件框架,NPAPI和ActiveX,提出了一种兼容机制。该机制为中间件解决方案,一端面向NPAPI,另一端面向Wine中经封装的ActiveX控件,实现NPAPI和ActiveX控件间的消息传输和转换。实验结果表明,兼容机制实现了ActiveX控件运行在Linux操作系统的浏览器中,且加载时间、运行效率和内存占用均在可接受的范围内,为ActiveX控件跨平台技术提供了一种新的方法。  相似文献   

9.
数组是编程语言中的一种基本数据结构,而控件是VB中最重要的对象之一.它们的结合使用给VB编程带来了极大的灵活性.一、控件数组的创建控件数组即由一组相同的控件名(Name属性相同)、不同下标(Index属性值连续)的控件组成的数组.在窗体中添加控件数组有两  相似文献   

10.
签章控件透明化是电子签章系统中的关键技术之一。提出了一种把组件对象模型COM技术实现的签章控件透明化的方法,并在描述方法时实际通过MFC创建一个ActiveX控件,实现了电子签章控件在MS Word 2003中透明化显示。该方法简单、实用。  相似文献   

11.
人体测量学并不是现代社会的产物。有着很长发展历史的人体比例理论中就包含了现代人体测量学的基本内容,尽管其还不够系统完整,但至少说明了在艺术创作中诞生的人体比例理论对现代人体测量学的影响。并随着时间的推移而不断的完善发展,为现代人体测量学的系统提出奠定了坚实的基础。  相似文献   

12.
By examples of the design in the input-output relations of control devices with various configurations, the dependence on the configuration of the value of the criteria characterizing the system quality is shown. The complexity of solving the problem in the state space is illustrated.  相似文献   

13.
分析了在长江水质的评价和预测建模过程中出现的一些问题,利用灰色模型的指数特性,建立预测长江水质的GM(1,1)的改进模型。根据数据的周期波动特性,采用灰色系统理论建立了残差序列周期修正GM(1,1)模型,用复合残差来修正预报数据,提高了数据预报的准确程度和模型的适用性。  相似文献   

14.
Even though using the hand as a hammer causes injury, the practice continues, and may be increasing, in industry and in jobs that require intensive manual labor. This was an exploratory study aimed at measuring the relationships between the forces of strikes, the relative angles of strikes, and/or the number of strikes (up to 3) with the perception of severity of strikes when using the base of the palm of the hand. Eight subjects struck a metal force plate with the base of the palm of the hand at three levels of force, three levels of angle with respect to the surface of a force plate, and with three different numbers of times in a trial. Subjects were then asked to give a psychophysical rating after each trial. The subjective perception of the severity of each impact and force-time curves were recorded. From each force-time curve, peak force, maximum acceleration of force application, and the area of the force curve from initiation to peak were determined. Sixteen ANOVA models were analyzed.  相似文献   

15.
为了能够解决学生网络实验的可操作性和实验室安全管理的稳定性之间的矛盾,引入VMware,从而在单机上实现虚拟网络实验平台,提高网络实验教学的课堂效果.  相似文献   

16.
为了能够解决学生网络实验的可操作性和实验室安全管理的稳定性之间的矛盾,引入VMware,从而在单机上实现虚拟网络实验平台,提高网络实验教学的课堂效果。  相似文献   

17.
用JSP实现基于中值排序基数法的BBS树状结构,给出数据结构的设计以及具体的算法实现。  相似文献   

18.
视觉图像已经成为这个时代最大的主题与规定,而基于图像要素及其关系以及意义的聚集,图像自身的存在成为了游戏的存在。但是,当下世界里视觉图像的游戏是不完善的,总有着遮蔽和欠缺。只有在对视觉游戏的边界进行区分的基础上,视觉图像所被遮蔽的本性才得以敞开。  相似文献   

19.
The peculiarities of the interpolation method based on digital signal processing are considered. It is shown that the transfer function of the interpolator may be represented by the composition of two functional components. A nonstatistical method of reconstruction of the form of the corrective component of the transfer function based on processing of the scatter diagram of the ordered pairs of the experimental and predicted data is investigated. It is shown that such pairs may be obtained in the process of periodic event flow timing with estimations of the time positions of the signal and the predetermined instants of the event occurrence being elements of the ordered pairs. The efficiency of the reconstruction method is illustrated by the experimental results.  相似文献   

20.
 The paper questions the ability of current university systems to respond appropriately to the complex demands of an Information Economy. It argues that new relationships between creative subjects and technology require new thinking about the nature and purpose of universities per se. In particular, attention is drawn to the growing involvement of the private sector in higher education. It is argued that it may not be appropriate to think of the `university of the future' in terms of current public sector and quasi public sector institutions, but rather in terms of an emporium, based on an international trade in educational services, and with the `University' as we now understand it occupying the functions of licensing, quality assurance and cultural custodianship. Accepted: 25 June 2002  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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