2019-12-26 18:56发布
1.gif (292.76 KB, 下载次数: 0)
下载附件
2016-8-30 21:07 上传
gongxd 发表于 2016-8-30 21:08 中英文菜单,可方便添加更多语言 菜单定义方式方便
li_fccc 发表于 2016-8-30 21:37 搜索 傻孩子 的帖子 ,那套结构很不错
foxpro2005 发表于 2016-8-30 22:08 空军哥, LCD仿真做得很赞哈, C++ or C# 做的?
最多设置5个标签!
1.gif (292.76 KB, 下载次数: 0)
下载附件
2016-8-30 21:07 上传
中英文菜单,可方便添加更多语言
菜单定义方式方便
#include "Menu_Function.h"
MenuItemStruct code MenuMain[]= {
{"1.校准","1.Adjustment",1,Null},
{"2.仪器设置","2.Instrument",2,Null},
{"3.语言","3.Language",3,Null},
{"4.关于","4.About",MenuHasFunction,weldisplay},
};
MenuItemStruct code MenuSub1[]= {
{"1.偏差值","1.Offset",MenuHasFunction,Null},
};
MenuItemStruct code MenuSub2[]= {
{"1.温度单位","1.Temp. unit",MenuHasFunction,Null},
{"2.AO范围","2.AO scaling",MenuHasFunction,Null},
{"3.高低限报警","3.Limit setting",MenuHasFunction,Null},
{"4.亮度设置","4.Display(Hi,Lo)",MenuHasFunction,Null},
{"5.温度校准","5.Temp.offset",MenuHasFunction,Null},
};
MenuItemStruct code MenuSub3[]= {
{"1.English","1.中文",MenuHasFunction,dateset},
};
//菜单板列表
MenuPanelStruct code MenuPanel[]= {
{MenuPanelID(MenuMain)},
{MenuPanelID(MenuSub1)},
{MenuPanelID(MenuSub2)},
{MenuPanelID(MenuSub3)},
};
很不错的样子
空军哥, LCD仿真做得很赞哈, C++ or C# 做的?
傻孩子的相信不会差
C# 以前发过帖子,有兴趣可以找找
一周热门 更多>