您的位置:首页 > 其它

mastudio helloworld

2012-10-22 15:39 281 查看
首先,新建立一个登陆帐号001,打开D:\mastudio\Common\account.ini文件,增加如下内容:
[mas]
Home=index.mas
Dir=d:\mastudio\sample

[dbase]
Home=index.mas
Dir=d:\mastudio\project\database\src

[001]
Home= test.mas
Dir= D:\mastudio\sample


在D:\mastudio\sample目录下新建文本文件,文件名为test.mas。打开该文件输入如下内容:

OBJECT wxCOMMON aCommon

{

aCommon.Background[]= , background_menu.bmp

}

OBJECT wxLABEL aLabel

{

aLabel.Rect[]= 30, 100, 220, 240

aLabel.Font[]= 15, 0x33FF22

aLabel.Text= "Hello World"

}


运行手机上客户端程序,输入用户名为001,密码为空。点菜单确定后登陆进入系统即显示“Hello World”。

服务器是127.0.0.1,用户名为001,密码为空。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: