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

一种实现仪器菜单动态配置的方法
引用本文:白轶荣.一种实现仪器菜单动态配置的方法[J].计算机时代,2012(1):66-67.
作者姓名:白轶荣
作者单位:中国电子科技集团公司第四十一研究所,山东青岛,266555
摘    要:阐述了一种实现仪器菜单动态配置的方法:主应用程序调用相应的仪器菜单解析程序;解析程序解析菜单数据配置文件,并向主应用程序返回显示代码;显示代码经编译、链接,形成可执行的二进制文件;二进制文件运行后显示相应的仪器菜单。运用该方法可以方便灵活地修改仪器菜单显示界面。

关 键 词:菜单  仪器  XML  MVC

An implementation of dynamically configuring instrument menu
Bai Yirong.An implementation of dynamically configuring instrument menu[J].Computer Era,2012(1):66-67.
Authors:Bai Yirong
Affiliation:Bai Yirong(The 41st Institute of China Electronics Technology Group Corporation,Qingdao,Shandong 266555,China)
Abstract:An implementation of dynamically configuring instrument menu is described as follows: main application program calls the relevant interpreter of instrument menu;the interpreter parses the configuration file of menu data and returns display code to the main program;the display code is compiled and linked to generate an executable binary file;the binary file displays corresponding instrument menu when it runs.Using this method we can modify the display interface of instrument menu conveniently and flexibly.
Keywords:menu  instrument  XML  MVC
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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