期刊文献+

基于C~#的Winform程序参数传递和同步显示的实现 被引量:9

Realization of C# -based Winform Program Parameter Transmission and Synchronous Display
在线阅读 下载PDF
导出
摘要 程序设计中经常需要把参数从一个函数传递到另一个函数,或者获取某个函数的返回值。基于Winform的程序经常需要把参数从一个窗体传入到另一个窗体,或者某一窗体中内容变更时另一窗体相同内容随之改变,利用C#提供的类、对象属性、委托几种机制,提出通过使用构造函数对对象进行初始化、变更对象属性、借助委托等方法实现多个窗体间的参数传递和内容的同步更新显示。在对各种方法应用对比的同时,重点发掘了委托机制为实现窗体间内容的传递和同步更新所带来的优势。 The parameter transmission between forms and the synchronous update display realized with methods of the ob- ject initialization, variation of object properties and authorization implemented by constructing functions is put forward by the mechanisms of C# -provided classes, object properties and authorization. By comparison with various methods, the authoriza- tion mechanism is explored emphatically to realize the parameter transmission between forms and synchronous update.
作者 刘辉 常婉纶
出处 《现代电子技术》 2010年第14期64-66,共3页 Modern Electronics Technique
关键词 参数传递 同步显示 Winform程序 CSharp parameter transmission synchronous display Winform program C Sharp
  • 相关文献

参考文献5

二级参考文献1

  • 1徐孝凯.中央电大在线网上资源[J].北京:C + +语言程序设计辅导,2004,.

共引文献2

同被引文献44

引证文献9

二级引证文献44

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部